Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",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.001028/0.001028, allocations: 181.2 kB / 8.128 MB, free: 2.219 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.976/0.976, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.00164/0.00164, allocations: 116.5 kB / 247.7 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1491/0.1491, allocations: 37.92 MB / 330.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1744/0.3236, allocations: 59.33 MB / 389.9 MB, free: 78.06 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07212/0.3957, allocations: 53.23 MB / 443.1 MB, free: 24.92 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/0.6347, allocations: 94.51 MB / 0.525 GB, free: 9.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.6349, allocations: 76.84 kB / 0.5251 GB, free: 9.535 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.03442/0.6694, allocations: 13.51 MB / 0.5383 GB, free: 1.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6694, allocations: 12 kB / 0.5383 GB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.67, allocations: 94.42 kB / 0.5384 GB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.6718, allocations: 0.8536 MB / 0.5392 GB, free: 476 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.6719, allocations: 12 kB / 0.5392 GB, free: 464 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.672, allocations: 24 kB / 0.5393 GB, free: 440 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006343/0.6726, allocations: 481.2 kB / 0.5397 GB, free: 108 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.6734, allocations: 0.6113 MB / 0.5403 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.6735, allocations: 3.438 kB / 0.5403 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.6735, allocations: 3.906 kB / 0.5403 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.6736, allocations: 40.75 kB / 0.5404 GB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/0.6774, allocations: 2.394 MB / 0.5427 GB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.6778, allocations: 316.7 kB / 0.543 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.6781, allocations: 262.6 kB / 0.5432 GB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.6781, allocations: 7.922 kB / 0.5433 GB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.6782, allocations: 42.27 kB / 0.5433 GB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.905e-06/0.6782, allocations: 0 / 0.5433 GB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002855/0.681, allocations: 1.563 MB / 0.5448 GB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.6811, allocations: 80.86 kB / 0.5449 GB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.6813, allocations: 226.5 kB / 0.5451 GB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.6814, allocations: 33.69 kB / 0.5451 GB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.6815, allocations: 222.2 kB / 0.5454 GB, free: 11.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.6816, allocations: 159.8 kB / 0.5455 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.6816, allocations: 0 / 0.5455 GB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6817, allocations: 356.3 kB / 0.5459 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.682, allocations: 224 kB / 0.5461 GB, free: 10.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.6824, allocations: 370.9 kB / 0.5464 GB, free: 10.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.6831, allocations: 383.5 kB / 0.5468 GB, free: 9.812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6831, allocations: 0 / 0.5468 GB, free: 9.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001425/0.6845, allocations: 0.8004 MB / 0.5476 GB, free: 9.168 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6846, allocations: 4 kB / 0.5476 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001136/0.6857, allocations: 0.6344 MB / 0.5482 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/0.686, allocations: 82.41 kB / 0.5483 GB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.6864, allocations: 99.58 kB / 0.5484 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.6878, allocations: 1.515 MB / 0.5498 GB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.688, allocations: 12.03 kB / 0.5499 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.6881, allocations: 23.67 kB / 0.5499 GB, free: 6.957 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (53): * Single equations (assignments): 49 * Array equations: 3 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.6882, allocations: 112.9 kB / 0.55 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.6883, allocations: 35.53 kB / 0.55 GB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.6894, allocations: 0.6685 MB / 0.5507 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-05/0.6895, allocations: 19.56 kB / 0.5507 GB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6895, allocations: 3.984 kB / 0.5507 GB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6895, allocations: 0 / 0.5507 GB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.6915, allocations: 1.242 MB / 0.5519 GB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6915, allocations: 144 / 0.5519 GB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.692, allocations: 78.39 kB / 0.552 GB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.692, allocations: 3.984 kB / 0.552 GB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.692, allocations: 6.75 kB / 0.552 GB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.692, allocations: 8.078 kB / 0.552 GB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.692, allocations: 4 kB / 0.552 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001346/0.6934, allocations: 1.105 MB / 0.5531 GB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001846/0.6953, allocations: 1.832 MB / 0.5549 GB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.6954, allocations: 112.5 kB / 0.555 GB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.6954, allocations: 4 kB / 0.555 GB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.6957, allocations: 19.97 kB / 0.555 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.6957, allocations: 15.97 kB / 0.555 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.6958, allocations: 15.62 kB / 0.555 GB, free: 2.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001619/0.6959, allocations: 177.5 kB / 0.5552 GB, free: 2.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001035/0.697, allocations: 127.9 kB / 0.5553 GB, free: 2.246 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002246/0.6972, allocations: 128.9 kB / 0.5554 GB, free: 2.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.6982, allocations: 0.6812 MB / 0.5561 GB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6982, allocations: 0 / 0.5561 GB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.6986, allocations: 287.7 kB / 0.5564 GB, free: 1.387 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.699, allocations: 57.48 kB / 0.5564 GB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.7005, allocations: 0.9488 MB / 0.5574 GB, free: 484 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/0.7011, allocations: 0.9245 MB / 0.5583 GB, free: 15.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7011, allocations: 0 / 0.5583 GB, free: 15.54 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)