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.0006529/0.0006529, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008712/0.001524, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006807/0.0006807, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000875/0.001556, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8945/0.8945, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08503/0.9795, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.1123/0.1123, allocations: 29.42 MB / 273.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1294/0.2417, allocations: 9.532 MB / 283.1 MB, free: 12.81 MB / 282.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.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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.708e-05, allocations: 3.156 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.006843/0.00686, allocations: 5.684 MB / 290.1 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.009371, allocations: 1.663 MB / 291.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.009677, allocations: 30.78 kB / 291.8 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.01016, allocations: 178 kB / 292 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.01081, allocations: 378.3 kB / 292.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.01125, allocations: 236.2 kB / 292.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.01228, allocations: 1.095 MB / 293.7 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.01272, allocations: 306 kB / 294 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.0137, allocations: 0.7428 MB / 294.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005453/0.01425, allocations: 401.6 kB / 295.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.01436, allocations: 81.75 kB / 295.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.0145, allocations: 84 kB / 295.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.01481, allocations: 267.4 kB / 295.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.01508, allocations: 235.6 kB / 295.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006653/0.01575, allocations: 0.5645 MB / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.01576, allocations: 0 / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01576, allocations: 0 / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.01577, allocations: 0 / 296.3 MB, free: 2.738 MB / 282.7 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.001432/0.01721, allocations: 1.037 MB / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.01724, allocations: 16.02 kB / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.0174, allocations: 100.9 kB / 297.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.01806, allocations: 446.3 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.01821, allocations: 194.3 kB / 298.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.01829, allocations: 64.36 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.01896, allocations: 0.4958 MB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.01897, allocations: 0 / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.01902, allocations: 28 kB / 298.7 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.01905, allocations: 16 kB / 298.7 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.01943, allocations: 197.6 kB / 298.9 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.02143, allocations: 1.742 MB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.02176, allocations: 305.1 kB / 300.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.02188, allocations: 95.17 kB / 301 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.0219, allocations: 4.281 kB / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.02211, allocations: 182.7 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.412e-06/0.02211, allocations: 4 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009748/0.02309, allocations: 455.5 kB / 301.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.02314, allocations: 140.5 kB / 301.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.0233, allocations: 319.4 kB / 302.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.02332, allocations: 33.7 kB / 302.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.02343, allocations: 293.2 kB / 302.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.02349, allocations: 126.9 kB / 302.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.02357, allocations: 78.12 kB / 302.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.02365, allocations: 362.6 kB / 303 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.02372, allocations: 47.81 kB / 303 MB, free: 11.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.02382, allocations: 163.8 kB / 303.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.02413, allocations: 310.3 kB / 303.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.02413, allocations: 4 kB / 303.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003859/0.02451, allocations: 317.6 kB / 303.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.02453, allocations: 11.94 kB / 303.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.02454, allocations: 8 kB / 303.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.02476, allocations: 159.7 kB / 304 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.02495, allocations: 91.83 kB / 304.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.02639, allocations: 1.735 MB / 305.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.02659, allocations: 51.66 kB / 305.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.02662, allocations: 12 kB / 305.9 MB, free: 8.656 MB / 298.7 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.0001266/0.02675, allocations: 146.4 kB / 306 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.0268, allocations: 43.89 kB / 306 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.0272, allocations: 262.4 kB / 306.3 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.0272, allocations: 4 kB / 306.3 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.0272, allocations: 4 kB / 306.3 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02721, allocations: 0 / 306.3 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.02755, allocations: 411.6 kB / 306.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02756, allocations: 4 kB / 306.7 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.02778, allocations: 47.97 kB / 306.8 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.02789, allocations: 51.69 kB / 306.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/0.02813, allocations: 175.5 kB / 307 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.02815, allocations: 15.98 kB / 307 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.02934, allocations: 1.709 MB / 308.7 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.02934, allocations: 0 / 308.7 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.02978, allocations: 387.6 kB / 309.1 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.02981, allocations: 8 kB / 309.1 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.0299, allocations: 11.98 kB / 309.1 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.02996, allocations: 39.94 kB / 309.1 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.02998, allocations: 12 kB / 309.2 MB, free: 5.168 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.07e-05/0.03006, allocations: 124.7 kB / 309.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03006, allocations: 0 / 309.3 MB, free: 5.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.03035, allocations: 171.6 kB / 309.4 MB, free: 4.875 MB / 298.7 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 8.753e-05/0.03044, allocations: 97.75 kB / 309.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.0308, allocations: 356.2 kB / 309.9 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/0.03081, allocations: 11.88 kB / 309.9 MB, free: 4.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.03103, allocations: 272.5 kB / 310.2 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.03163, allocations: 1.272 MB / 311.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007638/0.03927, allocations: 1.135 MB / 312.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.03937, allocations: 169.7 kB / 312.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.0395, allocations: 52.36 kB / 312.8 MB, free: 1.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.03968, allocations: 149.3 kB / 312.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.03968, allocations: 0 / 312.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of Templates: time 0.009811/0.04949, allocations: 8.396 MB / 321.3 MB, free: 8.801 MB / 314.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6633065240457654]