Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001286/0.001289, allocations: 187 kB / 16.38 MB, free: 5.594 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.657/1.657, allocations: 194.5 MB / 211.6 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001759/0.001758, allocations: 128.5 kB / 256.9 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2218/0.2218, allocations: 38.03 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.000513, allocations: 11.91 kB / 403.8 MB, free: 55.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06684/0.06737, allocations: 53.22 MB / 457 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005944/0.07336, allocations: 6.431 MB / 463.5 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.07688, allocations: 2.644 MB / 466.1 MB, free: 1.215 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.07727, allocations: 47.62 kB / 466.1 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.07769, allocations: 170.9 kB / 466.3 MB, free: 1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000942/0.07865, allocations: 486.6 kB / 466.8 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008542/0.07952, allocations: 427.1 kB / 467.2 MB, free: 108 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.08086, allocations: 1.034 MB / 468.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.08224, allocations: 0.8319 MB / 469.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000799/0.08305, allocations: 0.5687 MB / 469.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.08412, allocations: 0.7326 MB / 470.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.08433, allocations: 64 kB / 470.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.08535, allocations: 0.5032 MB / 470.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000632/0.086, allocations: 0.5222 MB / 471.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.08631, allocations: 221.2 kB / 471.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.0881, allocations: 1.547 MB / 473.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.592e-06/0.08812, allocations: 0 / 473.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.677e-06/0.08813, allocations: 0 / 473.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.08815, allocations: 0 / 473.2 MB, free: 10.04 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004519/0.09268, allocations: 1.725 MB / 474.9 MB, free: 8.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.09273, allocations: 12.02 kB / 475 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/0.0936, allocations: 162.6 kB / 475.1 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.09601, allocations: 0.9351 MB / 476.1 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008388/0.09687, allocations: 0.514 MB / 476.6 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.09718, allocations: 103.9 kB / 476.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004814/0.102, allocations: 2.097 MB / 478.8 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.1021, allocations: 4 kB / 478.8 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.1022, allocations: 39.97 kB / 478.8 MB, free: 4.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/0.1025, allocations: 85.95 kB / 478.9 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006311/0.1088, allocations: 2.408 MB / 481.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.1202, allocations: 5.777 MB / 487.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005589/0.1258, allocations: 1.945 MB / 489 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.784e-05/0.1259, allocations: 24.92 kB / 489 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003512/0.1294, allocations: 1.473 MB / 490.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 4.499e-06/0.1295, allocations: 0 / 490.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=124): time 0.01679/0.1463, allocations: 6.55 MB / 497.1 MB, free: 1.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.1464, allocations: 106 kB / 497.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.1471, allocations: 0.494 MB / 497.7 MB, free: 1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.1472, allocations: 57.69 kB / 497.7 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.1475, allocations: 360.7 kB / 498.1 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.148, allocations: 418 kB / 498.5 MB, free: 168 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1481, allocations: 20 kB / 498.5 MB, free: 148 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.1483, allocations: 398.7 kB / 498.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/0.1509, allocations: 1.084 MB / 500 MB, free: 14.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.1536, allocations: 1.227 MB / 0.4895 GB, free: 13.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.1563, allocations: 1.116 MB / 0.4905 GB, free: 12.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.19e-06/0.1563, allocations: 0 / 0.4905 GB, free: 12.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0137/0.17, allocations: 4.468 MB / 0.4949 GB, free: 7.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.505e-05/0.1701, allocations: 69.88 kB / 0.495 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.1701, allocations: 4 kB / 0.495 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00788/0.178, allocations: 2.249 MB / 0.4972 GB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/0.1789, allocations: 187.7 kB / 0.4974 GB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0337/0.2126, allocations: 13.72 MB / 0.5107 GB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.2141, allocations: 204 kB / 0.5109 GB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.2143, allocations: 75.88 kB / 0.511 GB, free: 6.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 99 * Array equations: 3 * Algorithm blocks: 7 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0007606/0.2151, allocations: 385.3 kB / 0.5114 GB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.2154, allocations: 79.06 kB / 0.5115 GB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006956/0.2223, allocations: 2.668 MB / 0.5141 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/0.2224, allocations: 31.97 kB / 0.5141 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.547e-06/0.2224, allocations: 0 / 0.5141 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.2225, allocations: 7.984 kB / 0.5141 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.2325, allocations: 4.392 MB / 0.5184 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.2326, allocations: 12.19 kB / 0.5184 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01253/0.2451, allocations: 2.849 MB / 0.5212 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.433e-05/0.2452, allocations: 24.84 kB / 0.5212 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.2454, allocations: 39.95 kB / 0.5212 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.2466, allocations: 1.392 MB / 0.5226 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.018e-06/0.2466, allocations: 4.25 kB / 0.5226 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.2572, allocations: 4.354 MB / 0.5269 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/0.2579, allocations: 336 kB / 0.5272 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.2582, allocations: 87.94 kB / 0.5273 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.2597, allocations: 239.7 kB / 0.5275 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000488/0.2602, allocations: 196.7 kB / 0.5277 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.2604, allocations: 43.97 kB / 0.5277 GB, free: 5.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005631/0.261, allocations: 346.8 kB / 0.5281 GB, free: 5.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.38e-07/0.261, allocations: 0 / 0.5281 GB, free: 5.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001364/0.2623, allocations: 364 kB / 0.5284 GB, free: 4.746 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 95 * Array equations: 3 * 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.0004182/0.2628, allocations: 204.7 kB / 0.5286 GB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008708/0.2715, allocations: 3.966 MB / 0.5325 GB, free: 468 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2715, allocations: 0 / 0.5325 GB, free: 468 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2217/0.4932, allocations: 2.4 MB / 0.5348 GB, free: 81.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009154/0.4942, allocations: 159.8 kB / 0.535 GB, free: 81.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007448/0.5017, allocations: 3.781 MB / 0.5387 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008982/0.5026, allocations: 1.174 MB / 0.5398 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001194/0.5038, allocations: 315.2 kB / 0.5401 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.5043, allocations: 74.67 kB / 0.5402 GB, free: 78.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.904e-06/0.5043, allocations: 0 / 0.5402 GB, free: 78.96 MB / 378.7 MB Notification: Performance of Templates: time 0.03858/0.5429, allocations: 25.36 MB / 0.5649 GB, free: 60.38 MB / 378.7 MB