Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [: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.001718/0.001718, allocations: 194.9 kB / 7.809 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.655/1.655, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.001798/0.001798, allocations: 87.14 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.2992/0.2992, allocations: 37.97 MB / 347.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.276e-06/8.295e-06, allocations: 0 / 409.3 MB, free: 47.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 56.32 MB / 465.6 MB, free: 6.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3822/0.4825, allocations: 109.3 MB / 0.5614 GB, free: 1.551 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/0.4829, allocations: 87.95 kB / 0.5615 GB, free: 1.465 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1311/0.614, allocations: 22.81 MB / 0.5838 GB, free: 10.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.736e-05/0.6142, allocations: 23.94 kB / 0.5838 GB, free: 10.41 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.006832/0.621, allocations: 1.178 MB / 0.585 GB, free: 9.184 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.6211, allocations: 8.031 kB / 0.585 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.6235, allocations: 142.8 kB / 0.5851 GB, free: 9.035 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008416/0.632, allocations: 1.25 MB / 0.5863 GB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006137/0.6327, allocations: 155.1 kB / 0.5865 GB, free: 7.574 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005351/0.6332, allocations: 48 kB / 0.5865 GB, free: 7.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005281/0.6385, allocations: 1.074 MB / 0.5876 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005555/0.6442, allocations: 1.182 MB / 0.5887 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002928/0.6445, allocations: 11.92 kB / 0.5887 GB, free: 5.188 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.6448, allocations: 7.906 kB / 0.5887 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/0.645, allocations: 53.98 kB / 0.5888 GB, free: 5.129 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/0.6642, allocations: 4.811 MB / 0.5935 GB, free: 172 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.6674, allocations: 0.8416 MB / 0.5943 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.6693, allocations: 0.6048 MB / 0.5949 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.619e-05/0.6695, allocations: 20.39 kB / 0.5949 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.6695, allocations: 43.06 kB / 0.595 GB, free: 14.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 3.818e-06/0.6695, allocations: 3.938 kB / 0.595 GB, free: 14.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.006378/0.6759, allocations: 2.367 MB / 0.5973 GB, free: 12.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.676, allocations: 85.77 kB / 0.5974 GB, free: 12.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.6766, allocations: 333 kB / 0.5977 GB, free: 11.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.679e-05/0.6768, allocations: 25.7 kB / 0.5977 GB, free: 11.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.677, allocations: 385.8 kB / 0.5981 GB, free: 11.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003149/0.6773, allocations: 260.2 kB / 0.5983 GB, free: 11.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.6774, allocations: 4 kB / 0.5983 GB, free: 11.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6776, allocations: 342.7 kB / 0.5986 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.6787, allocations: 449.6 kB / 0.5991 GB, free: 10.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.6805, allocations: 0.6225 MB / 0.5997 GB, free: 9.586 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.6823, allocations: 0.5196 MB / 0.6002 GB, free: 9.066 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.6824, allocations: 4 kB / 0.6002 GB, free: 9.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.009554/0.6919, allocations: 1.847 MB / 0.602 GB, free: 7.184 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.692, allocations: 8.062 kB / 0.602 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008921/0.7009, allocations: 1.641 MB / 0.6036 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.704, allocations: 0.5402 MB / 0.6041 GB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.7059, allocations: 151.6 kB / 0.6043 GB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.7237, allocations: 5.443 MB / 0.6096 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.7254, allocations: 72 kB / 0.6097 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.7256, allocations: 28 kB / 0.6097 GB, free: 15.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {6 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.7259, allocations: 46.03 kB / 0.6097 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.7263, allocations: 63.23 kB / 0.6098 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.7307, allocations: 1.172 MB / 0.6109 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-05/0.7308, allocations: 12 kB / 0.6109 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7308, allocations: 0 / 0.6109 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.7308, allocations: 3.984 kB / 0.611 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008007/0.7388, allocations: 2.167 MB / 0.6131 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.7389, allocations: 3.906 kB / 0.6131 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008475/0.7474, allocations: 0.6869 MB / 0.6137 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/0.7476, allocations: 24.84 kB / 0.6138 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.7477, allocations: 4 kB / 0.6138 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.7494, allocations: 1.33 MB / 0.6151 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.7494, allocations: 0 / 0.6151 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006036/0.7555, allocations: 1.921 MB / 0.6169 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.7558, allocations: 132.4 kB / 0.6171 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.756, allocations: 4 kB / 0.6171 GB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.7575, allocations: 59.94 kB / 0.6171 GB, free: 7.094 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/0.7579, allocations: 60.5 kB / 0.6172 GB, free: 7.035 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.758, allocations: 16 kB / 0.6172 GB, free: 7.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0004362/0.7584, allocations: 243.2 kB / 0.6174 GB, free: 6.781 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001281/0.7597, allocations: 223.9 kB / 0.6177 GB, free: 6.562 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * 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.0003691/0.7601, allocations: 147 kB / 0.6178 GB, free: 6.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003669/0.7638, allocations: 1.382 MB / 0.6191 GB, free: 5.012 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7638, allocations: 0 / 0.6191 GB, free: 5.012 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006874/0.7707, allocations: 1.332 MB / 0.6204 GB, free: 3.672 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.7718, allocations: 113.3 kB / 0.6205 GB, free: 3.562 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006473/0.7783, allocations: 1.957 MB / 0.6225 GB, free: 1.551 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/0.7799, allocations: 1.145 MB / 0.6236 GB, free: 384 kB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7799, allocations: 0 / 0.6236 GB, free: 384 kB / 458.7 MB Notification: Performance of Templates: time 0.1782/0.9581, allocations: 18.99 MB / 0.6421 GB, free: 195.1 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)