Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadMOrderLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestLeadMOrderLag,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestLeadMOrderLag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestLeadMOrderLag,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestLeadMOrderLag",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004477/0.004477, allocations: 182.9 kB / 7.463 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.2 MB / 213.1 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 105.3 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06109/0.06109, allocations: 14.02 MB / 323 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.262/0.3231, allocations: 58.36 MB / 381.4 MB, free: 73.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.4569, allocations: 51.1 MB / 432.5 MB, free: 21.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.846, allocations: 77.41 MB / 0.498 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.8463, allocations: 64.33 kB / 0.498 GB, free: 11.96 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.2072/1.054, allocations: 76.5 MB / 0.5727 GB, free: 5.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/1.054, allocations: 8 kB / 0.5727 GB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/1.056, allocations: 426.9 kB / 0.5731 GB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0165/1.072, allocations: 4.934 MB / 0.578 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/1.073, allocations: 52 kB / 0.578 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/1.074, allocations: 179.6 kB / 0.5782 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003285/1.077, allocations: 1.19 MB / 0.5793 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005524/1.083, allocations: 1.849 MB / 0.5811 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/1.083, allocations: 3.938 kB / 0.5812 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/1.083, allocations: 0 / 0.5812 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.083, allocations: 40 kB / 0.5812 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/1.104, allocations: 11.77 MB / 0.5927 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/1.108, allocations: 1.977 MB / 0.5946 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009702/1.109, allocations: 0.6263 MB / 0.5952 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.792e-05/1.109, allocations: 9 kB / 0.5952 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/1.109, allocations: 51.5 kB / 0.5953 GB, free: 12.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 4.829e-06/1.109, allocations: 4 kB / 0.5953 GB, free: 12.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.003741/1.112, allocations: 1.654 MB / 0.5969 GB, free: 11.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/1.113, allocations: 115.8 kB / 0.597 GB, free: 10.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00714/1.12, allocations: 3.037 MB / 0.6 GB, free: 7.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004846/1.12, allocations: 25.7 kB / 0.6 GB, free: 7.922 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008251/1.121, allocations: 0.8167 MB / 0.6008 GB, free: 7.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002017/1.123, allocations: 488.8 kB / 0.6013 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.123, allocations: 0 / 0.6013 GB, free: 6.609 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/1.123, allocations: 369.9 kB / 0.6016 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/1.125, allocations: 0.8628 MB / 0.6025 GB, free: 5.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/1.127, allocations: 1.009 MB / 0.6034 GB, free: 4.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/1.128, allocations: 1.032 MB / 0.6045 GB, free: 3.312 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.128, allocations: 0 / 0.6045 GB, free: 3.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=209) (initialization): time 0.005061/1.133, allocations: 2.424 MB / 0.6068 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.133, allocations: 4 kB / 0.6068 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.134, allocations: 0 / 0.6068 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/1.134, allocations: 81.58 kB / 0.6069 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/1.137, allocations: 0.718 MB / 0.6076 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/1.14, allocations: 2.663 MB / 0.6102 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.142, allocations: 118.8 kB / 0.6103 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/1.142, allocations: 44 kB / 0.6104 GB, free: 13.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004173/1.143, allocations: 124.7 kB / 0.6105 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/1.144, allocations: 308.1 kB / 0.6108 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/1.145, allocations: 367.2 kB / 0.6111 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.146, allocations: 16 kB / 0.6111 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.146, allocations: 0 / 0.6111 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.146, allocations: 7.969 kB / 0.6111 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/1.152, allocations: 2.332 MB / 0.6134 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.152, allocations: 0 / 0.6134 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/1.154, allocations: 239.7 kB / 0.6137 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/1.154, allocations: 4 kB / 0.6137 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003384/1.155, allocations: 111.9 kB / 0.6138 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/1.155, allocations: 7.938 kB / 0.6138 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.155, allocations: 0 / 0.6138 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004272/1.159, allocations: 2.63 MB / 0.6163 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005903/1.165, allocations: 3.968 MB / 0.6202 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/1.167, allocations: 433 kB / 0.6206 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/1.168, allocations: 99.83 kB / 0.6207 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/1.169, allocations: 39.95 kB / 0.6208 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/1.17, allocations: 60.89 kB / 0.6208 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.17, allocations: 39.98 kB / 0.6209 GB, free: 2.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00621/1.176, allocations: 2.384 MB / 0.6232 GB, free: 15.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004221/1.18, allocations: 0.541 MB / 0.6237 GB, free: 15.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 101 (leadLag.leadLag.firstOrder.y,mOrderLag.leadLag.firstOrder.y,mOrderLag.firstOrderCascade[1].firstOrder1.y,mOrderLag.firstOrderCascade[2].firstOrder1.y,mOrderLag.firstOrderCascade[3].firstOrder1.y,mOrderLag.firstOrderCascade[4].firstOrder1.y,mOrderLag.firstOrderCascade[5].firstOrder1.y,mOrderLag.firstOrderCascade[6].firstOrder1.y,mOrderLag.firstOrderCascade[7].firstOrder1.y,mOrderLag.firstOrderCascade[8].firstOrder1.y,mOrderLag.firstOrderCascade[9].firstOrder1.y,mOrderLag.firstOrderCascade[10].firstOrder1.y,mOrderLag.firstOrderCascade[11].firstOrder1.y,mOrderLag.firstOrderCascade[12].firstOrder1.y,mOrderLag.firstOrderCascade[13].firstOrder1.y,mOrderLag.firstOrderCascade[14].firstOrder1.y,mOrderLag.firstOrderCascade[15].firstOrder1.y,mOrderLag.firstOrderCascade[16].firstOrder1.y,mOrderLag.firstOrderCascade[17].firstOrder1.y,mOrderLag.firstOrderCascade[18].firstOrder1.y,mOrderLag.firstOrderCascade[19].firstOrder1.y,mOrderLag.firstOrderCascade[20].firstOrder1.y,mOrderLag.firstOrderCascade[21].firstOrder1.y,mOrderLag.firstOrderCascade[22].firstOrder1.y,mOrderLag.firstOrderCascade[23].firstOrder1.y,mOrderLag.firstOrderCascade[24].firstOrder1.y,mOrderLag.firstOrderCascade[25].firstOrder1.y,mOrderLag.firstOrderCascade[26].firstOrder1.y,mOrderLag.firstOrderCascade[27].firstOrder1.y,mOrderLag.firstOrderCascade[28].firstOrder1.y,mOrderLag.firstOrderCascade[29].firstOrder1.y,mOrderLag.firstOrderCascade[30].firstOrder1.y,mOrderLag.firstOrderCascade[31].firstOrder1.y,mOrderLag.firstOrderCascade[32].firstOrder1.y,mOrderLag.firstOrderCascade[33].firstOrder1.y,mOrderLag.firstOrderCascade[34].firstOrder1.y,mOrderLag.firstOrderCascade[35].firstOrder1.y,mOrderLag.firstOrderCascade[36].firstOrder1.y,mOrderLag.firstOrderCascade[37].firstOrder1.y,mOrderLag.firstOrderCascade[38].firstOrder1.y,mOrderLag.firstOrderCascade[39].firstOrder1.y,mOrderLag.firstOrderCascade[40].firstOrder1.y,mOrderLag.firstOrderCascade[41].firstOrder1.y,mOrderLag.firstOrderCascade[42].firstOrder1.y,mOrderLag.firstOrderCascade[43].firstOrder1.y,mOrderLag.firstOrderCascade[44].firstOrder1.y,mOrderLag.firstOrderCascade[45].firstOrder1.y,mOrderLag.firstOrderCascade[46].firstOrder1.y,mOrderLag.firstOrderCascade[47].firstOrder1.y,mOrderLag.firstOrderCascade[48].firstOrder1.y,mOrderLag.firstOrderCascade[49].firstOrder1.y,mOrderLag.firstOrderCascade[50].firstOrder1.y,mOrderLag.firstOrderCascade[51].firstOrder1.y,mOrderLag.firstOrderCascade[52].firstOrder1.y,mOrderLag.firstOrderCascade[53].firstOrder1.y,mOrderLag.firstOrderCascade[54].firstOrder1.y,mOrderLag.firstOrderCascade[55].firstOrder1.y,mOrderLag.firstOrderCascade[56].firstOrder1.y,mOrderLag.firstOrderCascade[57].firstOrder1.y,mOrderLag.firstOrderCascade[58].firstOrder1.y,mOrderLag.firstOrderCascade[59].firstOrder1.y,mOrderLag.firstOrderCascade[60].firstOrder1.y,mOrderLag.firstOrderCascade[61].firstOrder1.y,mOrderLag.firstOrderCascade[62].firstOrder1.y,mOrderLag.firstOrderCascade[63].firstOrder1.y,mOrderLag.firstOrderCascade[64].firstOrder1.y,mOrderLag.firstOrderCascade[65].firstOrder1.y,mOrderLag.firstOrderCascade[66].firstOrder1.y,mOrderLag.firstOrderCascade[67].firstOrder1.y,mOrderLag.firstOrderCascade[68].firstOrder1.y,mOrderLag.firstOrderCascade[69].firstOrder1.y,mOrderLag.firstOrderCascade[70].firstOrder1.y,mOrderLag.firstOrderCascade[71].firstOrder1.y,mOrderLag.firstOrderCascade[72].firstOrder1.y,mOrderLag.firstOrderCascade[73].firstOrder1.y,mOrderLag.firstOrderCascade[74].firstOrder1.y,mOrderLag.firstOrderCascade[75].firstOrder1.y,mOrderLag.firstOrderCascade[76].firstOrder1.y,mOrderLag.firstOrderCascade[77].firstOrder1.y,mOrderLag.firstOrderCascade[78].firstOrder1.y,mOrderLag.firstOrderCascade[79].firstOrder1.y,mOrderLag.firstOrderCascade[80].firstOrder1.y,mOrderLag.firstOrderCascade[81].firstOrder1.y,mOrderLag.firstOrderCascade[82].firstOrder1.y,mOrderLag.firstOrderCascade[83].firstOrder1.y,mOrderLag.firstOrderCascade[84].firstOrder1.y,mOrderLag.firstOrderCascade[85].firstOrder1.y,mOrderLag.firstOrderCascade[86].firstOrder1.y,mOrderLag.firstOrderCascade[87].firstOrder1.y,mOrderLag.firstOrderCascade[88].firstOrder1.y,mOrderLag.firstOrderCascade[89].firstOrder1.y,mOrderLag.firstOrderCascade[90].firstOrder1.y,mOrderLag.firstOrderCascade[91].firstOrder1.y,mOrderLag.firstOrderCascade[92].firstOrder1.y,mOrderLag.firstOrderCascade[93].firstOrder1.y,mOrderLag.firstOrderCascade[94].firstOrder1.y,mOrderLag.firstOrderCascade[95].firstOrder1.y,mOrderLag.firstOrderCascade[96].firstOrder1.y,mOrderLag.firstOrderCascade[97].firstOrder1.y,mOrderLag.firstOrderCascade[98].firstOrder1.y,mOrderLag.firstOrderCascade[99].firstOrder1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 108 * 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.0006545/1.181, allocations: 221.1 kB / 0.6239 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004019/1.185, allocations: 1.937 MB / 0.6258 GB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.185, allocations: 0 / 0.6258 GB, free: 13.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.186, allocations: 0.7259 MB / 0.6265 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00681/1.193, allocations: 1.277 MB / 0.6278 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/1.212, allocations: 7.356 MB / 0.635 GB, free: 3.582 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005906/1.218, allocations: 3.213 MB / 0.6381 GB, free: 336 kB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/1.218, allocations: 3.938 kB / 0.6381 GB, free: 332 kB / 442.7 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadMOrderLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadMOrderLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadMOrderLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadMOrderLag.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestLeadMOrderLag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestLeadMOrderLag.fmu > PowerGrids_PowerGrids.Controls.Test.TestLeadMOrderLag.pipe 2>&1)