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.001048/0.001048, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.0009995/0.0009995, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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.057/1.057, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.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.2353/0.2353, allocations: 29.42 MB / 290.9 MB, free: 2.5 MB / 266.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.333e-06/1.333e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.212e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.005196/0.005218, allocations: 5.628 MB / 375.3 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.006915, allocations: 1.605 MB / 376.9 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.007161, allocations: 31.75 kB / 376.9 MB, free: 3.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.007618, allocations: 178.7 kB / 377.1 MB, free: 3.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.008105, allocations: 389.5 kB / 377.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.008408, allocations: 235.5 kB / 377.7 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007032/0.009111, allocations: 1.094 MB / 378.8 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.009435, allocations: 294.9 kB / 379.1 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.01002, allocations: 0.647 MB / 379.7 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.01051, allocations: 450.9 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.0106, allocations: 88 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.01069, allocations: 84 kB / 380.3 MB, free: 240 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.0109, allocations: 299.2 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.01112, allocations: 287.4 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.01164, allocations: 0.6152 MB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.01165, allocations: 0 / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01165, allocations: 0 / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.01165, allocations: 0 / 381.5 MB, free: 15.04 MB / 362.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.001193/0.01285, allocations: 1.053 MB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.01288, allocations: 15.98 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.01303, allocations: 128.5 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/0.01375, allocations: 0.6089 MB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.01389, allocations: 190.4 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.01396, allocations: 64.31 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.01462, allocations: 0.5337 MB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.01463, allocations: 7.969 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.01467, allocations: 24 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.01469, allocations: 16 kB / 384.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.01511, allocations: 269.7 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.01704, allocations: 2.407 MB / 386.8 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.01748, allocations: 314.7 kB / 387.1 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.01766, allocations: 131.6 kB / 387.3 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.01769, allocations: 4.281 kB / 387.3 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.01791, allocations: 196.5 kB / 387.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.463e-06/0.01791, allocations: 0 / 387.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001176/0.01908, allocations: 0.5408 MB / 388 MB, free: 8.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.01914, allocations: 136.5 kB / 388.1 MB, free: 8.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.0194, allocations: 390.6 kB / 388.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.01943, allocations: 37.7 kB / 388.5 MB, free: 7.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.0196, allocations: 371.3 kB / 388.9 MB, free: 7.277 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.01967, allocations: 127 kB / 389 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.046e-05/0.01976, allocations: 83.86 kB / 389.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01991, allocations: 0.5312 MB / 389.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.02001, allocations: 64.94 kB / 389.7 MB, free: 6.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.02018, allocations: 235.9 kB / 389.9 MB, free: 6.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.02055, allocations: 373.7 kB / 390.3 MB, free: 5.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.02056, allocations: 0 / 390.3 MB, free: 5.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000461/0.02102, allocations: 397.1 kB / 390.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.02103, allocations: 4 kB / 390.7 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.02104, allocations: 4 kB / 390.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.02126, allocations: 120 kB / 390.8 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.02144, allocations: 83.83 kB / 390.9 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.02295, allocations: 2.297 MB / 393.2 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.02309, allocations: 55.53 kB / 393.2 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.02311, allocations: 16 kB / 393.3 MB, free: 2.633 MB / 362.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.0001429/0.02325, allocations: 187.5 kB / 393.4 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.0233, allocations: 59.7 kB / 393.5 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/0.02378, allocations: 330.3 kB / 393.8 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.02378, allocations: 11.98 kB / 393.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02378, allocations: 0 / 393.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02379, allocations: 4 kB / 393.8 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.02423, allocations: 0.567 MB / 394.4 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02423, allocations: 3.938 kB / 394.4 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.02436, allocations: 43.92 kB / 394.5 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.02451, allocations: 111.6 kB / 394.6 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.02453, allocations: 4 kB / 394.6 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.02585, allocations: 2.294 MB / 396.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/0.02585, allocations: 8.016 kB / 396.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.02645, allocations: 481.8 kB / 397.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.02654, allocations: 71.61 kB / 397.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.02656, allocations: 8 kB / 397.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.02666, allocations: 15.92 kB / 397.4 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.02674, allocations: 39.94 kB / 397.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.02676, allocations: 15.98 kB / 397.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.02691, allocations: 247.1 kB / 397.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02691, allocations: 0 / 397.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.02726, allocations: 171.6 kB / 397.9 MB, free: 13.76 MB / 378.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 0.0001023/0.02736, allocations: 107.2 kB / 398 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.02789, allocations: 450.4 kB / 398.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.02789, allocations: 0 / 398.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/0.02815, allocations: 345.8 kB / 398.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.02854, allocations: 131.8 kB / 398.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.0303, allocations: 1.137 MB / 400 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.03041, allocations: 169.7 kB / 400.2 MB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.03055, allocations: 80.31 kB / 400.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.03061, allocations: 32.5 kB / 400.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03061, allocations: 0 / 400.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of Templates: time 0.009233/0.03985, allocations: 6.98 MB / 407.3 MB, free: 4.383 MB / 378.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: 3.3092761510051787]