Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.001854/0.001854, 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.002373/0.002373, allocations: 207 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1938/0.1938, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") [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.002322/0.002322, allocations: 63.91 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3479, allocations: 62.47 MB / 0.5424 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.01085/0.3588, allocations: 6.269 MB / 0.5486 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003951/0.3627, allocations: 1.675 MB / 0.5502 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005995/0.3633, allocations: 31.62 kB / 0.5502 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000914/0.3642, allocations: 198.4 kB / 0.5504 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.3657, allocations: 396.2 kB / 0.5508 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008431/0.3665, allocations: 227.4 kB / 0.551 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.3684, allocations: 1.071 MB / 0.552 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005884/0.369, allocations: 303.8 kB / 0.5523 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.3701, allocations: 0.4903 MB / 0.5528 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008994/0.371, allocations: 471.2 kB / 0.5533 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.3712, allocations: 85.03 kB / 0.5533 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.3713, allocations: 84.78 kB / 0.5534 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.3717, allocations: 284.3 kB / 0.5537 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.3721, allocations: 331.3 kB / 0.554 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.3733, allocations: 1.049 MB / 0.555 GB, free: 7.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3733, allocations: 0 / 0.555 GB, free: 7.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3733, allocations: 4 kB / 0.555 GB, free: 7.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3733, allocations: 1.062 kB / 0.555 GB, free: 7.102 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00221/0.3755, allocations: 0.9647 MB / 0.556 GB, free: 6.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3756, allocations: 15.92 kB / 0.556 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.3757, allocations: 80.47 kB / 0.5561 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.377, allocations: 0.5796 MB / 0.5566 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.3772, allocations: 190.4 kB / 0.5568 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.3773, allocations: 63.94 kB / 0.5569 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.3787, allocations: 0.746 MB / 0.5576 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3787, allocations: 4 kB / 0.5576 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.3788, allocations: 24 kB / 0.5576 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.3788, allocations: 16 kB / 0.5577 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.3801, allocations: 0.5972 MB / 0.5582 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.3837, allocations: 2.152 MB / 0.5603 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.3846, allocations: 393 kB / 0.5607 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.385, allocations: 187.1 kB / 0.5609 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3851, allocations: 8.219 kB / 0.5609 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.3855, allocations: 243.4 kB / 0.5611 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.175e-06/0.3856, allocations: 0 / 0.5611 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003252/0.3888, allocations: 0.7955 MB / 0.5619 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.3889, allocations: 140.4 kB / 0.562 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.3893, allocations: 353.6 kB / 0.5624 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.3894, allocations: 29.7 kB / 0.5624 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.3897, allocations: 332.6 kB / 0.5627 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.3898, allocations: 123 kB / 0.5628 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3899, allocations: 74.12 kB / 0.5629 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3901, allocations: 358.7 kB / 0.5633 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.3904, allocations: 128.8 kB / 0.5634 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.3908, allocations: 254 kB / 0.5636 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.3924, allocations: 0.6564 MB / 0.5643 GB, free: 13.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3924, allocations: 4 kB / 0.5643 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001162/0.3936, allocations: 0.5097 MB / 0.5648 GB, free: 12.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3936, allocations: 8 kB / 0.5648 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3936, allocations: 7.938 kB / 0.5648 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/0.3941, allocations: 153.1 kB / 0.5649 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.3944, allocations: 75.91 kB / 0.565 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.3982, allocations: 2.124 MB / 0.5671 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.3986, allocations: 39.83 kB / 0.5671 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.3987, allocations: 20 kB / 0.5671 GB, free: 10.34 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004148/0.3991, allocations: 249.7 kB / 0.5674 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.3992, allocations: 43.72 kB / 0.5674 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.4005, allocations: 478.3 kB / 0.5679 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4005, allocations: 4 kB / 0.5679 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4005, allocations: 4 kB / 0.5679 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4006, allocations: 7.938 kB / 0.5679 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008679/0.4014, allocations: 0.526 MB / 0.5684 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4014, allocations: 0 / 0.5684 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.4017, allocations: 47.97 kB / 0.5684 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/0.4021, allocations: 148.7 kB / 0.5686 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.4022, allocations: 8 kB / 0.5686 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003547/0.4057, allocations: 2.102 MB / 0.5706 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4057, allocations: 4.031 kB / 0.5706 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.4075, allocations: 0.6881 MB / 0.5713 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.4077, allocations: 71.67 kB / 0.5714 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.4077, allocations: 8 kB / 0.5714 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.408, allocations: 15.98 kB / 0.5714 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.4081, allocations: 39.92 kB / 0.5714 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.4081, allocations: 16 kB / 0.5715 GB, free: 5.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003595/0.4085, allocations: 243.1 kB / 0.5717 GB, free: 5.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4085, allocations: 0 / 0.5717 GB, free: 5.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008205/0.4093, allocations: 163.8 kB / 0.5719 GB, free: 5.301 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001628/0.4095, allocations: 116.8 kB / 0.572 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.4107, allocations: 0.4946 MB / 0.5724 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.4107, allocations: 0 / 0.5724 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006864/0.4114, allocations: 327.1 kB / 0.5728 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.4121, allocations: 123.7 kB / 0.5729 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.4152, allocations: 1.261 MB / 0.5741 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.4157, allocations: 327.1 kB / 0.5744 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00028/0.416, allocations: 80.31 kB / 0.5745 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.416, allocations: 35.44 kB / 0.5745 GB, free: 2.465 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.416, allocations: 0 / 0.5745 GB, free: 2.465 MB / 414.1 MB Notification: Performance of Templates: time 0.01614/0.4322, allocations: 7.767 MB / 0.5821 GB, free: 10.84 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.475813426077366] Failed to read output from testmodel.py, exit status != 0: 0.44304000586271286 0.45918437599999995 0.08215428200000001 Calling exit ...