Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDerivativeLag,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDerivativeLag,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2366/0.2366, allocations: 14.17 MB / 305.1 MB, free: 1.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.000511, allocations: 8 kB / 371.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3266, allocations: 53.9 MB / 425.6 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDerivativeLag): time 0.001636/0.3283, allocations: 1.481 MB / 427.1 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.3286, allocations: 166.6 kB / 427.2 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.3287, allocations: 3.969 kB / 427.2 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.3287, allocations: 12.22 kB / 427.3 MB, free: 39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.3289, allocations: 29.31 kB / 427.3 MB, free: 39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.888e-05/0.329, allocations: 41.23 kB / 427.3 MB, free: 39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.3292, allocations: 78.83 kB / 427.4 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3293, allocations: 40.86 kB / 427.4 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.3293, allocations: 37.08 kB / 427.5 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.3294, allocations: 37.81 kB / 427.5 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3294, allocations: 4.812 kB / 427.5 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.3295, allocations: 0 / 427.5 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.3295, allocations: 11.84 kB / 427.5 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.3295, allocations: 42.61 kB / 427.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.106e-05/0.3296, allocations: 69.97 kB / 427.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3296, allocations: 2.562 kB / 427.6 MB, free: 38.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3296, allocations: 5.531 kB / 427.6 MB, free: 38.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.3296, allocations: 0 / 427.6 MB, free: 38.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003941/0.33, allocations: 397.3 kB / 428 MB, free: 38.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3301, allocations: 12.22 kB / 428 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.3301, allocations: 43 kB / 428.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.3301, allocations: 15.66 kB / 428.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3303, allocations: 219.6 kB / 428.3 MB, free: 38.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3303, allocations: 8.656 kB / 428.3 MB, free: 38.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.3304, allocations: 8.594 kB / 428.3 MB, free: 38.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3306, allocations: 137.4 kB / 428.5 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3306, allocations: 3.938 kB / 428.5 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3306, allocations: 9.203 kB / 428.5 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3306, allocations: 2.875 kB / 428.5 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.3308, allocations: 70.12 kB / 428.6 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.3314, allocations: 0.6014 MB / 429.2 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3316, allocations: 110.2 kB / 429.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.3316, allocations: 0 / 429.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.3316, allocations: 40.31 kB / 429.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.3316, allocations: 4 kB / 429.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003246/0.332, allocations: 116.2 kB / 429.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.332, allocations: 105.8 kB / 429.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.3321, allocations: 151.4 kB / 429.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.3321, allocations: 32.64 kB / 429.7 MB, free: 37.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.3322, allocations: 126 kB / 429.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3322, allocations: 20.98 kB / 429.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.3322, allocations: 0 / 429.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.3323, allocations: 323.5 kB / 430.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.3323, allocations: 25.08 kB / 430.2 MB, free: 36.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.3324, allocations: 77.27 kB / 430.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.3325, allocations: 29.36 kB / 430.3 MB, free: 36.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3325, allocations: 4.031 kB / 430.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000217/0.3328, allocations: 124.5 kB / 430.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3328, allocations: 4.781 kB / 430.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3328, allocations: 5.875 kB / 430.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3328, allocations: 2.906 kB / 430.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3329, allocations: 31.38 kB / 430.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.333, allocations: 3.656 kB / 430.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.333, allocations: 16.52 kB / 430.5 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3331, allocations: 9.859 kB / 430.5 MB, free: 36.72 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/0.3331, allocations: 121 kB / 430.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.3332, allocations: 6.875 kB / 430.6 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3332, allocations: 17.33 kB / 430.6 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3332, allocations: 3 kB / 430.6 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3332, allocations: 4.688 kB / 430.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3332, allocations: 2.812 kB / 430.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3334, allocations: 203.9 kB / 430.8 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3334, allocations: 0 / 430.8 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3335, allocations: 28.44 kB / 430.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3336, allocations: 3.938 kB / 430.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3336, allocations: 6.406 kB / 430.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3336, allocations: 0 / 430.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3336, allocations: 0 / 430.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.3339, allocations: 259 kB / 431.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.3339, allocations: 95.41 kB / 431.2 MB, free: 36.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.334, allocations: 3.438 kB / 431.2 MB, free: 36.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.3341, allocations: 5.656 kB / 431.2 MB, free: 36.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3341, allocations: 14.34 kB / 431.2 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3341, allocations: 6.562 kB / 431.3 MB, free: 36.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.299e-05/0.3342, allocations: 110.3 kB / 431.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3342, allocations: 0 / 431.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.3344, allocations: 18.19 kB / 431.4 MB, free: 36.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004357/0.3349, allocations: 0.9351 MB / 432.3 MB, free: 35.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.3351, allocations: 70.45 kB / 432.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3351, allocations: 0 / 432.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.3352, allocations: 38.62 kB / 432.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.3354, allocations: 22.45 kB / 432.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3365, allocations: 1.478 MB / 433.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.3366, allocations: 0.7076 MB / 434.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.121e-05/0.3367, allocations: 14.44 kB / 434.6 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.3368, allocations: 34.11 kB / 434.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3368, allocations: 0 / 434.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.3503, allocations: 2.161 MB / 436.8 MB, free: 33 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.3504, allocations: 180.9 kB / 437 MB, free: 32.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.959, allocations: 0 / 437 MB, free: 32.76 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Controls_Test_TestDerivativeLag.fmu > PowerGrids_dev_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1)