Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter.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.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 186.1 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001096/0.001096, allocations: 98.28 kB / 267.1 MB, free: 9.273 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.3092/0.3092, allocations: 37.98 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.514e-05, allocations: 4 kB / 416.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 56.32 MB / 473.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5815/0.6845, allocations: 112.3 MB / 0.5717 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004448/0.685, allocations: 91.94 kB / 0.5718 GB, free: 7.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1262/0.8112, allocations: 24.03 MB / 0.5953 GB, free: 15.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8113, allocations: 0 / 0.5953 GB, free: 15.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001063/0.8114, allocations: 23.94 kB / 0.5953 GB, free: 14.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.005959/0.8174, allocations: 1.327 MB / 0.5966 GB, free: 13.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.8175, allocations: 12.03 kB / 0.5966 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.8194, allocations: 163.3 kB / 0.5968 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008496/0.828, allocations: 1.391 MB / 0.5981 GB, free: 11.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/0.8284, allocations: 167.1 kB / 0.5983 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006149/0.829, allocations: 99.97 kB / 0.5984 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/0.8344, allocations: 1.424 MB / 0.5998 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.416e-05/0.8345, allocations: 0 / 0.5998 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.8347, allocations: 39.98 kB / 0.5998 GB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/0.835, allocations: 57.98 kB / 0.5999 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004251/0.8392, allocations: 1.034 MB / 0.6009 GB, free: 9.059 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.8541, allocations: 4.785 MB / 0.6056 GB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.8576, allocations: 0.9157 MB / 0.6065 GB, free: 3.172 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.8596, allocations: 495.7 kB / 0.6069 GB, free: 2.684 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.8597, allocations: 8.562 kB / 0.6069 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002148/0.8619, allocations: 0.6379 MB / 0.6076 GB, free: 2.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 5.44e-06/0.8619, allocations: 0 / 0.6076 GB, free: 2.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.00867/0.8706, allocations: 2.376 MB / 0.6099 GB, free: 15.56 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.8708, allocations: 127.4 kB / 0.61 GB, free: 15.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.8722, allocations: 0.5125 MB / 0.6105 GB, free: 14.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002141/0.8724, allocations: 49.7 kB / 0.6106 GB, free: 14.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.873, allocations: 485.5 kB / 0.611 GB, free: 14.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/0.8735, allocations: 284.1 kB / 0.6113 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.8737, allocations: 20 kB / 0.6113 GB, free: 14.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.8739, allocations: 354.7 kB / 0.6116 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.8757, allocations: 0.4982 MB / 0.6121 GB, free: 13.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.8778, allocations: 0.758 MB / 0.6129 GB, free: 12.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.8794, allocations: 0.6387 MB / 0.6135 GB, free: 11.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.8794, allocations: 8 kB / 0.6135 GB, free: 11.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004103/0.8835, allocations: 1.566 MB / 0.615 GB, free: 10.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.8837, allocations: 65.67 kB / 0.6151 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003312/0.887, allocations: 1.361 MB / 0.6164 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/0.8877, allocations: 97.64 kB / 0.6165 GB, free: 8.512 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.8892, allocations: 203.6 kB / 0.6167 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.8927, allocations: 2.981 MB / 0.6196 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.8941, allocations: 80.02 kB / 0.6197 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.8943, allocations: 67.95 kB / 0.6198 GB, free: 4.918 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.ac_dc.modulator.gates[1],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 108 * Array equations: 2 * Algorithm blocks: 1 * 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: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003918/0.8948, allocations: 183.9 kB / 0.6199 GB, free: 4.734 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.895, allocations: 79.06 kB / 0.62 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.8979, allocations: 1.096 MB / 0.6211 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/0.898, allocations: 19.95 kB / 0.6211 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.898, allocations: 0 / 0.6211 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.8981, allocations: 3.984 kB / 0.6211 GB, free: 3.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/0.9039, allocations: 2.3 MB / 0.6234 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.904, allocations: 0 / 0.6234 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.9054, allocations: 147.9 kB / 0.6235 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.9056, allocations: 24.8 kB / 0.6235 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.9057, allocations: 27.97 kB / 0.6235 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.9072, allocations: 1.393 MB / 0.6249 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9072, allocations: 3.953 kB / 0.6249 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.9117, allocations: 1.735 MB / 0.6266 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008183/0.9126, allocations: 244 kB / 0.6268 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/0.913, allocations: 75.95 kB / 0.6269 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.9145, allocations: 107.9 kB / 0.627 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.9148, allocations: 60.66 kB / 0.6271 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.9149, allocations: 31.97 kB / 0.6271 GB, free: 13.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000797/0.9157, allocations: 385.5 kB / 0.6275 GB, free: 12.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.9157, allocations: 0 / 0.6275 GB, free: 12.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001441/0.9172, allocations: 259.9 kB / 0.6277 GB, free: 12.41 MB / 474.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: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 61 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0005121/0.9177, allocations: 204.1 kB / 0.6279 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003705/0.9214, allocations: 1.572 MB / 0.6294 GB, free: 10.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.9215, allocations: 0 / 0.6294 GB, free: 10.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.923, allocations: 0.5925 MB / 0.63 GB, free: 9.992 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.9243, allocations: 151.8 kB / 0.6302 GB, free: 9.848 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.9295, allocations: 1.979 MB / 0.6321 GB, free: 7.824 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.9307, allocations: 1.126 MB / 0.6332 GB, free: 6.668 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/0.9313, allocations: 71.42 kB / 0.6333 GB, free: 6.598 MB / 474.7 MB Notification: Performance of SimCode: time 1.383e-06/0.9313, allocations: 0 / 0.6333 GB, free: 6.598 MB / 474.7 MB Notification: Performance of Templates: time 0.4071/1.338, allocations: 17 MB / 0.6499 GB, free: 131.2 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1)