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.00157/0.001569, allocations: 183.9 kB / 15.76 MB, free: 6.344 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.162/2.162, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.00116/0.00116, allocations: 106.7 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2722/0.2722, allocations: 38.05 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004671, allocations: 16 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 56.32 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/0.6021, allocations: 112.4 MB / 0.5776 GB, free: 3.652 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.6025, allocations: 91.08 kB / 0.5777 GB, free: 3.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1056/0.7081, allocations: 24.05 MB / 0.6012 GB, free: 14.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7082, allocations: 4 kB / 0.6012 GB, free: 14.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.15e-05/0.7083, allocations: 23.88 kB / 0.6012 GB, free: 14.86 MB / 410.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.004493/0.7128, allocations: 1.411 MB / 0.6026 GB, free: 13.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.7128, allocations: 8.031 kB / 0.6026 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.7142, allocations: 171.1 kB / 0.6028 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006349/0.7206, allocations: 1.402 MB / 0.6041 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.7209, allocations: 174.1 kB / 0.6043 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004078/0.7214, allocations: 99.42 kB / 0.6044 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004856/0.7262, allocations: 1.533 MB / 0.6059 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.7263, allocations: 3.938 kB / 0.6059 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.7265, allocations: 37.69 kB / 0.6059 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.7267, allocations: 57.66 kB / 0.606 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/0.7306, allocations: 1.145 MB / 0.6071 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.7407, allocations: 4.794 MB / 0.6118 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005432/0.7462, allocations: 1.199 MB / 0.613 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.255e-05/0.7464, allocations: 12.56 kB / 0.613 GB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002531/0.7489, allocations: 0.7343 MB / 0.6137 GB, free: 4.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 4.258e-06/0.7489, allocations: 0 / 0.6137 GB, free: 4.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.01255/0.7615, allocations: 3.461 MB / 0.6171 GB, free: 1.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.839e-05/0.7616, allocations: 130.9 kB / 0.6172 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009611/0.7626, allocations: 0.524 MB / 0.6177 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.7628, allocations: 48 kB / 0.6178 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.7632, allocations: 484.3 kB / 0.6182 GB, free: 120 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.7636, allocations: 279.8 kB / 0.6185 GB, free: 15.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.7637, allocations: 18.38 kB / 0.6185 GB, free: 15.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7639, allocations: 359 kB / 0.6188 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.7652, allocations: 0.4998 MB / 0.6193 GB, free: 15.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.7665, allocations: 0.7665 MB / 0.6201 GB, free: 14.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.768, allocations: 0.6499 MB / 0.6207 GB, free: 14.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.768, allocations: 4 kB / 0.6207 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003858/0.7719, allocations: 1.582 MB / 0.6223 GB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.772, allocations: 60.98 kB / 0.6223 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003248/0.7753, allocations: 1.373 MB / 0.6237 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.7759, allocations: 101.7 kB / 0.6238 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.7774, allocations: 195.7 kB / 0.6239 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.7809, allocations: 3.009 MB / 0.6269 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.7822, allocations: 83.86 kB / 0.627 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.7824, allocations: 71.94 kB / 0.627 GB, free: 7.816 MB / 426.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 () * Number of clocked 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.0009121/0.7834, allocations: 373.4 kB / 0.6274 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.7836, allocations: 79.06 kB / 0.6275 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00495/0.7886, allocations: 1.286 MB / 0.6287 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.823e-05/0.7886, allocations: 19.98 kB / 0.6287 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.7887, allocations: 7.953 kB / 0.6287 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.7887, allocations: 3.984 kB / 0.6287 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00768/0.7964, allocations: 2.482 MB / 0.6312 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.7964, allocations: 0 / 0.6312 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.7978, allocations: 143.8 kB / 0.6313 GB, free: 3.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.798, allocations: 28.84 kB / 0.6313 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.7981, allocations: 27.97 kB / 0.6314 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.7994, allocations: 1.389 MB / 0.6327 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7994, allocations: 3.938 kB / 0.6327 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007188/0.8066, allocations: 2.05 MB / 0.6347 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.8073, allocations: 236.1 kB / 0.635 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.8076, allocations: 79.94 kB / 0.635 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.809, allocations: 107.9 kB / 0.6351 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.8093, allocations: 48.58 kB / 0.6352 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.8094, allocations: 35.92 kB / 0.6352 GB, free: 15.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007618/0.8101, allocations: 394.8 kB / 0.6356 GB, free: 14.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8102, allocations: 0 / 0.6356 GB, free: 14.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001361/0.8115, allocations: 255.9 kB / 0.6358 GB, free: 14.44 MB / 442.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]) * Number of clocked states: 0 () * 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.0004945/0.812, allocations: 206.8 kB / 0.636 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004642/0.8167, allocations: 1.682 MB / 0.6377 GB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.8167, allocations: 4.125 kB / 0.6377 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.8192, allocations: 0.6784 MB / 0.6383 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.8205, allocations: 151.4 kB / 0.6385 GB, free: 11.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/0.8273, allocations: 2.9 MB / 0.6413 GB, free: 8.719 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.8284, allocations: 1.126 MB / 0.6424 GB, free: 7.566 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/0.829, allocations: 71.42 kB / 0.6425 GB, free: 7.496 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/0.829, allocations: 0 / 0.6425 GB, free: 7.496 MB / 442.7 MB Notification: Performance of Templates: time 0.03607/0.8651, allocations: 17.02 MB / 0.6591 GB, free: 6.484 MB / 458.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)