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/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.0008559/0.0008559, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.00086/0.00086, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 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.9966/0.9966, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2561/0.2561, allocations: 29.43 MB / 291.2 MB, free: 2.48 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|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=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.933e-05, allocations: 4.328 kB / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005955/0.005974, allocations: 5.803 MB / 322.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.00945, allocations: 2.439 MB / 325.1 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.009821, allocations: 35.69 kB / 325.1 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.01054, allocations: 334 kB / 325.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009518/0.01149, allocations: 0.6062 MB / 326.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.01229, allocations: 0.5222 MB / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.01374, allocations: 1.953 MB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008788/0.01462, allocations: 0.5878 MB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.01627, allocations: 1.111 MB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009789/0.01725, allocations: 0.8653 MB / 331.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.01743, allocations: 144 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008302/0.01826, allocations: 0.6396 MB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004689/0.01873, allocations: 0.6548 MB / 332.5 MB, free: 252 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005429/0.01927, allocations: 483 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.02088, allocations: 1.468 MB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02089, allocations: 0 / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.02089, allocations: 0 / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.02091, allocations: 0 / 334.5 MB, free: 14.3 MB / 314.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.00239/0.02329, allocations: 1.58 MB / 336 MB, free: 12.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.02335, allocations: 19.97 kB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007136/0.02406, allocations: 260.7 kB / 336.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.02489, allocations: 0.6391 MB / 337 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005781/0.02547, allocations: 1.09 MB / 338.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.02567, allocations: 100.5 kB / 338.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.02699, allocations: 1.019 MB / 339.2 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.02702, allocations: 0 / 339.2 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.931e-05/0.02711, allocations: 32 kB / 339.2 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.02724, allocations: 85.95 kB / 339.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007904/0.02803, allocations: 0.5317 MB / 339.8 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/0.03231, allocations: 3.338 MB / 343.2 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/0.03325, allocations: 0.5794 MB / 343.7 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.03363, allocations: 279.5 kB / 344 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-05/0.0337, allocations: 21 kB / 344 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006443/0.03434, allocations: 0.6029 MB / 344.6 MB, free: 3.672 MB / 314.7 MB Notification: Performance of pre-optimization done (n=123): time 2.555e-06/0.03435, allocations: 4 kB / 344.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=124): time 0.002656/0.037, allocations: 1.66 MB / 346.3 MB, free: 1.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.03706, allocations: 106.2 kB / 346.4 MB, free: 1.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.03733, allocations: 379 kB / 346.8 MB, free: 1.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.607e-05/0.03741, allocations: 61.69 kB / 346.8 MB, free: 1.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.03759, allocations: 326.4 kB / 347.1 MB, free: 1.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.03783, allocations: 428.2 kB / 347.6 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.03809, allocations: 206.8 kB / 347.8 MB, free: 464 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.03822, allocations: 394.5 kB / 348.2 MB, free: 60 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.03858, allocations: 299 kB / 348.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.03896, allocations: 430.8 kB / 348.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.03965, allocations: 0.6943 MB / 349.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.03965, allocations: 0 / 349.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002745/0.04239, allocations: 1.547 MB / 351.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.04245, allocations: 61.67 kB / 351.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.04246, allocations: 0 / 351.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/0.04526, allocations: 1.584 MB / 352.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.04568, allocations: 171.7 kB / 352.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/0.05088, allocations: 3.235 MB / 356.2 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.05145, allocations: 83.92 kB / 356.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.05156, allocations: 67.88 kB / 356.3 MB, free: 7.676 MB / 330.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.0004211/0.05199, allocations: 196.4 kB / 356.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.0522, allocations: 87.92 kB / 356.6 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.05311, allocations: 0.7497 MB / 357.3 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/0.05314, allocations: 31.98 kB / 357.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.05314, allocations: 0 / 357.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.05315, allocations: 3.984 kB / 357.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.05525, allocations: 1.615 MB / 359 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.05526, allocations: 4 kB / 359 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/0.05859, allocations: 1.319 MB / 360.3 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.05861, allocations: 11.94 kB / 360.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.438e-05/0.05868, allocations: 31.97 kB / 360.3 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.05869, allocations: 11.98 kB / 360.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.05869, allocations: 3.938 kB / 360.4 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.06006, allocations: 1.2 MB / 361.6 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.06037, allocations: 203.2 kB / 361.8 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.06051, allocations: 75.94 kB / 361.8 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.06092, allocations: 99.89 kB / 361.9 MB, free: 1.918 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.06108, allocations: 96.81 kB / 362 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.06114, allocations: 31.97 kB / 362.1 MB, free: 1.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.06127, allocations: 152.7 kB / 362.2 MB, free: 1.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06127, allocations: 0 / 362.2 MB, free: 1.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009297/0.0622, allocations: 347.9 kB / 362.5 MB, free: 1.301 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.0003586/0.06255, allocations: 210 kB / 362.7 MB, free: 1.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.06452, allocations: 1.21 MB / 364 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.06453, allocations: 4 kB / 364 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.06592, allocations: 0.7197 MB / 364.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.06655, allocations: 214 kB / 364.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.07013, allocations: 2.338 MB / 367.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.07035, allocations: 281.9 kB / 367.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003856/0.07073, allocations: 114.7 kB / 367.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.07124, allocations: 213.3 kB / 367.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.07124, allocations: 0 / 367.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of Templates: time 0.02485/0.0961, allocations: 23.87 MB / 391.7 MB, free: 4.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.3510497589595616]