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.001442/0.001442, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001484/0.001484, allocations: 161 kB / 24.56 MB, free: 16 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 0.9721/0.9721, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.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.242/0.242, allocations: 29.42 MB / 290.9 MB, free: 2.492 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 2.024e-06/2.024e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.135e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.005415/0.005436, allocations: 6.036 MB / 375.7 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.00805, allocations: 2.017 MB / 377.7 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.008355, allocations: 35.69 kB / 377.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009261/0.009281, allocations: 230.5 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.01065, allocations: 0.5672 MB / 378.5 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.01161, allocations: 435 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.01327, allocations: 1.402 MB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007691/0.01404, allocations: 0.5922 MB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.01512, allocations: 0.8222 MB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.01595, allocations: 0.6664 MB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.01607, allocations: 100 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007411/0.01682, allocations: 0.5148 MB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.01725, allocations: 0.5377 MB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.01759, allocations: 411 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.01871, allocations: 1.141 MB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.01871, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01871, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.01873, allocations: 0 / 385.1 MB, free: 11.43 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.001948/0.02068, allocations: 1.614 MB / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.02072, allocations: 15.98 kB / 386.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006626/0.02138, allocations: 300 kB / 387.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/0.02222, allocations: 0.6674 MB / 387.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.02239, allocations: 329.8 kB / 388 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.02255, allocations: 104.7 kB / 388.1 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.02406, allocations: 1.009 MB / 389.2 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.02409, allocations: 3.938 kB / 389.2 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.02416, allocations: 32 kB / 389.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.02427, allocations: 73.97 kB / 389.3 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007697/0.02503, allocations: 463.4 kB / 389.7 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004781/0.02982, allocations: 4.848 MB / 394.6 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.03059, allocations: 469.5 kB / 395 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.03096, allocations: 240.1 kB / 395.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.031, allocations: 16.66 kB / 395.3 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004864/0.03149, allocations: 426.2 kB / 395.7 MB, free: 420 kB / 362.7 MB Notification: Performance of pre-optimization done (n=80): time 2.124e-06/0.03149, allocations: 0 / 395.7 MB, free: 420 kB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.002627/0.03412, allocations: 1.745 MB / 397.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.03417, allocations: 123.5 kB / 397.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.03457, allocations: 0.5297 MB / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.03462, allocations: 53.69 kB / 398.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.03489, allocations: 0.5068 MB / 398.6 MB, free: 13.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.03504, allocations: 281.8 kB / 398.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.03524, allocations: 212.2 kB / 399.1 MB, free: 12.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.0354, allocations: 0.5664 MB / 399.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.03571, allocations: 255.8 kB / 399.9 MB, free: 12.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.03616, allocations: 0.6313 MB / 400.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/0.03688, allocations: 0.8521 MB / 401.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.03688, allocations: 3.938 kB / 401.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001175/0.03806, allocations: 1.076 MB / 402.5 MB, free: 9.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.03811, allocations: 61.62 kB / 402.6 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007984/0.0389, allocations: 0.7483 MB / 403.3 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.03916, allocations: 107.2 kB / 403.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.03958, allocations: 203.7 kB / 403.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.04133, allocations: 3.869 MB / 407.5 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.04162, allocations: 63.94 kB / 407.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.0417, allocations: 71.94 kB / 407.6 MB, free: 3.727 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.000264/0.04196, allocations: 248.2 kB / 407.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.0421, allocations: 103.5 kB / 408 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008723/0.04297, allocations: 0.6585 MB / 408.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.04299, allocations: 23.98 kB / 408.6 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.04299, allocations: 4 kB / 408.6 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.043, allocations: 3.984 kB / 408.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.04473, allocations: 1.605 MB / 410.3 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.04473, allocations: 0 / 410.3 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.04508, allocations: 139.8 kB / 410.4 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.844e-05/0.04515, allocations: 31.67 kB / 410.4 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.0452, allocations: 35.91 kB / 410.5 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008308/0.04603, allocations: 2.008 MB / 412.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.04603, allocations: 0 / 412.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.04711, allocations: 1.005 MB / 413.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.04731, allocations: 159.4 kB / 413.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.756e-05/0.04741, allocations: 75.88 kB / 413.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.04765, allocations: 59.92 kB / 413.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.04775, allocations: 60.55 kB / 413.8 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.04778, allocations: 31.97 kB / 413.8 MB, free: 13.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003923/0.04818, allocations: 318.8 kB / 414.2 MB, free: 12.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04818, allocations: 4 kB / 414.2 MB, free: 12.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005316/0.04871, allocations: 236 kB / 414.4 MB, free: 12.7 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.0002132/0.04892, allocations: 182.7 kB / 414.6 MB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.05, allocations: 1.118 MB / 415.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.05, allocations: 0 / 415.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.05061, allocations: 447.5 kB / 416.1 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.05127, allocations: 158.1 kB / 416.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.05467, allocations: 1.853 MB / 418.1 MB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.0549, allocations: 255.5 kB / 418.4 MB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004561/0.05536, allocations: 177.8 kB / 418.6 MB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.05557, allocations: 68.48 kB / 418.6 MB, free: 8.301 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.05557, allocations: 0 / 418.6 MB, free: 8.301 MB / 394.7 MB Notification: Performance of Templates: time 0.01363/0.0692, allocations: 10.12 MB / 428.7 MB, free: 14.32 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: 4.148605571128428]