Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002535/0.002534, allocations: 186.8 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.2 MB / 213.4 MB, free: 13.95 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 97.88 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2767/0.2767, allocations: 37.97 MB / 347.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.087e-05/1.101e-05, allocations: 0 / 409.3 MB, free: 47.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 56.32 MB / 465.6 MB, free: 6.871 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4455, allocations: 95.59 MB / 0.5481 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.4459, allocations: 87.95 kB / 0.5482 GB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03488/0.4808, allocations: 7.29 MB / 0.5553 GB, free: 7.863 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.4809, allocations: 4 kB / 0.5553 GB, free: 7.859 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001306/0.4822, allocations: 0.5862 MB / 0.5558 GB, free: 7.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4823, allocations: 8.031 kB / 0.5559 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.4824, allocations: 43.44 kB / 0.5559 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.4852, allocations: 0.711 MB / 0.5566 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.4852, allocations: 8 kB / 0.5566 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.9e-05/0.4853, allocations: 23.91 kB / 0.5566 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007179/0.486, allocations: 241.1 kB / 0.5568 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.4868, allocations: 324.5 kB / 0.5572 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4868, allocations: 0 / 0.5572 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.4869, allocations: 0 / 0.5572 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4869, allocations: 8 kB / 0.5572 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.4894, allocations: 1.391 MB / 0.5585 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.4898, allocations: 145 kB / 0.5587 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.49, allocations: 81.94 kB / 0.5587 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.4901, allocations: 0 / 0.5587 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4901, allocations: 42.56 kB / 0.5588 GB, free: 4.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.4901, allocations: 0 / 0.5588 GB, free: 4.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.00159/0.4917, allocations: 0.5944 MB / 0.5594 GB, free: 3.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4918, allocations: 81.11 kB / 0.5594 GB, free: 3.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.4923, allocations: 247.5 kB / 0.5597 GB, free: 3.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.4923, allocations: 29.73 kB / 0.5597 GB, free: 3.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.4925, allocations: 242 kB / 0.5599 GB, free: 2.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.4926, allocations: 51.2 kB / 0.56 GB, free: 2.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.4927, allocations: 3.938 kB / 0.56 GB, free: 2.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4928, allocations: 322.8 kB / 0.5603 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.493, allocations: 63.97 kB / 0.5604 GB, free: 2.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.4933, allocations: 161.8 kB / 0.5605 GB, free: 2.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.4936, allocations: 87.89 kB / 0.5606 GB, free: 2.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4936, allocations: 0 / 0.5606 GB, free: 2.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006606/0.4943, allocations: 246.5 kB / 0.5608 GB, free: 1.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4943, allocations: 4 kB / 0.5608 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4943, allocations: 4 kB / 0.5608 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.4944, allocations: 4 kB / 0.5608 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.4949, allocations: 59.91 kB / 0.5609 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.495, allocations: 7.984 kB / 0.5609 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.4952, allocations: 4 kB / 0.5609 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.4952, allocations: 16.36 kB / 0.5609 GB, free: 1.699 MB / 394.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 (29): * Single equations (assignments): 29 * 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 prepare postOptimizeDAE: time 0.0001065/0.4953, allocations: 45.53 kB / 0.561 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.4955, allocations: 27.62 kB / 0.561 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006943/0.4962, allocations: 223.8 kB / 0.5612 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4962, allocations: 4 kB / 0.5612 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4962, allocations: 3.906 kB / 0.5612 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4962, allocations: 0 / 0.5612 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.4975, allocations: 0.5699 MB / 0.5618 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.4975, allocations: 0 / 0.5618 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.4979, allocations: 31.98 kB / 0.5618 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.498, allocations: 4 kB / 0.5618 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.498, allocations: 0 / 0.5618 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.498, allocations: 3.938 kB / 0.5618 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.498, allocations: 15.83 kB / 0.5618 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008529/0.4989, allocations: 442.9 kB / 0.5622 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.499, allocations: 100.7 kB / 0.5623 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.4991, allocations: 3.984 kB / 0.5623 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.4994, allocations: 8 kB / 0.5624 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.4995, allocations: 7.984 kB / 0.5624 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.4995, allocations: 8 kB / 0.5624 GB, free: 108 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003585/0.4999, allocations: 207.1 kB / 0.5626 GB, free: 15.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004785/0.5004, allocations: 60 kB / 0.5626 GB, free: 15.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0001646/0.5006, allocations: 103.2 kB / 0.5627 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.5011, allocations: 171.8 kB / 0.5629 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5011, allocations: 0.875 kB / 0.5629 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.5013, allocations: 83.91 kB / 0.563 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.5019, allocations: 62.45 kB / 0.563 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.5034, allocations: 0.5024 MB / 0.5635 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/0.504, allocations: 0.8411 MB / 0.5643 GB, free: 14.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.504, allocations: 0 / 0.5643 GB, free: 14.02 MB / 410.7 MB Notification: Performance of Templates: time 0.008906/0.5129, allocations: 3.761 MB / 0.568 GB, free: 10.25 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)