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.001495/0.001495, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001688/0.001688, allocations: 165 kB / 24.56 MB, free: 16 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 0.9235/0.9235, allocations: 177.1 MB / 205 MB, free: 5.289 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.2559/0.2559, allocations: 29.41 MB / 290.9 MB, free: 2.469 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.252e-06/1.252e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.377e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.005331/0.005355, allocations: 5.633 MB / 375.3 MB, free: 5.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.008105, allocations: 1.605 MB / 376.9 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004989/0.008604, allocations: 35.75 kB / 376.9 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.009168, allocations: 174.7 kB / 377.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007738/0.009942, allocations: 385.5 kB / 377.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.01051, allocations: 239.5 kB / 377.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.01185, allocations: 1.094 MB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.01226, allocations: 294.9 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.01329, allocations: 0.7094 MB / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.01393, allocations: 419 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.01406, allocations: 87.94 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.01419, allocations: 84 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.01444, allocations: 287.3 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.01472, allocations: 287.4 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006813/0.01541, allocations: 0.5996 MB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.01541, allocations: 0 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01541, allocations: 0 / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.01543, allocations: 0 / 381.5 MB, free: 15.07 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.001383/0.01681, allocations: 1.057 MB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.968e-05/0.01689, allocations: 11.98 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.01706, allocations: 132.5 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.01772, allocations: 0.5621 MB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.01788, allocations: 186.4 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.504e-05/0.01796, allocations: 68.27 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.01864, allocations: 0.5415 MB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.01866, allocations: 4 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.01869, allocations: 28 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.01871, allocations: 16 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.01912, allocations: 261.7 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.02136, allocations: 2.446 MB / 386.8 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.02185, allocations: 302.8 kB / 387.1 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.02204, allocations: 135.6 kB / 387.2 MB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.02207, allocations: 12.28 kB / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.02229, allocations: 196.5 kB / 387.4 MB, free: 8.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.02229, allocations: 0 / 387.4 MB, free: 8.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001273/0.02356, allocations: 0.5682 MB / 388 MB, free: 8.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.02362, allocations: 136.5 kB / 388.1 MB, free: 8.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.02388, allocations: 386.7 kB / 388.5 MB, free: 7.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.02391, allocations: 33.7 kB / 388.6 MB, free: 7.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.02408, allocations: 375.3 kB / 388.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.271e-05/0.02415, allocations: 127 kB / 389 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.075e-05/0.02424, allocations: 87.8 kB / 389.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.02438, allocations: 0.5274 MB / 389.7 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.02448, allocations: 64.89 kB / 389.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.02464, allocations: 232 kB / 389.9 MB, free: 6.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.02531, allocations: 373.7 kB / 390.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02531, allocations: 0 / 390.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000469/0.02578, allocations: 401.2 kB / 390.7 MB, free: 5.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.0258, allocations: 4 kB / 390.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.0258, allocations: 4 kB / 390.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.02611, allocations: 187.8 kB / 390.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.0263, allocations: 75.84 kB / 391 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.02797, allocations: 2.328 MB / 393.3 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.02815, allocations: 47.64 kB / 393.3 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.02818, allocations: 20 kB / 393.4 MB, free: 2.551 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.0001733/0.02835, allocations: 188.6 kB / 393.5 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.02841, allocations: 63.75 kB / 393.6 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005155/0.02892, allocations: 338.3 kB / 393.9 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.02893, allocations: 4 kB / 393.9 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.02893, allocations: 0 / 393.9 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.02893, allocations: 3.938 kB / 394 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.02948, allocations: 0.5826 MB / 394.5 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.02948, allocations: 0 / 394.5 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.02963, allocations: 47.91 kB / 394.6 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002389/0.02987, allocations: 171.6 kB / 394.7 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.02989, allocations: 11.98 kB / 394.8 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.03135, allocations: 2.31 MB / 397.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.03136, allocations: 3.984 kB / 397.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/0.03229, allocations: 481.9 kB / 397.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.03239, allocations: 71.62 kB / 397.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.03243, allocations: 15.98 kB / 397.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.03252, allocations: 15.94 kB / 397.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.03262, allocations: 43.91 kB / 397.7 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.03263, allocations: 12 kB / 397.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.03279, allocations: 251.1 kB / 397.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03279, allocations: 0 / 397.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004703/0.03326, allocations: 179.5 kB / 398.1 MB, free: 13.56 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.0001216/0.03338, allocations: 107.2 kB / 398.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000608/0.03399, allocations: 458.4 kB / 398.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.03399, allocations: 0 / 398.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.03428, allocations: 337.8 kB / 399 MB, free: 12.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.03468, allocations: 136.2 kB / 399.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.03665, allocations: 1.141 MB / 400.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.03677, allocations: 161.7 kB / 400.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.03694, allocations: 76.31 kB / 400.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.037, allocations: 36.5 kB / 400.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.037, allocations: 4 kB / 400.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of Templates: time 0.01109/0.04809, allocations: 7.937 MB / 408.5 MB, free: 3.211 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.183624373283237]