Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",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.0009413/0.0009413, allocations: 182.4 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.965/0.965, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001645/0.001645, allocations: 121.3 kB / 247.7 MB, free: 6.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1556/0.1556, allocations: 37.92 MB / 330.5 MB, free: 6.836 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1747/0.3303, allocations: 59.35 MB / 389.9 MB, free: 77.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06481/0.3951, allocations: 53.23 MB / 443.1 MB, free: 24.76 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2246/0.6197, allocations: 90.02 MB / 0.5206 GB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.62, allocations: 88.72 kB / 0.5207 GB, free: 10.14 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.03302/0.653, allocations: 13.11 MB / 0.5335 GB, free: 4.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.653, allocations: 8 kB / 0.5335 GB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006714/0.6537, allocations: 103.3 kB / 0.5336 GB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.6556, allocations: 0.8697 MB / 0.5345 GB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.6556, allocations: 12 kB / 0.5345 GB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.6557, allocations: 23.98 kB / 0.5345 GB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004041/0.6561, allocations: 277.8 kB / 0.5348 GB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.6566, allocations: 416.6 kB / 0.5352 GB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.6566, allocations: 0 / 0.5352 GB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.6566, allocations: 7.906 kB / 0.5352 GB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.6567, allocations: 28.7 kB / 0.5352 GB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.6584, allocations: 1.548 MB / 0.5367 GB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.6586, allocations: 128.8 kB / 0.5369 GB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.6587, allocations: 112.4 kB / 0.537 GB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.6588, allocations: 3.516 kB / 0.537 GB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.6588, allocations: 34.56 kB / 0.537 GB, free: 1.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.522e-06/0.6588, allocations: 0 / 0.537 GB, free: 1.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008717/0.6597, allocations: 0.6716 MB / 0.5377 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.6597, allocations: 89.08 kB / 0.5377 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.6599, allocations: 244.6 kB / 0.538 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.6599, allocations: 25.7 kB / 0.538 GB, free: 0.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.66, allocations: 217.6 kB / 0.5382 GB, free: 356 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.6601, allocations: 73.12 kB / 0.5383 GB, free: 292 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.6601, allocations: 0 / 0.5383 GB, free: 292 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.6601, allocations: 346.4 kB / 0.5386 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.6603, allocations: 86.53 kB / 0.5387 GB, free: 15.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.6605, allocations: 192.7 kB / 0.5389 GB, free: 15.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.6607, allocations: 134.4 kB / 0.539 GB, free: 15.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6607, allocations: 0 / 0.539 GB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007193/0.6614, allocations: 399.8 kB / 0.5394 GB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.6614, allocations: 4 kB / 0.5394 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004543/0.6619, allocations: 257.9 kB / 0.5396 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003235/0.6622, allocations: 79.78 kB / 0.5397 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.6625, allocations: 63.84 kB / 0.5398 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.6639, allocations: 1.508 MB / 0.5412 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.6641, allocations: 8.031 kB / 0.5412 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.6641, allocations: 11.31 kB / 0.5413 GB, free: 13.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/0.6642, allocations: 116.9 kB / 0.5414 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.6643, allocations: 31.62 kB / 0.5414 GB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003762/0.6647, allocations: 260.8 kB / 0.5416 GB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.6647, allocations: 0 / 0.5416 GB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.6647, allocations: 0 / 0.5416 GB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6647, allocations: 4 kB / 0.5416 GB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.6657, allocations: 0.7001 MB / 0.5423 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6657, allocations: 4 kB / 0.5423 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.666, allocations: 47.86 kB / 0.5424 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.666, allocations: 4.125 kB / 0.5424 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.6661, allocations: 4 kB / 0.5424 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.6661, allocations: 11.92 kB / 0.5424 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6661, allocations: 3.906 kB / 0.5424 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004863/0.6666, allocations: 0.491 MB / 0.5429 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007404/0.6673, allocations: 1.001 MB / 0.5439 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/0.6674, allocations: 104.7 kB / 0.544 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.6675, allocations: 4 kB / 0.544 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.6676, allocations: 7.984 kB / 0.544 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.6677, allocations: 7.984 kB / 0.544 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.6677, allocations: 10.88 kB / 0.544 GB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000168/0.6679, allocations: 193.8 kB / 0.5442 GB, free: 10.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009565/0.6688, allocations: 95.69 kB / 0.5443 GB, free: 10.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.669, allocations: 119.2 kB / 0.5444 GB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005025/0.6695, allocations: 346.3 kB / 0.5447 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6695, allocations: 0 / 0.5447 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.6697, allocations: 97.41 kB / 0.5448 GB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.67, allocations: 58.66 kB / 0.5449 GB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.6712, allocations: 0.7273 MB / 0.5456 GB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005213/0.6718, allocations: 0.8911 MB / 0.5464 GB, free: 8.469 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6718, allocations: 0 / 0.5464 GB, free: 8.469 MB / 362.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)