Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") [: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.001042/0.001043, allocations: 189.5 kB / 8.135 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 1.142/1.142, allocations: 194.2 MB / 202.8 MB, free: 8.762 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.001711/0.001711, allocations: 118.8 kB / 247.7 MB, free: 6.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1643/0.1643, allocations: 37.91 MB / 330.5 MB, free: 6.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.55e-06/5.57e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07722/0.07724, allocations: 53.22 MB / 443 MB, free: 24.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/0.3191, allocations: 96.38 MB / 0.5268 GB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.3193, allocations: 86.23 kB / 0.5268 GB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03672/0.3561, allocations: 13.23 MB / 0.5398 GB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.3561, allocations: 12.75 kB / 0.5398 GB, free: 15.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001503/0.3576, allocations: 0.7105 MB / 0.5405 GB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3577, allocations: 12.03 kB / 0.5405 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/0.3583, allocations: 99.19 kB / 0.5406 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.3608, allocations: 0.9278 MB / 0.5415 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.3608, allocations: 12 kB / 0.5415 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3609, allocations: 27.91 kB / 0.5415 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008162/0.3617, allocations: 447.3 kB / 0.5419 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.3627, allocations: 0.6335 MB / 0.5426 GB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.3627, allocations: 3.938 kB / 0.5426 GB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.3628, allocations: 0 / 0.5426 GB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.261e-05/0.3629, allocations: 36.02 kB / 0.5426 GB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.3665, allocations: 2.948 MB / 0.5455 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.3671, allocations: 319.5 kB / 0.5458 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.3673, allocations: 196.3 kB / 0.546 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.3674, allocations: 7.812 kB / 0.546 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.3674, allocations: 34.56 kB / 0.546 GB, free: 10.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.3674, allocations: 4 kB / 0.546 GB, free: 10.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001884/0.3693, allocations: 1.151 MB / 0.5471 GB, free: 9.168 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3694, allocations: 81.11 kB / 0.5472 GB, free: 9.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.3697, allocations: 317.8 kB / 0.5475 GB, free: 8.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.3698, allocations: 25.7 kB / 0.5475 GB, free: 8.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3699, allocations: 245 kB / 0.5478 GB, free: 8.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.645e-05/0.37, allocations: 128.5 kB / 0.5479 GB, free: 8.449 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.37, allocations: 4.031 kB / 0.5479 GB, free: 8.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3702, allocations: 352.4 kB / 0.5482 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.3704, allocations: 197.1 kB / 0.5484 GB, free: 7.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.3708, allocations: 371.2 kB / 0.5488 GB, free: 7.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.3712, allocations: 269.1 kB / 0.549 GB, free: 7.414 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3713, allocations: 4 kB / 0.549 GB, free: 7.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002158/0.3734, allocations: 0.8045 MB / 0.5498 GB, free: 6.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3734, allocations: 4 kB / 0.5498 GB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3735, allocations: 7.984 kB / 0.5498 GB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.3752, allocations: 264.4 kB / 0.5501 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.3759, allocations: 131.7 kB / 0.5502 GB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004665/0.3806, allocations: 3.546 MB / 0.5537 GB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.381, allocations: 15.98 kB / 0.5537 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.3811, allocations: 29.23 kB / 0.5537 GB, free: 2.875 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.3812, allocations: 120 kB / 0.5538 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/0.3813, allocations: 39.44 kB / 0.5539 GB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009224/0.3823, allocations: 0.525 MB / 0.5544 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.3823, allocations: 11.94 kB / 0.5544 GB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3823, allocations: 3.984 kB / 0.5544 GB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3823, allocations: 0 / 0.5544 GB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.3839, allocations: 1.017 MB / 0.5554 GB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.3839, allocations: 11.92 kB / 0.5554 GB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.3845, allocations: 86.52 kB / 0.5555 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-06/0.3845, allocations: 4 kB / 0.5555 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.3845, allocations: 14.67 kB / 0.5555 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3845, allocations: 0 / 0.5555 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3846, allocations: 7.984 kB / 0.5555 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001055/0.3856, allocations: 0.8708 MB / 0.5564 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3857, allocations: 108.6 kB / 0.5565 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.3858, allocations: 7.984 kB / 0.5565 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.3861, allocations: 15.89 kB / 0.5565 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.3862, allocations: 22.91 kB / 0.5565 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.3862, allocations: 11.31 kB / 0.5565 GB, free: 444 kB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002383/0.3865, allocations: 242.3 kB / 0.5568 GB, free: 248 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.3871, allocations: 127.6 kB / 0.5569 GB, free: 124 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * 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.0002009/0.3873, allocations: 119.1 kB / 0.557 GB, free: 16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.3888, allocations: 0.7697 MB / 0.5577 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3888, allocations: 0 / 0.5577 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.3891, allocations: 236 kB / 0.558 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3895, allocations: 65.36 kB / 0.558 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.3916, allocations: 1.043 MB / 0.559 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/0.3922, allocations: 0.9475 MB / 0.56 GB, free: 13.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.3923, allocations: 0 / 0.56 GB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01164/0.4039, allocations: 6.111 MB / 0.5659 GB, free: 7.098 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)