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.002179/0.002179, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002598/0.002598, allocations: 211.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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.611/1.611, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1863/0.1863, allocations: 38.57 MB / 352.5 MB, free: 12.4 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 70.38 kB / 493 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3669, allocations: 62.46 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.01011/0.377, allocations: 6.616 MB / 0.5489 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004555/0.3816, allocations: 1.948 MB / 0.5508 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.382, allocations: 41.81 kB / 0.5508 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.3837, allocations: 499.9 kB / 0.5513 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.3855, allocations: 0.5684 MB / 0.5519 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.3869, allocations: 408.1 kB / 0.5523 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.3889, allocations: 1.406 MB / 0.5536 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.3899, allocations: 0.5903 MB / 0.5542 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.3912, allocations: 0.6573 MB / 0.5549 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.3924, allocations: 0.6915 MB / 0.5555 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.3926, allocations: 99.19 kB / 0.5556 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.394, allocations: 0.5226 MB / 0.5561 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007515/0.3948, allocations: 0.5026 MB / 0.5566 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007998/0.3956, allocations: 481.9 kB / 0.5571 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.3977, allocations: 1.553 MB / 0.5586 GB, free: 3.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3977, allocations: 3.938 kB / 0.5586 GB, free: 3.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3977, allocations: 0 / 0.5586 GB, free: 3.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.3978, allocations: 0 / 0.5586 GB, free: 3.629 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.00328/0.401, allocations: 1.518 MB / 0.5601 GB, free: 2.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4011, allocations: 19.98 kB / 0.5601 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.4021, allocations: 192.1 kB / 0.5603 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.4036, allocations: 0.6692 MB / 0.5609 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/0.404, allocations: 329.8 kB / 0.5613 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.4042, allocations: 103.9 kB / 0.5614 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.4071, allocations: 1.532 MB / 0.5629 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.4071, allocations: 7.891 kB / 0.5629 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.4073, allocations: 47.97 kB / 0.5629 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.4074, allocations: 69.97 kB / 0.563 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.4098, allocations: 1.159 MB / 0.5641 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006946/0.4168, allocations: 4.31 MB / 0.5683 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.4198, allocations: 0.9862 MB / 0.5693 GB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.4211, allocations: 0.5188 MB / 0.5698 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.4211, allocations: 8.656 kB / 0.5698 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/0.4227, allocations: 0.7107 MB / 0.5705 GB, free: 7.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.945e-06/0.4227, allocations: 3.938 kB / 0.5705 GB, free: 7.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=81): time 0.007864/0.4305, allocations: 2.995 MB / 0.5734 GB, free: 4.031 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.4307, allocations: 123.5 kB / 0.5735 GB, free: 3.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007892/0.4314, allocations: 0.5142 MB / 0.574 GB, free: 3.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.4316, allocations: 53.69 kB / 0.5741 GB, free: 3.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005569/0.4321, allocations: 476.2 kB / 0.5745 GB, free: 2.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.4324, allocations: 281.7 kB / 0.5748 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.4328, allocations: 206.5 kB / 0.575 GB, free: 2.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002801/0.433, allocations: 382.7 kB / 0.5754 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008866/0.4339, allocations: 0.5193 MB / 0.5759 GB, free: 1.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.435, allocations: 0.7904 MB / 0.5766 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.4368, allocations: 1.25 MB / 0.5779 GB, free: 15.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.4368, allocations: 4 kB / 0.5779 GB, free: 15.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002787/0.4396, allocations: 1.546 MB / 0.5794 GB, free: 13.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.821e-05/0.4397, allocations: 57.69 kB / 0.5794 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002125/0.4418, allocations: 1.27 MB / 0.5807 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/0.4423, allocations: 118 kB / 0.5808 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000787/0.4431, allocations: 203.6 kB / 0.581 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00382/0.4469, allocations: 3.092 MB / 0.584 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009305/0.4478, allocations: 75.92 kB / 0.5841 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.448, allocations: 75.94 kB / 0.5841 GB, free: 8.461 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.0008296/0.4488, allocations: 373.6 kB / 0.5845 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.4491, allocations: 75.53 kB / 0.5846 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.4523, allocations: 1.19 MB / 0.5857 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/0.4523, allocations: 16 kB / 0.5858 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4523, allocations: 0 / 0.5858 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.4523, allocations: 3.984 kB / 0.5858 GB, free: 6.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/0.457, allocations: 2.106 MB / 0.5878 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.4571, allocations: 3.938 kB / 0.5878 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/0.4578, allocations: 143.8 kB / 0.588 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.4579, allocations: 36.83 kB / 0.588 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.458, allocations: 27.97 kB / 0.588 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.4595, allocations: 1.504 MB / 0.5895 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4595, allocations: 0 / 0.5895 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004271/0.4638, allocations: 1.841 MB / 0.5913 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/0.4643, allocations: 167.4 kB / 0.5914 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.4645, allocations: 75.94 kB / 0.5915 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/0.4653, allocations: 91.88 kB / 0.5916 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.4654, allocations: 52.55 kB / 0.5917 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/0.4655, allocations: 35.97 kB / 0.5917 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004598/0.4659, allocations: 334.8 kB / 0.592 GB, free: 204 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4659, allocations: 0 / 0.592 GB, free: 204 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001115/0.4671, allocations: 236 kB / 0.5922 GB, free: 15.96 MB / 446.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.0003701/0.4674, allocations: 191 kB / 0.5924 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002904/0.4703, allocations: 1.519 MB / 0.5939 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.4703, allocations: 0 / 0.5939 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.4717, allocations: 0.6121 MB / 0.5945 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008596/0.4726, allocations: 149 kB / 0.5946 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.4772, allocations: 2.342 MB / 0.5969 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.4778, allocations: 0.5153 MB / 0.5974 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006378/0.4785, allocations: 225.9 kB / 0.5976 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.4787, allocations: 59.42 kB / 0.5977 GB, free: 10.23 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4787, allocations: 4 kB / 0.5977 GB, free: 10.22 MB / 446.1 MB Notification: Performance of Templates: time 0.02261/0.5013, allocations: 11.22 MB / 0.6087 GB, free: 15.12 MB / 462.1 MB " [Timeout remaining time 659] 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.564590156078339] Failed to read output from testmodel.py, exit status != 0: 0.5116322003304958 0.528306173 0.127035052 Calling exit ...