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.001552/0.001553, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.508/1.508, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008589/0.0008589, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1713/0.1713, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.581e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09559, allocations: 56.32 MB / 474.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/0.4449, allocations: 112.8 MB / 0.5731 GB, free: 6.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4452, allocations: 97.31 kB / 0.5732 GB, free: 6.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0833/0.5285, allocations: 28.19 MB / 0.6007 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5285, allocations: 0 / 0.6007 GB, free: 13.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.085e-05/0.5286, allocations: 24 kB / 0.6007 GB, free: 13.68 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004138/0.5327, allocations: 1.631 MB / 0.6023 GB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5328, allocations: 8.031 kB / 0.6023 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/0.5336, allocations: 158.6 kB / 0.6025 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007595/0.5412, allocations: 1.643 MB / 0.6041 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001147/0.5424, allocations: 0.5191 MB / 0.6046 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005357/0.5429, allocations: 90.12 kB / 0.6047 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004574/0.5475, allocations: 1.776 MB / 0.6064 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.5476, allocations: 0 / 0.6064 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.5478, allocations: 37.5 kB / 0.6064 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002722/0.5481, allocations: 80.39 kB / 0.6065 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005082/0.5532, allocations: 1.81 MB / 0.6083 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.5705, allocations: 5.747 MB / 0.6139 GB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/0.5747, allocations: 1.296 MB / 0.6152 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.5772, allocations: 0.9633 MB / 0.6161 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.5774, allocations: 15.81 kB / 0.6161 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002875/0.5803, allocations: 1.158 MB / 0.6172 GB, free: 396 kB / 410.7 MB Notification: Performance of pre-optimization done (n=125): time 5.771e-06/0.5803, allocations: 0 / 0.6172 GB, free: 396 kB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.01152/0.5918, allocations: 3.824 MB / 0.621 GB, free: 12.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.592, allocations: 102 kB / 0.6211 GB, free: 12.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.5929, allocations: 439.8 kB / 0.6215 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.5931, allocations: 57.69 kB / 0.6215 GB, free: 11.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/0.5936, allocations: 360.8 kB / 0.6219 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006087/0.5942, allocations: 429.9 kB / 0.6223 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.5944, allocations: 24 kB / 0.6223 GB, free: 11.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.5947, allocations: 390.7 kB / 0.6227 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.5969, allocations: 0.9007 MB / 0.6236 GB, free: 9.793 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.5991, allocations: 1.048 MB / 0.6246 GB, free: 8.711 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.6014, allocations: 0.9393 MB / 0.6255 GB, free: 7.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.6014, allocations: 4 kB / 0.6255 GB, free: 7.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01658/0.618, allocations: 3.808 MB / 0.6292 GB, free: 3.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.6182, allocations: 61.92 kB / 0.6293 GB, free: 3.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.6183, allocations: 8 kB / 0.6293 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008649/0.6269, allocations: 1.68 MB / 0.6309 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.6285, allocations: 171.7 kB / 0.6311 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03145/0.66, allocations: 10.88 MB / 0.6417 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.6626, allocations: 203.8 kB / 0.6419 GB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/0.663, allocations: 63.95 kB / 0.642 GB, free: 6.574 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 () * 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.0005388/0.6635, allocations: 188.8 kB / 0.6422 GB, free: 6.387 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.6639, allocations: 79.05 kB / 0.6422 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005526/0.6694, allocations: 2.029 MB / 0.6442 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.735e-05/0.6695, allocations: 35.98 kB / 0.6443 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6695, allocations: 0 / 0.6443 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.6695, allocations: 3.984 kB / 0.6443 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009253/0.6788, allocations: 3.778 MB / 0.648 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.6789, allocations: 7.938 kB / 0.648 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01978/0.6987, allocations: 2.822 MB / 0.6507 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.699, allocations: 40.83 kB / 0.6508 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004025/0.6994, allocations: 35.97 kB / 0.6508 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.701, allocations: 1.474 MB / 0.6522 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.701, allocations: 0 / 0.6522 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/0.7062, allocations: 3.426 MB / 0.6556 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/0.7069, allocations: 347.9 kB / 0.6559 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.7072, allocations: 83.94 kB / 0.656 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.7086, allocations: 243.7 kB / 0.6562 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/0.7091, allocations: 192.6 kB / 0.6564 GB, free: 7.387 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.7092, allocations: 39.97 kB / 0.6564 GB, free: 7.348 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004659/0.7097, allocations: 345.5 kB / 0.6568 GB, free: 7.008 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7097, allocations: 0 / 0.6568 GB, free: 7.008 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001367/0.7111, allocations: 375.9 kB / 0.6571 GB, free: 6.641 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]) * 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.0004682/0.7115, allocations: 233.3 kB / 0.6574 GB, free: 6.406 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004555/0.7161, allocations: 2.728 MB / 0.66 GB, free: 3.637 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7161, allocations: 4 kB / 0.66 GB, free: 3.633 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00542/0.7215, allocations: 2.089 MB / 0.6621 GB, free: 1.527 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.7226, allocations: 162.1 kB / 0.6622 GB, free: 1.371 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005916/0.7285, allocations: 2.931 MB / 0.6651 GB, free: 14.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.7294, allocations: 1.171 MB / 0.6662 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001141/0.7305, allocations: 310.8 kB / 0.6665 GB, free: 12.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.7309, allocations: 67.42 kB / 0.6666 GB, free: 12.81 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7309, allocations: 0 / 0.6666 GB, free: 12.81 MB / 474.7 MB Notification: Performance of Templates: time 0.03209/0.763, allocations: 22.4 MB / 0.6885 GB, free: 6.402 MB / 490.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)