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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006405/0.0006405, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008852/0.001526, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007176/0.0007176, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009645/0.001682, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8764/0.8764, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07843/0.9549, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1294/0.1294, allocations: 29.43 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1115/0.2409, allocations: 9.522 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.333e-06/8.415e-06, allocations: 6.969 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.004919/0.004927, allocations: 5.912 MB / 290.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.008606, allocations: 2.451 MB / 292.8 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.008914, allocations: 36.62 kB / 292.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.00951, allocations: 266 kB / 293.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009825/0.01049, allocations: 0.6056 MB / 293.7 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008608/0.01135, allocations: 0.5146 MB / 294.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.01297, allocations: 2.009 MB / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.01365, allocations: 0.627 MB / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.01487, allocations: 1.167 MB / 298 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009535/0.01582, allocations: 0.8847 MB / 298.9 MB, free: 180 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.01601, allocations: 140 kB / 299 MB, free: 40 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008302/0.01684, allocations: 0.6435 MB / 299.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006236/0.01747, allocations: 0.5535 MB / 300.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.01787, allocations: 371.3 kB / 300.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.01908, allocations: 1.282 MB / 301.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.01909, allocations: 4 kB / 301.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.01909, allocations: 0 / 301.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.01911, allocations: 0 / 301.9 MB, free: 13.19 MB / 298.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.002593/0.0217, allocations: 1.826 MB / 303.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.02173, allocations: 8.031 kB / 303.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007376/0.02247, allocations: 345.6 kB / 304 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.02331, allocations: 0.6276 MB / 304.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005435/0.02385, allocations: 1.093 MB / 305.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.02406, allocations: 107.9 kB / 305.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.02542, allocations: 1.011 MB / 306.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.02544, allocations: 4 kB / 306.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.02555, allocations: 39.98 kB / 306.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.02567, allocations: 77.95 kB / 307 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.02679, allocations: 0.5278 MB / 307.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004608/0.0314, allocations: 3.33 MB / 310.8 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.03244, allocations: 0.5801 MB / 311.4 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.03288, allocations: 279.5 kB / 311.7 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.305e-05/0.03296, allocations: 21 kB / 311.7 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007489/0.0337, allocations: 0.6093 MB / 312.3 MB, free: 2.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=123): time 2.505e-06/0.03371, allocations: 4 kB / 312.3 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.00298/0.03669, allocations: 1.715 MB / 314.1 MB, free: 496 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.03673, allocations: 94.11 kB / 314.1 MB, free: 380 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.03722, allocations: 383.2 kB / 314.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/0.03731, allocations: 53.64 kB / 314.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.03747, allocations: 330.3 kB / 314.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.03774, allocations: 420.3 kB / 315.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.03805, allocations: 206.8 kB / 315.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.03818, allocations: 402.5 kB / 315.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.03861, allocations: 299.1 kB / 316.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.03909, allocations: 434.8 kB / 316.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000872/0.03997, allocations: 0.7029 MB / 317.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.03997, allocations: 0 / 317.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003479/0.04345, allocations: 1.559 MB / 318.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.0435, allocations: 55.25 kB / 318.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.04351, allocations: 7.938 kB / 318.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003637/0.04715, allocations: 1.592 MB / 320.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.04775, allocations: 203.7 kB / 320.7 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006642/0.05439, allocations: 3.267 MB / 324 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.05489, allocations: 83.92 kB / 324.1 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.05501, allocations: 63.92 kB / 324.1 MB, free: 6.098 MB / 314.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 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.05529, allocations: 192.4 kB / 324.3 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.05549, allocations: 95.91 kB / 324.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.05659, allocations: 0.742 MB / 325.2 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/0.05662, allocations: 31.97 kB / 325.2 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.05663, allocations: 3.938 kB / 325.2 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.05664, allocations: 3.984 kB / 325.2 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.05896, allocations: 1.627 MB / 326.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.05896, allocations: 0 / 326.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005525/0.06449, allocations: 1.583 MB / 328.4 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.06503, allocations: 195.3 kB / 328.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.06504, allocations: 8 kB / 328.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-05/0.06513, allocations: 27.97 kB / 328.6 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.06513, allocations: 12.06 kB / 328.6 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.06514, allocations: 7.922 kB / 328.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.06676, allocations: 1.214 MB / 329.9 MB, free: 236 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.06693, allocations: 79.94 kB / 329.9 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.06746, allocations: 95.91 kB / 330 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.06768, allocations: 100.8 kB / 330.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/0.06777, allocations: 31.97 kB / 330.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.0679, allocations: 152.6 kB / 330.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0679, allocations: 4 kB / 330.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006039/0.06851, allocations: 351.9 kB / 330.7 MB, free: 15.43 MB / 330.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 (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002345/0.06874, allocations: 213.8 kB / 330.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.07011, allocations: 1.215 MB / 332.1 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/0.07013, allocations: 12 kB / 332.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.07154, allocations: 0.852 MB / 333 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.07228, allocations: 1.152 MB / 334.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.08192, allocations: 2.343 MB / 336.5 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.08211, allocations: 281.8 kB / 336.7 MB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.08243, allocations: 110.7 kB / 336.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.08292, allocations: 209.3 kB / 337 MB, free: 8.73 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.08292, allocations: 0 / 337 MB, free: 8.73 MB / 330.7 MB Notification: Performance of Templates: time 0.02179/0.1047, allocations: 24.29 MB / 361.3 MB, free: 0.6406 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.03219654224813]