Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001239/0.001238, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.244/1.244, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001601/0.001601, allocations: 114.2 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1632/0.1632, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07438/0.07475, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/0.3687, allocations: 107.8 MB / 0.5516 GB, free: 3.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.369, allocations: 99.08 kB / 0.5517 GB, free: 3.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07789/0.447, allocations: 28.18 MB / 0.5792 GB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.447, allocations: 0 / 0.5792 GB, free: 11.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.013e-05/0.4471, allocations: 24 kB / 0.5792 GB, free: 11.3 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004627/0.4517, allocations: 1.746 MB / 0.5809 GB, free: 9.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4517, allocations: 12.02 kB / 0.5809 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006612/0.4524, allocations: 162.6 kB / 0.5811 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/0.4568, allocations: 1.67 MB / 0.5827 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005826/0.4574, allocations: 0.5146 MB / 0.5832 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.4576, allocations: 93.34 kB / 0.5833 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/0.4615, allocations: 2.099 MB / 0.5854 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.4615, allocations: 4 kB / 0.5854 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.4616, allocations: 37.48 kB / 0.5854 GB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.4618, allocations: 80.58 kB / 0.5855 GB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/0.4664, allocations: 2.386 MB / 0.5878 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008816/0.4752, allocations: 5.768 MB / 0.5934 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/0.4794, allocations: 1.805 MB / 0.5952 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.022e-05/0.4796, allocations: 16.98 kB / 0.5952 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002696/0.4823, allocations: 1.489 MB / 0.5967 GB, free: 12.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=125): time 3.367e-06/0.4823, allocations: 0 / 0.5967 GB, free: 12.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.01366/0.4959, allocations: 6.651 MB / 0.6032 GB, free: 5.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.496, allocations: 102.1 kB / 0.6033 GB, free: 5.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.4966, allocations: 445 kB / 0.6037 GB, free: 5.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.4967, allocations: 57.69 kB / 0.6037 GB, free: 5.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.497, allocations: 364.8 kB / 0.6041 GB, free: 4.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.4974, allocations: 425.9 kB / 0.6045 GB, free: 4.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.4974, allocations: 20 kB / 0.6045 GB, free: 4.508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.4976, allocations: 402.7 kB / 0.6049 GB, free: 4.105 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.4995, allocations: 1.127 MB / 0.606 GB, free: 2.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.5016, allocations: 1.286 MB / 0.6072 GB, free: 1.656 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.5036, allocations: 1.175 MB / 0.6084 GB, free: 492 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5036, allocations: 0 / 0.6084 GB, free: 492 kB / 410.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01113/0.5147, allocations: 4.475 MB / 0.6128 GB, free: 11.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.5149, allocations: 65.62 kB / 0.6128 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5149, allocations: 4 kB / 0.6128 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006462/0.5213, allocations: 2.122 MB / 0.6149 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.5223, allocations: 171.7 kB / 0.6151 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02719/0.5495, allocations: 14.12 MB / 0.6289 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.551, allocations: 196 kB / 0.629 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.5511, allocations: 71.88 kB / 0.6291 GB, free: 10.94 MB / 442.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 (105): * Single equations (assignments): 98 * Array equations: 4 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007102/0.5518, allocations: 377.6 kB / 0.6295 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.552, allocations: 79.05 kB / 0.6295 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00536/0.5574, allocations: 2.668 MB / 0.6322 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.999e-05/0.5575, allocations: 24 kB / 0.6322 GB, free: 7.758 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5575, allocations: 0 / 0.6322 GB, free: 7.758 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5575, allocations: 15.91 kB / 0.6322 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007759/0.5652, allocations: 4.388 MB / 0.6365 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.5653, allocations: 4 kB / 0.6365 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0104/0.5757, allocations: 2.826 MB / 0.6392 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.931e-05/0.5758, allocations: 36.73 kB / 0.6393 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.5759, allocations: 35.97 kB / 0.6393 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009462/0.5769, allocations: 1.385 MB / 0.6407 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5769, allocations: 4.031 kB / 0.6407 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008246/0.5852, allocations: 4.39 MB / 0.645 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008229/0.586, allocations: 343.9 kB / 0.6453 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.5863, allocations: 91.89 kB / 0.6454 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.5876, allocations: 243.7 kB / 0.6456 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.588, allocations: 196.7 kB / 0.6458 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5881, allocations: 39.97 kB / 0.6458 GB, free: 9.395 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004348/0.5886, allocations: 338.8 kB / 0.6462 GB, free: 9.062 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5886, allocations: 0 / 0.6462 GB, free: 9.062 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001407/0.59, allocations: 375.9 kB / 0.6465 GB, free: 8.695 MB / 458.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 (110): * Single equations (assignments): 92 * Array equations: 4 * 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.0004975/0.5905, allocations: 237.3 kB / 0.6467 GB, free: 8.453 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007213/0.5977, allocations: 3.298 MB / 0.65 GB, free: 5.109 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5978, allocations: 0 / 0.65 GB, free: 5.109 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006568/0.6044, allocations: 2.421 MB / 0.6523 GB, free: 2.676 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.6053, allocations: 161.9 kB / 0.6525 GB, free: 2.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/0.6121, allocations: 3.827 MB / 0.6562 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007644/0.6129, allocations: 1.171 MB / 0.6574 GB, free: 13.44 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001069/0.614, allocations: 314.8 kB / 0.6577 GB, free: 13.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.6144, allocations: 71.36 kB / 0.6577 GB, free: 13.06 MB / 474.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6144, allocations: 0 / 0.6577 GB, free: 13.06 MB / 474.7 MB Notification: Performance of Templates: time 0.196/0.8104, allocations: 22.3 MB / 0.6795 GB, free: 146.3 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1)