Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.2+maint.om/package.mo): time 0.001026/0.001026, allocations: 182.5 kB / 8.134 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9972/0.9972, allocations: 194.2 MB / 202.8 MB, free: 8.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 127.4 kB / 247.8 MB, free: 6.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1501/0.1501, allocations: 37.91 MB / 330.5 MB, free: 6.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1784/0.3286, allocations: 59.34 MB / 389.9 MB, free: 78.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07387/0.4024, allocations: 53.22 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2279/0.6304, allocations: 89.04 MB / 0.5197 GB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.6306, allocations: 80.7 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0311/0.6617, allocations: 14.18 MB / 0.5336 GB, free: 4.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6618, allocations: 8.625 kB / 0.5336 GB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.6629, allocations: 113.2 kB / 0.5337 GB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.6634, allocations: 273.5 kB / 0.534 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6634, allocations: 5.625 kB / 0.534 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.6634, allocations: 18.59 kB / 0.534 GB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003438/0.6638, allocations: 208.2 kB / 0.5342 GB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.6642, allocations: 292.2 kB / 0.5345 GB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.6642, allocations: 1 kB / 0.5345 GB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.6642, allocations: 4.938 kB / 0.5345 GB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.148e-05/0.6643, allocations: 19.7 kB / 0.5345 GB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.6658, allocations: 1.264 MB / 0.5357 GB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.6661, allocations: 171.2 kB / 0.5359 GB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.6662, allocations: 120.9 kB / 0.536 GB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.6662, allocations: 0 / 0.536 GB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.6663, allocations: 37.81 kB / 0.5361 GB, free: 3.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.092e-06/0.6663, allocations: 0 / 0.5361 GB, free: 3.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.000903/0.6672, allocations: 460.9 kB / 0.5365 GB, free: 2.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.6672, allocations: 81.09 kB / 0.5366 GB, free: 2.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6673, allocations: 158.5 kB / 0.5367 GB, free: 2.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6673, allocations: 25.7 kB / 0.5368 GB, free: 2.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.6674, allocations: 138.3 kB / 0.5369 GB, free: 2.254 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.6674, allocations: 66.08 kB / 0.5369 GB, free: 2.195 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.6674, allocations: 0 / 0.5369 GB, free: 2.195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.6675, allocations: 329.9 kB / 0.5373 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.6676, allocations: 95.44 kB / 0.5374 GB, free: 1.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.6677, allocations: 151.4 kB / 0.5375 GB, free: 1.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.6679, allocations: 118 kB / 0.5376 GB, free: 1.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6679, allocations: 0 / 0.5376 GB, free: 1.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000541/0.6684, allocations: 351.8 kB / 0.5379 GB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.6684, allocations: 4 kB / 0.5379 GB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6685, allocations: 4 kB / 0.538 GB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.6688, allocations: 89.59 kB / 0.538 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.669, allocations: 39.92 kB / 0.5381 GB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.6707, allocations: 1.805 MB / 0.5398 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.6709, allocations: 19.83 kB / 0.5399 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.6709, allocations: 15.81 kB / 0.5399 GB, free: 15.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/0.671, allocations: 104.9 kB / 0.54 GB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.6711, allocations: 19.86 kB / 0.54 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/0.6718, allocations: 334.8 kB / 0.5403 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6718, allocations: 0 / 0.5403 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.6718, allocations: 8 kB / 0.5403 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6718, allocations: 0 / 0.5403 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.673, allocations: 0.7478 MB / 0.541 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.673, allocations: 0 / 0.541 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.6731, allocations: 31.92 kB / 0.5411 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.6734, allocations: 79.97 kB / 0.5412 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.6734, allocations: 0 / 0.5412 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.6751, allocations: 1.717 MB / 0.5428 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6751, allocations: 0 / 0.5428 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005717/0.6757, allocations: 460.4 kB / 0.5433 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006444/0.6763, allocations: 0.8287 MB / 0.5441 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.6764, allocations: 100.7 kB / 0.5442 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.6764, allocations: 3.984 kB / 0.5442 GB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.6766, allocations: 4 kB / 0.5442 GB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.6766, allocations: 7.984 kB / 0.5442 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.6766, allocations: 8 kB / 0.5442 GB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.877e-05/0.6767, allocations: 122.5 kB / 0.5443 GB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009577/0.6777, allocations: 75.88 kB / 0.5444 GB, free: 11.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001249/0.6778, allocations: 103.2 kB / 0.5445 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005786/0.6784, allocations: 357.5 kB / 0.5448 GB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6784, allocations: 3.938 kB / 0.5448 GB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.6788, allocations: 252.4 kB / 0.5451 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.679, allocations: 29.58 kB / 0.5451 GB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.6797, allocations: 366.4 kB / 0.5454 GB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.68, allocations: 0.7919 MB / 0.5462 GB, free: 9.254 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.68, allocations: 0 / 0.5462 GB, free: 9.254 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)