Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [: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.002572/0.002572, allocations: 190.3 kB / 7.804 MB, free: 2.484 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.807/1.807, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.001264/0.001264, allocations: 88.25 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.3543/0.3543, allocations: 37.97 MB / 347.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.635e-06, allocations: 4 kB / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09822, allocations: 56.32 MB / 465.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3279/0.4261, allocations: 94.07 MB / 0.5466 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.4265, allocations: 83.94 kB / 0.5467 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.02991/0.4565, allocations: 6.254 MB / 0.5528 GB, free: 10.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.263e-05/0.4565, allocations: 12 kB / 0.5528 GB, free: 10.41 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001066/0.4576, allocations: 0.5311 MB / 0.5533 GB, free: 9.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4577, allocations: 8.031 kB / 0.5533 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.4578, allocations: 35.53 kB / 0.5533 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.461, allocations: 0.7729 MB / 0.5541 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.461, allocations: 8 kB / 0.5541 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.4611, allocations: 12 kB / 0.5541 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005313/0.4616, allocations: 164.8 kB / 0.5543 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.4622, allocations: 261.9 kB / 0.5545 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4623, allocations: 3.938 kB / 0.5545 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.4623, allocations: 3.906 kB / 0.5545 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.4623, allocations: 8 kB / 0.5545 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.4643, allocations: 1.173 MB / 0.5557 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.4648, allocations: 105.4 kB / 0.5558 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.4649, allocations: 37.78 kB / 0.5558 GB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.4649, allocations: 0 / 0.5558 GB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.465, allocations: 34.56 kB / 0.5559 GB, free: 7.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.465, allocations: 0 / 0.5559 GB, free: 7.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009971/0.466, allocations: 441.5 kB / 0.5563 GB, free: 6.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.4661, allocations: 77.11 kB / 0.5563 GB, free: 6.461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.4664, allocations: 209 kB / 0.5565 GB, free: 6.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.4664, allocations: 25.7 kB / 0.5566 GB, free: 6.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.4666, allocations: 226.1 kB / 0.5568 GB, free: 5.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.4666, allocations: 39.55 kB / 0.5568 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.4666, allocations: 0 / 0.5568 GB, free: 5.953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4668, allocations: 326.8 kB / 0.5571 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4669, allocations: 28 kB / 0.5572 GB, free: 5.598 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4672, allocations: 120.8 kB / 0.5573 GB, free: 5.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.4673, allocations: 56.39 kB / 0.5573 GB, free: 5.379 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4673, allocations: 0 / 0.5573 GB, free: 5.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004552/0.4678, allocations: 165.2 kB / 0.5575 GB, free: 5.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4678, allocations: 8 kB / 0.5575 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4679, allocations: 448 / 0.5575 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.4679, allocations: 12 kB / 0.5575 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.4682, allocations: 43.91 kB / 0.5576 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4683, allocations: 8 kB / 0.5576 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.4684, allocations: 0 / 0.5576 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.4685, allocations: 15.94 kB / 0.5576 GB, free: 5.125 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 (24): * Single equations (assignments): 24 * 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 8.511e-05/0.4686, allocations: 45.48 kB / 0.5576 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.4687, allocations: 23.72 kB / 0.5576 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.4691, allocations: 123.2 kB / 0.5578 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4691, allocations: 4 kB / 0.5578 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4691, allocations: 4 kB / 0.5578 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4691, allocations: 3.984 kB / 0.5578 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007924/0.4699, allocations: 431.8 kB / 0.5582 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4699, allocations: 0 / 0.5582 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.4702, allocations: 23.98 kB / 0.5582 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4702, allocations: 0 / 0.5582 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4702, allocations: 4 kB / 0.5582 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4702, allocations: 4.031 kB / 0.5582 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4703, allocations: 0 / 0.5582 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004872/0.4708, allocations: 296.2 kB / 0.5585 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.4709, allocations: 92.83 kB / 0.5586 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.4709, allocations: 8.062 kB / 0.5586 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4711, allocations: 0 / 0.5586 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.4712, allocations: 15.89 kB / 0.5586 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.4712, allocations: 4 kB / 0.5586 GB, free: 3.953 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001996/0.4714, allocations: 153.2 kB / 0.5588 GB, free: 3.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004337/0.4719, allocations: 47.98 kB / 0.5588 GB, free: 3.758 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0001693/0.472, allocations: 106.2 kB / 0.5589 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.4724, allocations: 99.86 kB / 0.559 GB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4724, allocations: 0 / 0.559 GB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4725, allocations: 39.94 kB / 0.559 GB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.4731, allocations: 61.58 kB / 0.5591 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4743, allocations: 392 kB / 0.5595 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/0.4748, allocations: 0.8004 MB / 0.5602 GB, free: 2.203 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4749, allocations: 4 kB / 0.5603 GB, free: 2.199 MB / 394.7 MB Notification: Performance of Templates: time 0.007589/0.4825, allocations: 2.875 MB / 0.5631 GB, free: 15.33 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)