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.00142/0.00142, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001839/0.001839, allocations: 170.4 kB / 24.82 MB, free: 9.273 MB / 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 0.9711/0.9711, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.29/0.29, allocations: 29.42 MB / 291.2 MB, free: 2.379 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 2.184e-06/2.184e-06, allocations: 0 / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.454e-05, allocations: 9.266 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.007149/0.007183, allocations: 5.571 MB / 375.7 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.01018, allocations: 1.585 MB / 377.3 MB, free: 3.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/0.01104, allocations: 31.75 kB / 377.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.01174, allocations: 186.6 kB / 377.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009966/0.01274, allocations: 385.5 kB / 377.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.01332, allocations: 231.5 kB / 378.1 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009746/0.01429, allocations: 1.098 MB / 379.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.01465, allocations: 294.9 kB / 379.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007567/0.0154, allocations: 0.7094 MB / 380.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.01584, allocations: 426.9 kB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-05/0.01593, allocations: 80 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.01604, allocations: 84.05 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.01625, allocations: 287.2 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.01644, allocations: 287.4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.01698, allocations: 0.6035 MB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.01698, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.01698, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.01699, allocations: 4 kB / 381.9 MB, free: 14.82 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.001215/0.0182, allocations: 1.033 MB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.01825, allocations: 11.98 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.01841, allocations: 128.5 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.01899, allocations: 0.5543 MB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.01911, allocations: 194.4 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.01918, allocations: 60.33 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.01969, allocations: 0.5023 MB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.01971, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.01974, allocations: 24 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.01976, allocations: 20 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.02003, allocations: 214.7 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.02204, allocations: 2.341 MB / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.02245, allocations: 290.6 kB / 387.3 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.0226, allocations: 115.6 kB / 387.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.02263, allocations: 4.281 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.02284, allocations: 196.4 kB / 387.6 MB, free: 8.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.663e-06/0.02284, allocations: 0 / 387.6 MB, free: 8.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001228/0.02407, allocations: 0.5055 MB / 388.1 MB, free: 8.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.02415, allocations: 136.7 kB / 388.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.02447, allocations: 390.4 kB / 388.6 MB, free: 7.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.02451, allocations: 37.7 kB / 388.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.02474, allocations: 375.3 kB / 389 MB, free: 7.363 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.396e-05/0.02484, allocations: 122.9 kB / 389.1 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.02495, allocations: 91.75 kB / 389.2 MB, free: 7.141 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.02515, allocations: 0.5312 MB / 389.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.02523, allocations: 48.95 kB / 389.8 MB, free: 6.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.02541, allocations: 211.8 kB / 390 MB, free: 6.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.02575, allocations: 349.4 kB / 390.3 MB, free: 5.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.02576, allocations: 0 / 390.3 MB, free: 5.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004434/0.0262, allocations: 365.4 kB / 390.7 MB, free: 5.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.02623, allocations: 4 kB / 390.7 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.02624, allocations: 4 kB / 390.7 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/0.02657, allocations: 175.6 kB / 390.9 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.02674, allocations: 79.84 kB / 391 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.0284, allocations: 2.286 MB / 393.2 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.02856, allocations: 39.77 kB / 393.3 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.02858, allocations: 12 kB / 393.3 MB, free: 2.793 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.0001672/0.02875, allocations: 199.3 kB / 393.5 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.0288, allocations: 55.66 kB / 393.5 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.02925, allocations: 310.4 kB / 393.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.02925, allocations: 8 kB / 393.8 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.02925, allocations: 0 / 393.8 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.02926, allocations: 0 / 393.8 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.02973, allocations: 0.4972 MB / 394.3 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.02974, allocations: 0 / 394.3 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.02987, allocations: 44.02 kB / 394.4 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.03012, allocations: 179.5 kB / 394.6 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.03014, allocations: 11.98 kB / 394.6 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.03154, allocations: 2.271 MB / 396.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.03154, allocations: 4 kB / 396.9 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.03208, allocations: 438.1 kB / 397.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.03218, allocations: 67.62 kB / 397.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.03221, allocations: 8 kB / 397.4 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.0323, allocations: 19.92 kB / 397.4 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.03237, allocations: 31.94 kB / 397.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.03239, allocations: 12 kB / 397.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.03252, allocations: 243 kB / 397.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03252, allocations: 4 kB / 397.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004755/0.03299, allocations: 175.5 kB / 397.8 MB, free: 14.04 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.0001252/0.03312, allocations: 111.2 kB / 397.9 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004681/0.03359, allocations: 430.4 kB / 398.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03359, allocations: 0 / 398.4 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.03383, allocations: 329.1 kB / 398.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.03421, allocations: 125.9 kB / 398.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.03589, allocations: 1.14 MB / 399.9 MB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.03601, allocations: 169.7 kB / 400.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.03615, allocations: 52.36 kB / 400.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.03634, allocations: 174.1 kB / 400.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03635, allocations: 4 kB / 400.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of Templates: time 0.01053/0.04688, allocations: 8.125 MB / 408.5 MB, free: 3.434 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.3118990012444556]