Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001034/0.001034, allocations: 182.3 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.589/1.589, allocations: 194.3 MB / 208.4 MB, free: 6.742 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.001584/0.001584, allocations: 124.7 kB / 253.5 MB, free: 9.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1653/0.1653, allocations: 37.91 MB / 336.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.545e-05, allocations: 4 kB / 397.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3094, allocations: 53.21 MB / 450.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4165/0.726, allocations: 107.4 MB / 0.545 GB, free: 29.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.7264, allocations: 91.72 kB / 0.5451 GB, free: 29.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05856/0.7849, allocations: 24.02 MB / 0.5686 GB, free: 24.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.785, allocations: 0 / 0.5686 GB, free: 24.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.217e-05/0.785, allocations: 23.5 kB / 0.5686 GB, free: 24.43 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002277/0.7873, allocations: 1.325 MB / 0.5699 GB, free: 23.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.7874, allocations: 11.62 kB / 0.5699 GB, free: 23.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.7881, allocations: 164.2 kB / 0.5701 GB, free: 23.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.7917, allocations: 1.385 MB / 0.5714 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.7918, allocations: 169.5 kB / 0.5716 GB, free: 22.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.792, allocations: 105.7 kB / 0.5717 GB, free: 22.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.7939, allocations: 1.421 MB / 0.5731 GB, free: 22.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.794, allocations: 4 kB / 0.5731 GB, free: 22.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.893e-05/0.7941, allocations: 43.83 kB / 0.5731 GB, free: 22.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.268e-05/0.7941, allocations: 60.12 kB / 0.5732 GB, free: 22.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.7955, allocations: 1.033 MB / 0.5742 GB, free: 22.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/0.8008, allocations: 4.784 MB / 0.5789 GB, free: 19.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.802, allocations: 0.8964 MB / 0.5797 GB, free: 18.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.8026, allocations: 497.8 kB / 0.5802 GB, free: 18.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.8027, allocations: 12.14 kB / 0.5802 GB, free: 18.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007481/0.8034, allocations: 0.637 MB / 0.5808 GB, free: 18.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.296e-06/0.8034, allocations: 0 / 0.5808 GB, free: 18.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.003237/0.8067, allocations: 2.381 MB / 0.5832 GB, free: 17.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.8067, allocations: 126.3 kB / 0.5833 GB, free: 17.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.8073, allocations: 0.5114 MB / 0.5838 GB, free: 17.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.8073, allocations: 48.33 kB / 0.5838 GB, free: 17.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.8076, allocations: 448.5 kB / 0.5843 GB, free: 16.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.8078, allocations: 287.1 kB / 0.5845 GB, free: 16.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.8078, allocations: 18.31 kB / 0.5846 GB, free: 16.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.8079, allocations: 386.5 kB / 0.5849 GB, free: 16.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.8085, allocations: 0.4918 MB / 0.5854 GB, free: 16.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/0.8091, allocations: 0.7672 MB / 0.5862 GB, free: 16.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006861/0.8098, allocations: 0.6459 MB / 0.5868 GB, free: 15.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8098, allocations: 3.906 kB / 0.5868 GB, free: 15.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002021/0.8119, allocations: 1.602 MB / 0.5884 GB, free: 15.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/0.8119, allocations: 67.92 kB / 0.5884 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001578/0.8135, allocations: 1.359 MB / 0.5897 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003457/0.8139, allocations: 102.3 kB / 0.5898 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.8146, allocations: 193.3 kB / 0.59 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.8164, allocations: 2.983 MB / 0.5929 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.8171, allocations: 76.09 kB / 0.593 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.8172, allocations: 67.7 kB / 0.5931 GB, free: 12.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.ac_dc.modulator.gates[1],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 108 * Array equations: 2 * 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: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.8175, allocations: 192.2 kB / 0.5933 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.8176, allocations: 78.02 kB / 0.5933 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.8192, allocations: 1.105 MB / 0.5944 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.8192, allocations: 15.41 kB / 0.5944 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8192, allocations: 0 / 0.5944 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.8192, allocations: 7.859 kB / 0.5944 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.8222, allocations: 2.296 MB / 0.5967 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.8222, allocations: 0 / 0.5967 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/0.8229, allocations: 143.2 kB / 0.5968 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.218e-05/0.823, allocations: 27.7 kB / 0.5968 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.499e-05/0.823, allocations: 26.53 kB / 0.5969 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006299/0.8237, allocations: 1.397 MB / 0.5982 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8237, allocations: 3.938 kB / 0.5982 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.8257, allocations: 1.737 MB / 0.5999 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.8261, allocations: 246.9 kB / 0.6002 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.8263, allocations: 81.41 kB / 0.6002 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.827, allocations: 112.3 kB / 0.6004 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.8271, allocations: 54.73 kB / 0.6004 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.8272, allocations: 28.42 kB / 0.6004 GB, free: 8.465 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004431/0.8277, allocations: 390.4 kB / 0.6008 GB, free: 8.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8277, allocations: 0 / 0.6008 GB, free: 8.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009184/0.8286, allocations: 252.4 kB / 0.601 GB, free: 8.332 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 61 * Array equations: 2 * 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.0002915/0.8289, allocations: 195.2 kB / 0.6012 GB, free: 8.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.8307, allocations: 1.583 MB / 0.6028 GB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8308, allocations: 0 / 0.6028 GB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000648/0.8314, allocations: 0.5764 MB / 0.6033 GB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.8321, allocations: 156.8 kB / 0.6035 GB, free: 7.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.8347, allocations: 1.893 MB / 0.6053 GB, free: 6.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.8352, allocations: 1.13 MB / 0.6064 GB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005952/0.8358, allocations: 238.5 kB / 0.6067 GB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.836, allocations: 63.42 kB / 0.6067 GB, free: 4.551 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.836, allocations: 0 / 0.6067 GB, free: 4.551 MB / 378.7 MB Notification: Performance of Templates: time 0.01679/0.8528, allocations: 9.992 MB / 0.6165 GB, free: 10.58 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1)