Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001652, allocations: 181.3 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000783/0.0007827, allocations: 88.16 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1674/0.1674, allocations: 38.06 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2919, allocations: 56.31 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.4586, allocations: 112.9 MB / 0.5793 GB, free: 5.539 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/0.459, allocations: 103.9 kB / 0.5794 GB, free: 5.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08037/0.5394, allocations: 28.2 MB / 0.6069 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5394, allocations: 0 / 0.6069 GB, free: 8.938 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.161e-05/0.5395, allocations: 24 kB / 0.6069 GB, free: 8.914 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004494/0.544, allocations: 1.754 MB / 0.6086 GB, free: 7.078 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.544, allocations: 8.031 kB / 0.6086 GB, free: 7.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.5449, allocations: 162.6 kB / 0.6088 GB, free: 6.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005555/0.5504, allocations: 1.656 MB / 0.6104 GB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007028/0.5512, allocations: 0.5218 MB / 0.6109 GB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.5514, allocations: 84 kB / 0.611 GB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.5557, allocations: 2.114 MB / 0.6131 GB, free: 2.375 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.5558, allocations: 3.938 kB / 0.6131 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.5559, allocations: 39.98 kB / 0.6131 GB, free: 2.332 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.5561, allocations: 77.95 kB / 0.6132 GB, free: 2.258 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004709/0.5608, allocations: 2.377 MB / 0.6155 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009437/0.5703, allocations: 5.75 MB / 0.6211 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/0.5748, allocations: 1.815 MB / 0.6229 GB, free: 8.188 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.5749, allocations: 24.94 kB / 0.6229 GB, free: 8.164 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002926/0.5779, allocations: 1.481 MB / 0.6244 GB, free: 6.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=125): time 3.887e-06/0.5779, allocations: 0 / 0.6244 GB, free: 6.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.01423/0.5921, allocations: 6.653 MB / 0.6309 GB, free: 15.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.5923, allocations: 106.1 kB / 0.631 GB, free: 15.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.5928, allocations: 441.1 kB / 0.6314 GB, free: 15.28 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.593, allocations: 49.7 kB / 0.6314 GB, free: 15.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.5933, allocations: 356.8 kB / 0.6318 GB, free: 14.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.5937, allocations: 433.9 kB / 0.6322 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.5937, allocations: 20 kB / 0.6322 GB, free: 14.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5939, allocations: 390.8 kB / 0.6326 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.5959, allocations: 1.139 MB / 0.6337 GB, free: 12.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.598, allocations: 1.278 MB / 0.6349 GB, free: 11.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.6, allocations: 1.183 MB / 0.6361 GB, free: 10.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6, allocations: 0 / 0.6361 GB, free: 10.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01156/0.6116, allocations: 4.48 MB / 0.6405 GB, free: 5.871 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.6118, allocations: 65.67 kB / 0.6405 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.6118, allocations: 4 kB / 0.6405 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006527/0.6183, allocations: 2.136 MB / 0.6426 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009601/0.6193, allocations: 159.8 kB / 0.6428 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2395/0.8588, allocations: 14.11 MB / 0.6566 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.8605, allocations: 202.8 kB / 0.6567 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.8607, allocations: 62.33 kB / 0.6568 GB, free: 132.6 MB / 474.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.0008342/0.8615, allocations: 382.2 kB / 0.6572 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.8617, allocations: 84.09 kB / 0.6573 GB, free: 132.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00595/0.8677, allocations: 2.655 MB / 0.6598 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.171e-05/0.8678, allocations: 29.7 kB / 0.6599 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8678, allocations: 3.375 kB / 0.6599 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.8678, allocations: 7.703 kB / 0.6599 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007929/0.8757, allocations: 4.404 MB / 0.6642 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.8758, allocations: 2.25 kB / 0.6642 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01083/0.8866, allocations: 2.822 MB / 0.6669 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.8868, allocations: 26.83 kB / 0.667 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003763/0.8872, allocations: 36.91 kB / 0.667 GB, free: 131.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009145/0.8882, allocations: 1.392 MB / 0.6684 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.8882, allocations: 4.5 kB / 0.6684 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007801/0.896, allocations: 4.403 MB / 0.6727 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008335/0.8969, allocations: 335 kB / 0.673 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.8972, allocations: 89.84 kB / 0.6731 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.8986, allocations: 245.6 kB / 0.6733 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004009/0.899, allocations: 193.1 kB / 0.6735 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.8992, allocations: 42.98 kB / 0.6735 GB, free: 127.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004349/0.8996, allocations: 345 kB / 0.6739 GB, free: 127.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8996, allocations: 0 / 0.6739 GB, free: 127.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00154/0.9012, allocations: 380.1 kB / 0.6742 GB, free: 127.7 MB / 474.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.0004464/0.9016, allocations: 232.3 kB / 0.6744 GB, free: 127.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006245/0.9079, allocations: 3.292 MB / 0.6777 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.9079, allocations: 3.312 kB / 0.6777 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005957/0.9139, allocations: 2.422 MB / 0.68 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.9151, allocations: 162.4 kB / 0.6802 GB, free: 125.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.9218, allocations: 3.834 MB / 0.6839 GB, free: 123.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/0.9224, allocations: 1.16 MB / 0.6851 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001049/0.9235, allocations: 317.2 kB / 0.6854 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.9239, allocations: 64.61 kB / 0.6854 GB, free: 123.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9239, allocations: 3.906 kB / 0.6854 GB, free: 123.1 MB / 474.7 MB Notification: Performance of Templates: time 0.0276/0.9515, allocations: 22.33 MB / 0.7072 GB, free: 111.2 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1)