Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") [: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.001706/0.001705, allocations: 190.6 kB / 7.806 MB, free: 2.445 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.677/1.677, 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.00131/0.001309, allocations: 86.27 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.2841/0.2841, allocations: 37.98 MB / 347.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.115e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.09689, allocations: 56.32 MB / 465.6 MB, free: 6.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3382/0.4352, allocations: 93.22 MB / 0.5458 GB, free: 1.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.4355, allocations: 79.95 kB / 0.5458 GB, free: 1.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.06325/0.4988, allocations: 12.75 MB / 0.5583 GB, free: 4.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.4989, allocations: 8 kB / 0.5583 GB, free: 4.691 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009938/0.4999, allocations: 482.5 kB / 0.5588 GB, free: 4.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.5, allocations: 8.031 kB / 0.5588 GB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.5019, allocations: 91.61 kB / 0.5588 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.5027, allocations: 277.5 kB / 0.5591 GB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.5027, allocations: 8 kB / 0.5591 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.5028, allocations: 11.98 kB / 0.5591 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007249/0.5036, allocations: 208.2 kB / 0.5593 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.5044, allocations: 282.4 kB / 0.5596 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.5045, allocations: 0 / 0.5596 GB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.5045, allocations: 7.984 kB / 0.5596 GB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.5047, allocations: 19.98 kB / 0.5596 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.508, allocations: 1.248 MB / 0.5608 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.5088, allocations: 161.1 kB / 0.561 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.5091, allocations: 49.77 kB / 0.561 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.5091, allocations: 4 kB / 0.561 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.5092, allocations: 38.56 kB / 0.5611 GB, free: 1.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 4.358e-06/0.5092, allocations: 3.938 kB / 0.5611 GB, free: 1.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001382/0.5106, allocations: 273.2 kB / 0.5614 GB, free: 1.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.5107, allocations: 85.09 kB / 0.5614 GB, free: 1.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.5111, allocations: 151.6 kB / 0.5616 GB, free: 1.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.5112, allocations: 25.7 kB / 0.5616 GB, free: 1.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.5114, allocations: 222.3 kB / 0.5618 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.296e-05/0.5115, allocations: 51.3 kB / 0.5619 GB, free: 0.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.5115, allocations: 3.938 kB / 0.5619 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.5117, allocations: 322.8 kB / 0.5622 GB, free: 432 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.5119, allocations: 39.98 kB / 0.5622 GB, free: 392 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.5122, allocations: 136.9 kB / 0.5623 GB, free: 208 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.5126, allocations: 75.89 kB / 0.5624 GB, free: 132 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5126, allocations: 0 / 0.5624 GB, free: 132 kB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001096/0.5137, allocations: 226.1 kB / 0.5626 GB, free: 15.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.5138, allocations: 4 kB / 0.5626 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.5138, allocations: 7.938 kB / 0.5626 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.5142, allocations: 32.84 kB / 0.5627 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.5147, allocations: 43.91 kB / 0.5627 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.5147, allocations: 4.375 kB / 0.5627 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.515, allocations: 8 kB / 0.5627 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.5151, allocations: 19.98 kB / 0.5627 GB, free: 15.78 MB / 410.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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.5152, allocations: 37.53 kB / 0.5628 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5154, allocations: 19.72 kB / 0.5628 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008936/0.5163, allocations: 174.2 kB / 0.563 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5163, allocations: 4 kB / 0.563 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/0.5164, allocations: 8 kB / 0.563 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.5164, allocations: 0 / 0.563 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.5184, allocations: 0.4904 MB / 0.5635 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.5185, allocations: 4.078 kB / 0.5635 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.5188, allocations: 27.94 kB / 0.5635 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004305/0.5193, allocations: 32.83 kB / 0.5635 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.5193, allocations: 0 / 0.5635 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.5216, allocations: 1.252 MB / 0.5647 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.267e-05/0.5217, allocations: 3.938 kB / 0.5647 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001006/0.5227, allocations: 330.2 kB / 0.5651 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.5229, allocations: 96.91 kB / 0.5652 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.523, allocations: 4 kB / 0.5652 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.5233, allocations: 4 kB / 0.5652 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.5234, allocations: 11.98 kB / 0.5652 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.5234, allocations: 4 kB / 0.5652 GB, free: 13.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002486/0.5237, allocations: 128.3 kB / 0.5653 GB, free: 12.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008285/0.5245, allocations: 52 kB / 0.5653 GB, free: 12.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002607/0.5248, allocations: 111.1 kB / 0.5655 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008138/0.5257, allocations: 209.8 kB / 0.5657 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5257, allocations: 0 / 0.5657 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005846/0.5263, allocations: 159.4 kB / 0.5658 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.527, allocations: 33.09 kB / 0.5658 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.5285, allocations: 329.6 kB / 0.5662 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006984/0.5292, allocations: 0.786 MB / 0.5669 GB, free: 11.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5292, allocations: 0 / 0.5669 GB, free: 11.14 MB / 410.7 MB Notification: Performance of Templates: time 0.007514/0.5368, allocations: 3.089 MB / 0.5699 GB, free: 8.039 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)