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.001021/0.001021, allocations: 178.5 kB / 17.4 MB, free: 4.414 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.398/1.398, allocations: 194.5 MB / 212.6 MB, free: 2.945 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.001598/0.001598, allocations: 116.5 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1766/0.1766, allocations: 38.03 MB / 341.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 12 kB / 405 MB, free: 68.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1004, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.4581, allocations: 107.8 MB / 0.5528 GB, free: 3.453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.4584, allocations: 109.4 kB / 0.5529 GB, free: 3.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07882/0.5373, allocations: 28.15 MB / 0.5804 GB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5373, allocations: 0 / 0.5804 GB, free: 10.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.01e-05/0.5374, allocations: 20 kB / 0.5804 GB, free: 10.88 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.004116/0.5415, allocations: 1.742 MB / 0.5821 GB, free: 9.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5415, allocations: 8.031 kB / 0.5821 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007455/0.5423, allocations: 163.6 kB / 0.5823 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/0.546, allocations: 1.305 MB / 0.5836 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007013/0.5467, allocations: 0.5207 MB / 0.5841 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/0.547, allocations: 89.73 kB / 0.5842 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/0.551, allocations: 2.104 MB / 0.5862 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.551, allocations: 11.94 kB / 0.5862 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.5512, allocations: 40.78 kB / 0.5863 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.5514, allocations: 88.12 kB / 0.5864 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004772/0.5561, allocations: 2.372 MB / 0.5887 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009439/0.5656, allocations: 5.747 MB / 0.5943 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004215/0.5699, allocations: 1.804 MB / 0.596 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002519/0.5724, allocations: 1.295 MB / 0.5973 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-05/0.5725, allocations: 20.92 kB / 0.5973 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002929/0.5755, allocations: 1.494 MB / 0.5988 GB, free: 11.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=125): time 3.767e-06/0.5755, allocations: 0 / 0.5988 GB, free: 11.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.014/0.5895, allocations: 6.34 MB / 0.605 GB, free: 5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.5896, allocations: 102.1 kB / 0.6051 GB, free: 4.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.5903, allocations: 489.9 kB / 0.6055 GB, free: 4.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.5905, allocations: 61.69 kB / 0.6056 GB, free: 4.328 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.5908, allocations: 360.7 kB / 0.6059 GB, free: 3.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/0.5912, allocations: 426 kB / 0.6064 GB, free: 3.547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.472e-05/0.5913, allocations: 20 kB / 0.6064 GB, free: 3.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.5916, allocations: 398.7 kB / 0.6068 GB, free: 3.129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.5936, allocations: 1.099 MB / 0.6078 GB, free: 2.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.5958, allocations: 1.266 MB / 0.6091 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.5999, allocations: 2.215 MB / 0.6112 GB, free: 14.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5999, allocations: 0 / 0.6112 GB, free: 14.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01105/0.611, allocations: 4.429 MB / 0.6155 GB, free: 9.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.6111, allocations: 61.67 kB / 0.6156 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.6112, allocations: 0 / 0.6156 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005662/0.6168, allocations: 2.11 MB / 0.6177 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.6179, allocations: 171.6 kB / 0.6178 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/0.6457, allocations: 13.54 MB / 0.6311 GB, free: 9.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.6475, allocations: 195.9 kB / 0.6312 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004243/0.648, allocations: 71.92 kB / 0.6313 GB, free: 9.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 () * Number of clocked 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.001208/0.6492, allocations: 369.6 kB / 0.6317 GB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/0.6496, allocations: 90.98 kB / 0.6317 GB, free: 9.117 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006414/0.656, allocations: 2.657 MB / 0.6343 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-05/0.6561, allocations: 31.98 kB / 0.6344 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6561, allocations: 0 / 0.6344 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.6561, allocations: 11.97 kB / 0.6344 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009042/0.6652, allocations: 4.399 MB / 0.6387 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.6652, allocations: 128 / 0.6387 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01059/0.6758, allocations: 2.837 MB / 0.6414 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.6761, allocations: 32.84 kB / 0.6415 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004335/0.6765, allocations: 35.97 kB / 0.6415 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.678, allocations: 1.49 MB / 0.643 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.678, allocations: 4.031 kB / 0.643 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.6881, allocations: 4.296 MB / 0.6472 GB, free: 8.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007772/0.6889, allocations: 343.9 kB / 0.6475 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/0.6893, allocations: 87.94 kB / 0.6476 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.6908, allocations: 239.7 kB / 0.6478 GB, free: 8.305 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/0.6912, allocations: 192.6 kB / 0.648 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.6914, allocations: 39.97 kB / 0.648 GB, free: 8.078 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005513/0.6919, allocations: 342.8 kB / 0.6484 GB, free: 7.742 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.442e-06/0.6919, allocations: 192 / 0.6484 GB, free: 7.742 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001767/0.6937, allocations: 383.8 kB / 0.6487 GB, free: 7.367 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 (108): * Single equations (assignments): 90 * 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.0006046/0.6943, allocations: 240.6 kB / 0.649 GB, free: 7.125 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007087/0.7014, allocations: 3.247 MB / 0.6521 GB, free: 3.836 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.7015, allocations: 0 / 0.6521 GB, free: 3.836 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006449/0.7079, allocations: 2.421 MB / 0.6545 GB, free: 1.398 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.7095, allocations: 173.8 kB / 0.6547 GB, free: 1.227 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008635/0.7182, allocations: 3.956 MB / 0.6585 GB, free: 13.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.7193, allocations: 1.144 MB / 0.6596 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001302/0.7206, allocations: 310.8 kB / 0.6599 GB, free: 11.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/0.7211, allocations: 67.42 kB / 0.66 GB, free: 11.67 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7211, allocations: 0 / 0.66 GB, free: 11.67 MB / 474.7 MB Notification: Performance of Templates: time 0.2604/0.9815, allocations: 22.31 MB / 0.6818 GB, free: 145.7 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)