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.001041/0.001041, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00105/0.00105, allocations: 164.4 kB / 24.99 MB, free: 8.297 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 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.57 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.2296/0.2296, allocations: 29.41 MB / 291.2 MB, free: 2.512 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 1.843e-06/1.843e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.137e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.006383/0.006414, allocations: 6.666 MB / 376.3 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.008396, allocations: 1.608 MB / 377.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.008692, allocations: 31.75 kB / 377.9 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004877/0.009179, allocations: 182.6 kB / 378.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006595/0.009839, allocations: 401.5 kB / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.01019, allocations: 227.5 kB / 378.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007846/0.01098, allocations: 1.113 MB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.01131, allocations: 298.8 kB / 380.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006554/0.01197, allocations: 0.6702 MB / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006092/0.01258, allocations: 454.8 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.995e-05/0.01267, allocations: 87.94 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.01277, allocations: 84 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.01299, allocations: 295.3 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.01321, allocations: 291.4 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.01381, allocations: 0.6074 MB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01381, allocations: 0 / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01381, allocations: 0 / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.01382, allocations: 0 / 382.6 MB, free: 14.29 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.001224/0.01504, allocations: 1.057 MB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.01509, allocations: 11.98 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.01524, allocations: 132.5 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.01596, allocations: 0.6089 MB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.01609, allocations: 190.4 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.01616, allocations: 60.38 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.0168, allocations: 0.5415 MB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.01682, allocations: 3.938 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.01686, allocations: 24 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.01687, allocations: 16 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.01728, allocations: 265.7 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.01925, allocations: 2.4 MB / 387.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.01972, allocations: 314.4 kB / 388.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.01991, allocations: 143.6 kB / 388.3 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.01993, allocations: 8.281 kB / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.02016, allocations: 200.5 kB / 388.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.804e-06/0.02017, allocations: 0 / 388.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001262/0.02143, allocations: 0.529 MB / 389.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.02149, allocations: 140.5 kB / 389.2 MB, free: 7.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.02177, allocations: 390.6 kB / 389.6 MB, free: 6.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.02179, allocations: 33.89 kB / 389.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.02197, allocations: 379.4 kB / 390 MB, free: 6.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.02204, allocations: 122.9 kB / 390.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.02213, allocations: 87.84 kB / 390.2 MB, free: 6.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.02227, allocations: 0.5274 MB / 390.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.02238, allocations: 64.95 kB / 390.8 MB, free: 5.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.02255, allocations: 227.9 kB / 391 MB, free: 5.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.02293, allocations: 377.4 kB / 391.4 MB, free: 4.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02294, allocations: 0 / 391.4 MB, free: 4.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004676/0.0234, allocations: 401.4 kB / 391.8 MB, free: 4.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.02342, allocations: 8 kB / 391.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.02343, allocations: 4 kB / 391.8 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.02367, allocations: 123.7 kB / 391.9 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.02385, allocations: 71.91 kB / 392 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.02551, allocations: 2.294 MB / 394.3 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.02567, allocations: 51.69 kB / 394.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.02569, allocations: 16 kB / 394.3 MB, free: 1.887 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.0001462/0.02583, allocations: 199.4 kB / 394.5 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.02588, allocations: 51.72 kB / 394.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/0.02637, allocations: 338.4 kB / 394.9 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.02637, allocations: 4 kB / 394.9 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.02637, allocations: 0 / 394.9 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.02638, allocations: 7.938 kB / 394.9 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.02683, allocations: 0.563 MB / 395.5 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.02683, allocations: 0 / 395.5 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.02697, allocations: 47.92 kB / 395.5 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/0.02714, allocations: 115.6 kB / 395.6 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.02716, allocations: 15.98 kB / 395.6 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.02845, allocations: 2.294 MB / 397.9 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02845, allocations: 0 / 397.9 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.02903, allocations: 478.1 kB / 398.4 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.02911, allocations: 63.67 kB / 398.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.02914, allocations: 8 kB / 398.5 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.02924, allocations: 15.98 kB / 398.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/0.02933, allocations: 43.86 kB / 398.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.02934, allocations: 12 kB / 398.6 MB, free: 13.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.02949, allocations: 247.1 kB / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02949, allocations: 0 / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.02989, allocations: 175.5 kB / 399 MB, free: 13.01 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.0001225/0.03001, allocations: 103.2 kB / 399.1 MB, free: 12.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005583/0.03057, allocations: 454.7 kB / 399.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.03057, allocations: 0 / 399.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.03093, allocations: 345.3 kB / 399.8 MB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.03131, allocations: 140.3 kB / 400 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.03309, allocations: 1.141 MB / 401.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.03321, allocations: 165.7 kB / 401.3 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.03337, allocations: 72.33 kB / 401.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.03344, allocations: 32.5 kB / 401.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.03344, allocations: 0 / 401.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of Templates: time 0.009607/0.04305, allocations: 6.989 MB / 408.4 MB, free: 3.617 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.4281760221347213]