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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 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.1777/0.1777, allocations: 38.53 MB / 344.5 MB, free: 2.551 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00247/0.00247, allocations: 75.88 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3382, allocations: 61.24 MB / 0.5306 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.007592/0.3458, allocations: 7.106 MB / 0.5375 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.3495, allocations: 2.04 MB / 0.5395 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.3498, allocations: 29.31 kB / 0.5395 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.3513, allocations: 0.5067 MB / 0.54 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.3526, allocations: 0.5619 MB / 0.5406 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.3534, allocations: 398.4 kB / 0.5409 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.3549, allocations: 1.398 MB / 0.5423 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.3557, allocations: 0.5646 MB / 0.5429 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009219/0.3566, allocations: 0.6499 MB / 0.5435 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009642/0.3576, allocations: 0.7256 MB / 0.5442 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.3577, allocations: 97.59 kB / 0.5443 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009366/0.3586, allocations: 0.5411 MB / 0.5448 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006435/0.3593, allocations: 0.5045 MB / 0.5453 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007469/0.36, allocations: 0.562 MB / 0.5459 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.3622, allocations: 1.536 MB / 0.5474 GB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3622, allocations: 0 / 0.5474 GB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3622, allocations: 1.25 kB / 0.5474 GB, free: 9.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.3622, allocations: 3.938 kB / 0.5474 GB, free: 9.727 MB / 398.1 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.003444/0.3657, allocations: 1.61 MB / 0.5489 GB, free: 8.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3657, allocations: 14.55 kB / 0.549 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008054/0.3665, allocations: 161.8 kB / 0.5491 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.3678, allocations: 0.7294 MB / 0.5498 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.368, allocations: 181 kB / 0.55 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.3683, allocations: 103 kB / 0.5501 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.3713, allocations: 1.528 MB / 0.5516 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.3713, allocations: 2.125 kB / 0.5516 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.3714, allocations: 41.86 kB / 0.5516 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.3716, allocations: 70.34 kB / 0.5517 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.3739, allocations: 1.17 MB / 0.5528 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006909/0.3808, allocations: 4.786 MB / 0.5575 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.3837, allocations: 1.074 MB / 0.5586 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.385, allocations: 0.511 MB / 0.5591 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.3851, allocations: 16.55 kB / 0.5591 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.3866, allocations: 0.7104 MB / 0.5598 GB, free: 14.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.524e-06/0.3866, allocations: 4 kB / 0.5598 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=81): time 0.007414/0.394, allocations: 3.227 MB / 0.5629 GB, free: 10.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.3941, allocations: 123.5 kB / 0.563 GB, free: 10.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/0.3949, allocations: 0.5889 MB / 0.5636 GB, free: 10.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/0.395, allocations: 49.69 kB / 0.5637 GB, free: 10.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.3954, allocations: 460.3 kB / 0.5641 GB, free: 9.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.3957, allocations: 289.7 kB / 0.5644 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/0.396, allocations: 198.5 kB / 0.5646 GB, free: 9.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.3963, allocations: 394.7 kB / 0.5649 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007693/0.397, allocations: 490 kB / 0.5654 GB, free: 8.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.398, allocations: 0.7499 MB / 0.5661 GB, free: 7.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.3998, allocations: 1.246 MB / 0.5674 GB, free: 6.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3998, allocations: 0 / 0.5674 GB, free: 6.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002622/0.4024, allocations: 1.588 MB / 0.5689 GB, free: 4.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.423e-05/0.4025, allocations: 70.3 kB / 0.569 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002068/0.4046, allocations: 1.32 MB / 0.5703 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004077/0.405, allocations: 113.6 kB / 0.5704 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/0.4058, allocations: 207.7 kB / 0.5706 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.4092, allocations: 3.357 MB / 0.5739 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.41, allocations: 71.92 kB / 0.5739 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.4101, allocations: 75.89 kB / 0.574 GB, free: 14.96 MB / 430.1 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.0007381/0.4109, allocations: 388.2 kB / 0.5744 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.411, allocations: 79.48 kB / 0.5744 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.4139, allocations: 1.274 MB / 0.5757 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.4139, allocations: 12 kB / 0.5757 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4139, allocations: 0 / 0.5757 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.4139, allocations: 11.92 kB / 0.5757 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004528/0.4185, allocations: 2.428 MB / 0.5781 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4185, allocations: 96 / 0.5781 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.4192, allocations: 147.8 kB / 0.5782 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.4193, allocations: 44.77 kB / 0.5783 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.449e-05/0.4194, allocations: 19.98 kB / 0.5783 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.4208, allocations: 1.638 MB / 0.5799 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.4208, allocations: 4.031 kB / 0.5799 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/0.4247, allocations: 1.917 MB / 0.5818 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.4252, allocations: 252.4 kB / 0.582 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.4254, allocations: 79.94 kB / 0.5821 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007175/0.4261, allocations: 87.88 kB / 0.5822 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.4262, allocations: 56.52 kB / 0.5822 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.277e-05/0.4263, allocations: 31.97 kB / 0.5822 GB, free: 6.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005172/0.4268, allocations: 402.8 kB / 0.5826 GB, free: 5.777 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4268, allocations: 8 kB / 0.5826 GB, free: 5.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009353/0.4278, allocations: 236 kB / 0.5829 GB, free: 5.539 MB / 430.1 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.0002995/0.4281, allocations: 175 kB / 0.583 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002583/0.4306, allocations: 1.494 MB / 0.5845 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4306, allocations: 0 / 0.5845 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.4319, allocations: 0.6167 MB / 0.5851 GB, free: 3.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.4327, allocations: 166.8 kB / 0.5852 GB, free: 3.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.4368, allocations: 2.366 MB / 0.5876 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.4376, allocations: 1.118 MB / 0.5886 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.4382, allocations: 238.5 kB / 0.5889 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.4384, allocations: 67.42 kB / 0.5889 GB, free: 15.18 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4384, allocations: 0 / 0.5889 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Templates: time 0.02033/0.4588, allocations: 11.74 MB / 0.6004 GB, free: 3.52 MB / 446.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.073005030862987]