Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0009921/0.0009921, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009954/0.0009954, allocations: 161 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.007/1.007, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2229/0.2229, allocations: 29.41 MB / 290.9 MB, free: 2.496 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=1000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.035e-05, allocations: 5.688 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.005753/0.005784, allocations: 5.629 MB / 375.3 MB, free: 5.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.008144, allocations: 1.608 MB / 376.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.008475, allocations: 31.75 kB / 376.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.009058, allocations: 178.7 kB / 377.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006746/0.009733, allocations: 385.5 kB / 377.4 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.01013, allocations: 239.5 kB / 377.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008338/0.01096, allocations: 1.094 MB / 378.8 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.01131, allocations: 298.9 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006935/0.012, allocations: 0.647 MB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.01251, allocations: 450.9 kB / 380.1 MB, free: 420 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.0126, allocations: 84 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.0127, allocations: 84 kB / 380.3 MB, free: 252 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.01292, allocations: 299.2 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.01315, allocations: 287.4 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.01373, allocations: 0.6113 MB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01373, allocations: 0 / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.0002772/0.01401, allocations: 3.984 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.01402, allocations: 0 / 381.5 MB, free: 15.05 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.001229/0.01525, allocations: 1.057 MB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.01529, allocations: 11.98 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.01543, allocations: 128.5 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.01617, allocations: 0.6089 MB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.0163, allocations: 190.4 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.01637, allocations: 68.31 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.01701, allocations: 0.5376 MB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.01702, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.01706, allocations: 23.98 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.01708, allocations: 16 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.01749, allocations: 265.7 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.01947, allocations: 2.407 MB / 386.8 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.01993, allocations: 306.7 kB / 387.1 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.02013, allocations: 143.7 kB / 387.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.02016, allocations: 8.281 kB / 387.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.02038, allocations: 196.5 kB / 387.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.363e-06/0.02039, allocations: 0 / 387.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00121/0.0216, allocations: 0.5368 MB / 388 MB, free: 8.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.02166, allocations: 140.5 kB / 388.1 MB, free: 8.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.02192, allocations: 394.8 kB / 388.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002851/0.02221, allocations: 33.7 kB / 388.5 MB, free: 7.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.02238, allocations: 375.3 kB / 388.9 MB, free: 7.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.02246, allocations: 123 kB / 389 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.02255, allocations: 83.86 kB / 389.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.02269, allocations: 0.5351 MB / 389.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.02279, allocations: 60.97 kB / 389.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.02296, allocations: 223.9 kB / 389.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.02333, allocations: 381.4 kB / 390.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.02333, allocations: 0 / 390.3 MB, free: 5.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004591/0.02379, allocations: 401.4 kB / 390.7 MB, free: 5.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.02381, allocations: 8 kB / 390.7 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.02382, allocations: 4 kB / 390.7 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.02406, allocations: 115.7 kB / 390.8 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.02423, allocations: 83.83 kB / 390.9 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.02578, allocations: 2.298 MB / 393.2 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.02593, allocations: 51.59 kB / 393.2 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.02595, allocations: 16 kB / 393.2 MB, free: 2.641 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.0001562/0.02611, allocations: 195.5 kB / 393.4 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.02616, allocations: 55.7 kB / 393.5 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.02666, allocations: 338.3 kB / 393.8 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02666, allocations: 4 kB / 393.8 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.02666, allocations: 0 / 393.8 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.02667, allocations: 7.984 kB / 393.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.02713, allocations: 0.5592 MB / 394.4 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02714, allocations: 3.938 kB / 394.4 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.02727, allocations: 47.91 kB / 394.4 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.02745, allocations: 115.6 kB / 394.6 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.02747, allocations: 8 kB / 394.6 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.02908, allocations: 2.29 MB / 396.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.02908, allocations: 0 / 396.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.02969, allocations: 486.1 kB / 397.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.02979, allocations: 67.61 kB / 397.4 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.02981, allocations: 11.94 kB / 397.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.02991, allocations: 15.98 kB / 397.4 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.03, allocations: 35.94 kB / 397.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.03002, allocations: 12 kB / 397.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.03018, allocations: 247.1 kB / 397.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03018, allocations: 0 / 397.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004518/0.03063, allocations: 171.6 kB / 397.9 MB, free: 13.78 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.0001084/0.03074, allocations: 111.2 kB / 398 MB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005755/0.03131, allocations: 450.9 kB / 398.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03131, allocations: 4.062 kB / 398.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.03161, allocations: 341.1 kB / 398.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.03201, allocations: 133.8 kB / 398.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.03394, allocations: 1.136 MB / 400 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.03407, allocations: 169.6 kB / 400.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.03424, allocations: 72.31 kB / 400.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.0343, allocations: 32.5 kB / 400.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0343, allocations: 0 / 400.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of Templates: time 0.0112/0.0455, allocations: 6.981 MB / 407.3 MB, free: 4.387 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4218021989800036]