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.001819/0.001819, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002272/0.002272, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.1824/0.1824, allocations: 38.52 MB / 353.2 MB, free: 12.55 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.001988/0.001988, allocations: 71.16 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 62.47 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008335/0.3169, allocations: 6.778 MB / 0.5498 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.32, allocations: 1.792 MB / 0.5516 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.3203, allocations: 31.47 kB / 0.5516 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.321, allocations: 229.6 kB / 0.5518 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008485/0.3218, allocations: 385.2 kB / 0.5522 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.3223, allocations: 230.3 kB / 0.5524 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.3235, allocations: 1.074 MB / 0.5535 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.324, allocations: 316.4 kB / 0.5538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007676/0.3248, allocations: 491.6 kB / 0.5542 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007501/0.3255, allocations: 0.4977 MB / 0.5547 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3256, allocations: 89.19 kB / 0.5548 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.3258, allocations: 84.34 kB / 0.5549 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.3261, allocations: 280.4 kB / 0.5552 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.3265, allocations: 403.2 kB / 0.5556 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.3277, allocations: 1.041 MB / 0.5566 GB, free: 6.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3277, allocations: 1.031 kB / 0.5566 GB, free: 6.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3277, allocations: 0 / 0.5566 GB, free: 6.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3277, allocations: 0 / 0.5566 GB, free: 6.492 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.001986/0.3297, allocations: 0.9662 MB / 0.5575 GB, free: 5.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3297, allocations: 16.86 kB / 0.5575 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.3299, allocations: 88.45 kB / 0.5576 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.3311, allocations: 0.5796 MB / 0.5582 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.3313, allocations: 186.4 kB / 0.5584 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.3314, allocations: 63.94 kB / 0.5584 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.3327, allocations: 0.7538 MB / 0.5592 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3327, allocations: 3.938 kB / 0.5592 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.3327, allocations: 27.98 kB / 0.5592 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.3328, allocations: 12 kB / 0.5592 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.3339, allocations: 0.6089 MB / 0.5598 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.3374, allocations: 2.405 MB / 0.5621 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/0.3383, allocations: 400.9 kB / 0.5625 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/0.3387, allocations: 183.1 kB / 0.5627 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.3387, allocations: 8.281 kB / 0.5627 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.3392, allocations: 243.3 kB / 0.5629 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.134e-06/0.3392, allocations: 0 / 0.5629 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002982/0.3422, allocations: 0.7955 MB / 0.5637 GB, free: 15.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.3423, allocations: 144.5 kB / 0.5639 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.3427, allocations: 401.9 kB / 0.5642 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.3428, allocations: 29.7 kB / 0.5643 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.343, allocations: 328.8 kB / 0.5646 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3431, allocations: 119 kB / 0.5647 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.3432, allocations: 86.08 kB / 0.5648 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3434, allocations: 350.8 kB / 0.5651 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.3437, allocations: 132.8 kB / 0.5652 GB, free: 13.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.3441, allocations: 252.8 kB / 0.5655 GB, free: 13.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.3456, allocations: 0.6603 MB / 0.5661 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3456, allocations: 0 / 0.5661 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001082/0.3467, allocations: 0.5177 MB / 0.5666 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3467, allocations: 8 kB / 0.5666 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3467, allocations: 7.984 kB / 0.5666 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004404/0.3472, allocations: 144.9 kB / 0.5668 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.3474, allocations: 79.84 kB / 0.5669 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.3509, allocations: 2.172 MB / 0.569 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.3512, allocations: 47.72 kB / 0.569 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.3513, allocations: 23.98 kB / 0.569 GB, free: 9.426 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.0003367/0.3516, allocations: 245.7 kB / 0.5693 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.3517, allocations: 51.66 kB / 0.5693 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.3529, allocations: 471.8 kB / 0.5698 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.3529, allocations: 7.938 kB / 0.5698 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3529, allocations: 7.938 kB / 0.5698 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.3529, allocations: 3.984 kB / 0.5698 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008384/0.3538, allocations: 0.6464 MB / 0.5704 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3538, allocations: 3.969 kB / 0.5704 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.354, allocations: 51.92 kB / 0.5705 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.3544, allocations: 144.8 kB / 0.5706 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.3545, allocations: 7.984 kB / 0.5706 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.3577, allocations: 2.148 MB / 0.5727 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3577, allocations: 4.031 kB / 0.5727 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.3593, allocations: 0.6908 MB / 0.5734 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.3595, allocations: 71.67 kB / 0.5735 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.3596, allocations: 8 kB / 0.5735 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.3598, allocations: 27.91 kB / 0.5735 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3599, allocations: 39.94 kB / 0.5735 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.3599, allocations: 8 kB / 0.5736 GB, free: 4.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.3602, allocations: 287.1 kB / 0.5738 GB, free: 4.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3602, allocations: 0 / 0.5738 GB, free: 4.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000622/0.3609, allocations: 163.6 kB / 0.574 GB, free: 4.148 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.000125/0.361, allocations: 110 kB / 0.5741 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.362, allocations: 0.4912 MB / 0.5746 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.362, allocations: 0 / 0.5746 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.3625, allocations: 330.7 kB / 0.5749 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.3632, allocations: 160.6 kB / 0.575 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.3655, allocations: 1.318 MB / 0.5763 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/0.366, allocations: 0.925 MB / 0.5772 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-05/0.3661, allocations: 43.42 kB / 0.5773 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3661, allocations: 3.938 kB / 0.5773 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of Templates: time 0.0148/0.3809, allocations: 10.36 MB / 0.5874 GB, free: 6.359 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: 8.620792100206017] Failed to read output from testmodel.py, exit status != 0: 0.39001611014828086 0.40464368700000003 0.07386962300000001 Calling exit ...