Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [: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.002389/0.002395, allocations: 188.7 kB / 7.801 MB, free: 2.5 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.655/1.655, allocations: 205.2 MB / 213.4 MB, free: 13.9 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.00126/0.00126, allocations: 86.3 kB / 261.4 MB, free: 13.61 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.2643/0.2643, allocations: 37.98 MB / 347.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.938e-06/1.01e-05, allocations: 0 / 409.3 MB, free: 47.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.0977, allocations: 56.32 MB / 465.6 MB, free: 6.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4404, allocations: 99.27 MB / 0.5517 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.4407, allocations: 83.95 kB / 0.5517 GB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05089/0.4916, allocations: 11.12 MB / 0.5626 GB, free: 232 kB / 394.7 MB Notification: Performance of Transformations before backend: time 4.769e-05/0.4917, allocations: 16 kB / 0.5626 GB, free: 216 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001819/0.4936, allocations: 0.7482 MB / 0.5633 GB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4936, allocations: 8.031 kB / 0.5634 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.4938, allocations: 59.25 kB / 0.5634 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/0.499, allocations: 1.241 MB / 0.5646 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.4991, allocations: 12 kB / 0.5646 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.4992, allocations: 24 kB / 0.5647 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/0.5003, allocations: 361.8 kB / 0.565 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.5016, allocations: 485.6 kB / 0.5655 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.5016, allocations: 0 / 0.5655 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.5017, allocations: 4 kB / 0.5655 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.5018, allocations: 24.77 kB / 0.5655 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.5056, allocations: 1.868 MB / 0.5673 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.5065, allocations: 293.4 kB / 0.5676 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.507, allocations: 174 kB / 0.5678 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.5071, allocations: 7.984 kB / 0.5678 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.5075, allocations: 264.1 kB / 0.568 GB, free: 10.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 4.789e-06/0.5075, allocations: 0 / 0.568 GB, free: 10.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002139/0.5097, allocations: 0.8586 MB / 0.5689 GB, free: 9.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.5099, allocations: 170.2 kB / 0.569 GB, free: 9.281 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.5105, allocations: 325 kB / 0.5693 GB, free: 8.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.5105, allocations: 25.7 kB / 0.5694 GB, free: 8.922 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.5108, allocations: 286.1 kB / 0.5696 GB, free: 8.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.5109, allocations: 114.4 kB / 0.5697 GB, free: 8.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.511, allocations: 4 kB / 0.5697 GB, free: 8.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5111, allocations: 330.8 kB / 0.5701 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.5114, allocations: 109 kB / 0.5702 GB, free: 8.086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.5119, allocations: 264.6 kB / 0.5704 GB, free: 7.758 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.5124, allocations: 168.8 kB / 0.5706 GB, free: 7.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5124, allocations: 0 / 0.5706 GB, free: 7.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001059/0.5134, allocations: 392.9 kB / 0.571 GB, free: 7.203 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5135, allocations: 4 kB / 0.571 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5135, allocations: 8 kB / 0.571 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.5135, allocations: 11.91 kB / 0.571 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.5144, allocations: 108.5 kB / 0.5711 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.5144, allocations: 15.94 kB / 0.5711 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.5148, allocations: 15.98 kB / 0.5711 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/0.5149, allocations: 31.98 kB / 0.5711 GB, free: 7.012 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0001727/0.5151, allocations: 83.16 kB / 0.5712 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.5152, allocations: 47.44 kB / 0.5713 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009871/0.5162, allocations: 353.5 kB / 0.5716 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.5163, allocations: 4 kB / 0.5716 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.5163, allocations: 3.906 kB / 0.5716 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.5163, allocations: 3.984 kB / 0.5716 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.5181, allocations: 0.7921 MB / 0.5724 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5181, allocations: 0 / 0.5724 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.5188, allocations: 63.91 kB / 0.5724 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.5188, allocations: 7.922 kB / 0.5725 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.5188, allocations: 20.05 kB / 0.5725 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.5189, allocations: 4 kB / 0.5725 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.5189, allocations: 0 / 0.5725 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001398/0.5203, allocations: 0.6409 MB / 0.5731 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.5206, allocations: 148.5 kB / 0.5732 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.5207, allocations: 4 kB / 0.5732 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.5211, allocations: 11.98 kB / 0.5733 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.5212, allocations: 19.97 kB / 0.5733 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.5213, allocations: 27.97 kB / 0.5733 GB, free: 4.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004137/0.5217, allocations: 247.2 kB / 0.5735 GB, free: 4.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006369/0.5224, allocations: 100.1 kB / 0.5736 GB, free: 4.332 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0003115/0.5227, allocations: 146.9 kB / 0.5738 GB, free: 4.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008941/0.5236, allocations: 349.4 kB / 0.5741 GB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5236, allocations: 3.938 kB / 0.5741 GB, free: 3.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.5241, allocations: 229.5 kB / 0.5743 GB, free: 3.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/0.525, allocations: 90.86 kB / 0.5744 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.5273, allocations: 0.7444 MB / 0.5751 GB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008704/0.5282, allocations: 0.94 MB / 0.5761 GB, free: 1.758 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5282, allocations: 0 / 0.5761 GB, free: 1.758 MB / 410.7 MB Notification: Performance of Templates: time 0.0146/0.5428, allocations: 5.984 MB / 0.5819 GB, free: 11.77 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)