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.00106/0.00106, allocations: 182.2 kB / 13.64 MB, free: 1.676 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.804/1.804, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001717/0.001717, allocations: 116.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1672/0.1672, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.122e-05/4.142e-05, allocations: 4 kB / 397.5 MB, free: 1.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3294, allocations: 53.22 MB / 450.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.7656, allocations: 107.7 MB / 0.5454 GB, free: 29.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.7659, allocations: 97.12 kB / 0.5455 GB, free: 29.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07405/0.8399, allocations: 28.15 MB / 0.573 GB, free: 22.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.84, allocations: 0 / 0.573 GB, free: 22.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.532e-05/0.84, allocations: 27.44 kB / 0.573 GB, free: 22.29 MB / 378.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.003362/0.8434, allocations: 1.632 MB / 0.5746 GB, free: 21.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8435, allocations: 11.73 kB / 0.5746 GB, free: 21.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005978/0.8441, allocations: 155.9 kB / 0.5748 GB, free: 21.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/0.8483, allocations: 1.647 MB / 0.5764 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/0.8488, allocations: 0.5181 MB / 0.5769 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.849, allocations: 90.19 kB / 0.577 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.8513, allocations: 1.765 MB / 0.5787 GB, free: 19.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.8513, allocations: 3.984 kB / 0.5787 GB, free: 19.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.8514, allocations: 45.05 kB / 0.5787 GB, free: 19.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.8516, allocations: 83.95 kB / 0.5788 GB, free: 19.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.8538, allocations: 1.805 MB / 0.5806 GB, free: 19.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007919/0.8618, allocations: 5.766 MB / 0.5862 GB, free: 16.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.8637, allocations: 1.295 MB / 0.5875 GB, free: 16.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.8649, allocations: 0.9625 MB / 0.5884 GB, free: 16.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.72e-05/0.865, allocations: 16.47 kB / 0.5884 GB, free: 16.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.8665, allocations: 1.159 MB / 0.5896 GB, free: 16.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=125): time 3.807e-06/0.8665, allocations: 0 / 0.5896 GB, free: 16.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.005522/0.872, allocations: 3.829 MB / 0.5933 GB, free: 14.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.8721, allocations: 100.8 kB / 0.5934 GB, free: 14.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.8726, allocations: 437.1 kB / 0.5938 GB, free: 14.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.8727, allocations: 59.47 kB / 0.5939 GB, free: 14.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.8729, allocations: 363.5 kB / 0.5942 GB, free: 14.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.8732, allocations: 422.4 kB / 0.5946 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.8732, allocations: 28.11 kB / 0.5946 GB, free: 14.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8734, allocations: 390.4 kB / 0.595 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.8744, allocations: 0.8972 MB / 0.5959 GB, free: 13.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.8757, allocations: 1.05 MB / 0.5969 GB, free: 13.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.8768, allocations: 0.9436 MB / 0.5978 GB, free: 13.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.8768, allocations: 0 / 0.5978 GB, free: 13.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.008199/0.885, allocations: 3.799 MB / 0.6015 GB, free: 10.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.8851, allocations: 61.67 kB / 0.6016 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.8852, allocations: 7.938 kB / 0.6016 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/0.8893, allocations: 1.687 MB / 0.6033 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.8902, allocations: 163.8 kB / 0.6034 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.9061, allocations: 10.88 MB / 0.614 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.9078, allocations: 203.8 kB / 0.6142 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/0.908, allocations: 59.95 kB / 0.6143 GB, free: 13.55 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * 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%) 2} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.000374/0.9084, allocations: 196.5 kB / 0.6145 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.9086, allocations: 82.95 kB / 0.6146 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.9121, allocations: 2.013 MB / 0.6165 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/0.9122, allocations: 27.98 kB / 0.6166 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9122, allocations: 7.938 kB / 0.6166 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.9122, allocations: 3.984 kB / 0.6166 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/0.9184, allocations: 3.761 MB / 0.6202 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.9184, allocations: 4 kB / 0.6202 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01151/0.9299, allocations: 2.818 MB / 0.623 GB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.9301, allocations: 44.83 kB / 0.623 GB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003734/0.9305, allocations: 31.97 kB / 0.6231 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.9318, allocations: 1.482 MB / 0.6245 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.9318, allocations: 3.938 kB / 0.6245 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/0.9372, allocations: 3.422 MB / 0.6279 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007891/0.938, allocations: 355.8 kB / 0.6282 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.9383, allocations: 87.91 kB / 0.6283 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.9397, allocations: 239.7 kB / 0.6285 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/0.9401, allocations: 196.7 kB / 0.6287 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.9403, allocations: 40.16 kB / 0.6287 GB, free: 14.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005099/0.9408, allocations: 337.5 kB / 0.6291 GB, free: 14.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.9408, allocations: 3.938 kB / 0.6291 GB, free: 14.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001555/0.9424, allocations: 379.8 kB / 0.6294 GB, free: 13.67 MB / 410.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]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004807/0.9428, allocations: 227.9 kB / 0.6296 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00503/0.9479, allocations: 2.72 MB / 0.6323 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9479, allocations: 4.062 kB / 0.6323 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005333/0.9532, allocations: 2.093 MB / 0.6343 GB, free: 8.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.9542, allocations: 161.3 kB / 0.6345 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006178/0.9604, allocations: 2.943 MB / 0.6374 GB, free: 5.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/0.9613, allocations: 1.163 MB / 0.6385 GB, free: 4.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001181/0.9625, allocations: 302.8 kB / 0.6388 GB, free: 3.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.9629, allocations: 75.41 kB / 0.6389 GB, free: 3.859 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.9629, allocations: 0 / 0.6389 GB, free: 3.859 MB / 410.7 MB Notification: Performance of Templates: time 0.03394/0.9968, allocations: 22.38 MB / 0.6607 GB, free: 13.46 MB / 442.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)