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/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.001879/0.001879, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003259/0.003259, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3254/0.3254, allocations: 29.4 MB / 290.5 MB, free: 2.43 MB / 266.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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.883e-05, allocations: 5.406 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.01046/0.01049, allocations: 6.952 MB / 375.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004664/0.01516, allocations: 2.002 MB / 377.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.0156, allocations: 35.69 kB / 377.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.01708, allocations: 0.5014 MB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.01855, allocations: 0.5711 MB / 378.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.01971, allocations: 438.8 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.02176, allocations: 1.406 MB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009607/0.02272, allocations: 0.592 MB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.02414, allocations: 0.8416 MB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.02533, allocations: 0.6625 MB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.02552, allocations: 100 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.02662, allocations: 0.5303 MB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006572/0.02728, allocations: 0.5338 MB / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000605/0.02788, allocations: 403.1 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.03018, allocations: 1.613 MB / 386 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.03018, allocations: 0 / 386 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.03019, allocations: 0 / 386 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.03021, allocations: 0 / 386 MB, free: 10.08 MB / 362.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.003563/0.03377, allocations: 1.684 MB / 387.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.03381, allocations: 11.98 kB / 387.7 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.03511, allocations: 304 kB / 388 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.0367, allocations: 0.6634 MB / 388.7 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.03702, allocations: 333.8 kB / 389 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.03729, allocations: 104.7 kB / 389.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.0396, allocations: 1.133 MB / 390.3 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.03964, allocations: 4 kB / 390.3 MB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.03975, allocations: 43.97 kB / 390.3 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/0.03993, allocations: 65.97 kB / 390.4 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.04151, allocations: 0.597 MB / 391 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007883/0.04939, allocations: 5.133 MB / 396.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.05129, allocations: 0.5795 MB / 396.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/0.05217, allocations: 285.2 kB / 397 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.277e-05/0.05223, allocations: 16.66 kB / 397 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.05336, allocations: 0.5059 MB / 397.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.094e-06/0.05336, allocations: 4 kB / 397.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.005505/0.05886, allocations: 1.991 MB / 399.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.05897, allocations: 123.5 kB / 399.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008715/0.05984, allocations: 0.6507 MB / 400.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.302e-05/0.05992, allocations: 49.7 kB / 400.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.06045, allocations: 0.5302 MB / 400.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/0.0608, allocations: 309.6 kB / 401.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/0.06123, allocations: 260.2 kB / 401.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004357/0.06167, allocations: 0.6055 MB / 402 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007131/0.06238, allocations: 279.9 kB / 402.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.06339, allocations: 0.6896 MB / 403 MB, free: 8.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.0649, allocations: 0.9379 MB / 403.9 MB, free: 7.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.0649, allocations: 4 kB / 403.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002383/0.06728, allocations: 1.134 MB / 405 MB, free: 6.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.06737, allocations: 58.38 kB / 405.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001629/0.069, allocations: 0.7912 MB / 405.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.06949, allocations: 95.3 kB / 406 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.07032, allocations: 215.6 kB / 406.2 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.07499, allocations: 3.935 MB / 410.1 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.07612, allocations: 63.89 kB / 410.2 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003272/0.07645, allocations: 83.92 kB / 410.3 MB, free: 0.6445 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,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008594/0.0773, allocations: 276.3 kB / 410.5 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.07772, allocations: 99.56 kB / 410.6 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.08, allocations: 0.7639 MB / 411.4 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/0.08003, allocations: 15.98 kB / 411.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.08004, allocations: 0 / 411.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.08005, allocations: 7.984 kB / 411.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/0.08431, allocations: 1.836 MB / 413.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.08431, allocations: 0 / 413.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.08511, allocations: 143.8 kB / 413.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.08526, allocations: 39.73 kB / 413.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.705e-05/0.08534, allocations: 31.92 kB / 413.5 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.08712, allocations: 2.035 MB / 415.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.08712, allocations: 7.938 kB / 415.5 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.09022, allocations: 1.215 MB / 416.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/0.09075, allocations: 147.4 kB / 416.9 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.09099, allocations: 79.94 kB / 416.9 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.09159, allocations: 59.92 kB / 417 MB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.09176, allocations: 60.55 kB / 417.1 MB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/0.09184, allocations: 31.97 kB / 417.1 MB, free: 9.559 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005442/0.09238, allocations: 370.8 kB / 417.5 MB, free: 9.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09238, allocations: 0 / 417.5 MB, free: 9.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00107/0.09345, allocations: 239.9 kB / 417.7 MB, free: 8.961 MB / 394.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]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004432/0.0939, allocations: 182.6 kB / 417.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002674/0.09657, allocations: 1.23 MB / 419.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.09657, allocations: 0 / 419.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.09767, allocations: 0.5087 MB / 419.6 MB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009414/0.09861, allocations: 167.4 kB / 419.8 MB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.1026, allocations: 1.892 MB / 421.7 MB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/0.1033, allocations: 491.8 kB / 422.1 MB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005998/0.1039, allocations: 185.8 kB / 422.3 MB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.1042, allocations: 60.48 kB / 422.4 MB, free: 4.102 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1042, allocations: 0 / 422.4 MB, free: 4.102 MB / 394.7 MB Notification: Performance of Templates: time 0.02275/0.1269, allocations: 10.1 MB / 432.5 MB, free: 10.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.187393601052463]