Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [: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.002637/0.002637, allocations: 192.7 kB / 7.806 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.731/1.731, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.002317/0.002316, allocations: 94.12 kB / 261.4 MB, free: 13.63 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.2759/0.2759, allocations: 37.97 MB / 347.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.026e-05/1.035e-05, allocations: 4 kB / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.09935, allocations: 56.32 MB / 465.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/0.4815, allocations: 96.92 MB / 0.5494 GB, free: 13.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.4819, allocations: 87.95 kB / 0.5495 GB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04311/0.5251, allocations: 9.543 MB / 0.5588 GB, free: 4.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.5251, allocations: 11.94 kB / 0.5588 GB, free: 4.223 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.001235/0.5264, allocations: 0.5788 MB / 0.5594 GB, free: 3.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5264, allocations: 8.875 kB / 0.5594 GB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.5266, allocations: 43.52 kB / 0.5594 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.5288, allocations: 0.6083 MB / 0.56 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.5288, allocations: 8 kB / 0.56 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.5289, allocations: 19.94 kB / 0.56 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005654/0.5295, allocations: 169.2 kB / 0.5602 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.5302, allocations: 303 kB / 0.5605 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.5302, allocations: 3.906 kB / 0.5605 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.5303, allocations: 0 / 0.5605 GB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.5303, allocations: 11.94 kB / 0.5605 GB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.5326, allocations: 1.439 MB / 0.5619 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.5329, allocations: 137.6 kB / 0.562 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.5331, allocations: 71.98 kB / 0.5621 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.5332, allocations: 4 kB / 0.5621 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.5332, allocations: 38.5 kB / 0.5621 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.575e-06/0.5332, allocations: 0 / 0.5621 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.001449/0.5347, allocations: 0.6047 MB / 0.5627 GB, free: 15.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.5348, allocations: 140.5 kB / 0.5629 GB, free: 15.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.5351, allocations: 227.5 kB / 0.5631 GB, free: 15.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.5352, allocations: 25.7 kB / 0.5631 GB, free: 15.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.5353, allocations: 238.2 kB / 0.5633 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.392e-05/0.5354, allocations: 59.11 kB / 0.5634 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.5355, allocations: 0 / 0.5634 GB, free: 15.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5356, allocations: 326.9 kB / 0.5637 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.5358, allocations: 43.98 kB / 0.5637 GB, free: 14.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.536, allocations: 140.8 kB / 0.5639 GB, free: 14.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.5362, allocations: 71.91 kB / 0.5639 GB, free: 14.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.5362, allocations: 4 kB / 0.5639 GB, free: 14.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005572/0.5368, allocations: 201.1 kB / 0.5641 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5368, allocations: 4.438 kB / 0.5641 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5369, allocations: 8 kB / 0.5642 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.5369, allocations: 4 kB / 0.5642 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.5376, allocations: 79.89 kB / 0.5642 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.5388, allocations: 1.234 MB / 0.5654 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.539, allocations: 4 kB / 0.5654 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.539, allocations: 12 kB / 0.5655 GB, free: 12.86 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 (31): * Single equations (assignments): 30 * 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): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/0.5391, allocations: 33.64 kB / 0.5655 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.5393, allocations: 27.62 kB / 0.5655 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005152/0.5398, allocations: 181.1 kB / 0.5657 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5398, allocations: 4 kB / 0.5657 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.5398, allocations: 0 / 0.5657 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.5399, allocations: 4 kB / 0.5657 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.541, allocations: 496.4 kB / 0.5662 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.541, allocations: 0 / 0.5662 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.5415, allocations: 39.92 kB / 0.5662 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.5415, allocations: 8.031 kB / 0.5662 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.5415, allocations: 3.984 kB / 0.5662 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.5415, allocations: 4 kB / 0.5662 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5415, allocations: 0 / 0.5662 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006844/0.5422, allocations: 0.4993 MB / 0.5667 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.5424, allocations: 108.7 kB / 0.5668 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.5424, allocations: 4 kB / 0.5668 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.5428, allocations: 0 / 0.5668 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.5428, allocations: 11.89 kB / 0.5668 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.5428, allocations: 8 kB / 0.5668 GB, free: 11.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002614/0.5431, allocations: 183.1 kB / 0.567 GB, free: 11.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005888/0.5437, allocations: 56 kB / 0.5671 GB, free: 11.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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.000236/0.544, allocations: 127.2 kB / 0.5672 GB, free: 10.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006267/0.5446, allocations: 152.5 kB / 0.5673 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5446, allocations: 0 / 0.5673 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.5448, allocations: 64.06 kB / 0.5674 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.5456, allocations: 64.98 kB / 0.5674 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.5476, allocations: 0.5975 MB / 0.568 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/0.5482, allocations: 0.8375 MB / 0.5688 GB, free: 9.188 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5482, allocations: 0 / 0.5688 GB, free: 9.188 MB / 410.7 MB Notification: Performance of Templates: time 0.01067/0.5589, allocations: 4.604 MB / 0.5733 GB, free: 4.582 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1)