Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.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.TestLeadLag,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestLeadLag,fileNamePrefix="PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag",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.000931/0.0009309, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001148/0.001149, allocations: 168.7 kB / 15.95 MB, free: 204 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.429/1.429, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2285/0.2285, allocations: 14.18 MB / 305.3 MB, free: 1.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 12 kB / 371.8 MB, free: 4.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3259, allocations: 53.91 MB / 425.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLag): time 0.00182/0.3278, allocations: 1.469 MB / 427.2 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002949/0.3281, allocations: 151.8 kB / 427.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.3282, allocations: 2.656 kB / 427.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.3283, allocations: 11.11 kB / 427.3 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.3285, allocations: 24.89 kB / 427.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.24e-05/0.3286, allocations: 23.17 kB / 427.4 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3287, allocations: 117.4 kB / 427.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3289, allocations: 35.34 kB / 427.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.3289, allocations: 37.42 kB / 427.6 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.329, allocations: 40.39 kB / 427.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.329, allocations: 3.031 kB / 427.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.329, allocations: 2.844 kB / 427.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.3291, allocations: 18.23 kB / 427.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.3291, allocations: 42.33 kB / 427.7 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.3292, allocations: 77.73 kB / 427.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3292, allocations: 0 / 427.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3292, allocations: 0 / 427.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3292, allocations: 0 / 427.8 MB, free: 38.73 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000456/0.3297, allocations: 410.6 kB / 428.2 MB, free: 38.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3297, allocations: 11.19 kB / 428.2 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.3298, allocations: 40.48 kB / 428.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.3298, allocations: 18.56 kB / 428.2 MB, free: 38.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.33, allocations: 214.1 kB / 428.4 MB, free: 38.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3301, allocations: 6.406 kB / 428.4 MB, free: 38.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.3301, allocations: 9.844 kB / 428.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3303, allocations: 134.2 kB / 428.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3303, allocations: 0 / 428.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3303, allocations: 3.438 kB / 428.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3303, allocations: 2.688 kB / 428.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.3305, allocations: 59.73 kB / 428.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.331, allocations: 456.7 kB / 429.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.3314, allocations: 125.8 kB / 429.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.3315, allocations: 55.2 kB / 429.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3315, allocations: 0 / 429.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.3315, allocations: 38 kB / 429.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.3315, allocations: 0 / 429.3 MB, free: 37.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000339/0.3319, allocations: 127.4 kB / 429.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3319, allocations: 116.9 kB / 429.5 MB, free: 37.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.332, allocations: 151 kB / 429.7 MB, free: 37.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.332, allocations: 26.39 kB / 429.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.3321, allocations: 110.1 kB / 429.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.3321, allocations: 27.77 kB / 429.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.3321, allocations: 0.9375 kB / 429.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.3322, allocations: 322.2 kB / 430.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.416e-05/0.3323, allocations: 21.03 kB / 430.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.54e-05/0.3324, allocations: 68.5 kB / 430.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.14e-05/0.3325, allocations: 35.2 kB / 430.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3325, allocations: 4 kB / 430.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002955/0.3328, allocations: 134 kB / 430.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3328, allocations: 9.031 kB / 430.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.3328, allocations: 6.312 kB / 430.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.333, allocations: 42.75 kB / 430.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.3331, allocations: 19.5 kB / 430.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008096/0.334, allocations: 1.364 MB / 431.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.351e-05/0.334, allocations: 9.578 kB / 431.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3341, allocations: 3 kB / 431.9 MB, free: 35.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.3341, allocations: 122.6 kB / 432 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.3342, allocations: 14.83 kB / 432 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.3342, allocations: 21.34 kB / 432 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3342, allocations: 2.906 kB / 432 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3342, allocations: 0 / 432 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3342, allocations: 2.938 kB / 432 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.3344, allocations: 208.4 kB / 432.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3344, allocations: 0 / 432.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3346, allocations: 17.48 kB / 432.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3346, allocations: 3.953 kB / 432.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3346, allocations: 3.719 kB / 432.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3346, allocations: 11.17 kB / 432.3 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3346, allocations: 0 / 432.3 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.3349, allocations: 233.8 kB / 432.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.3349, allocations: 91.2 kB / 432.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.335, allocations: 10.27 kB / 432.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.3351, allocations: 7.062 kB / 432.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.3351, allocations: 5.531 kB / 432.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.3351, allocations: 6.797 kB / 432.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.3352, allocations: 120 kB / 432.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3352, allocations: 0 / 432.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.3355, allocations: 24.53 kB / 432.8 MB, free: 34.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (leadLag.firstOrder.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.0004775/0.3359, allocations: 0.7651 MB / 433.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.3364, allocations: 204.9 kB / 433.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3364, allocations: 0 / 433.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.3365, allocations: 40.67 kB / 433.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.3368, allocations: 25.67 kB / 433.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.338, allocations: 0.7672 MB / 434.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.3382, allocations: 0.7081 MB / 435.3 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.3382, allocations: 7.672 kB / 435.3 MB, free: 32.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.3383, allocations: 32.75 kB / 435.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3383, allocations: 0 / 435.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.3531, allocations: 2.438 MB / 437.7 MB, free: 32.51 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.3533, allocations: 193.7 kB / 437.9 MB, free: 32.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.08, allocations: 0 / 437.9 MB, free: 32.27 MB / 350.1 MB (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_dev_PowerGrids_Controls_Test_TestLeadLag.fmu > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLag.pipe 2>&1)