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.001503/0.001503, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001216/0.001216, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2665/0.2665, allocations: 29.42 MB / 291.2 MB, free: 2.465 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.453e-06/1.453e-06, allocations: 0 / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.02e-05, allocations: 2.859 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.00537/0.00539, allocations: 5.589 MB / 322.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.007725, allocations: 1.648 MB / 324.1 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.008034, allocations: 31.75 kB / 324.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.008507, allocations: 174.7 kB / 324.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.009108, allocations: 389.5 kB / 324.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.009498, allocations: 231.5 kB / 324.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008588/0.01036, allocations: 1.094 MB / 326 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.01068, allocations: 310.8 kB / 326.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008358/0.01151, allocations: 0.7133 MB / 327 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.01196, allocations: 410.9 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.647e-05/0.01204, allocations: 80 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-05/0.01213, allocations: 84 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.01232, allocations: 299.2 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.01255, allocations: 279.5 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.01315, allocations: 0.5996 MB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01315, allocations: 0 / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.01316, allocations: 0 / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.01317, allocations: 4 kB / 328.7 MB, free: 4.059 MB / 298.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.001981/0.01515, allocations: 0.8965 MB / 329.6 MB, free: 3.137 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.01519, allocations: 15.98 kB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.01532, allocations: 100.9 kB / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.01584, allocations: 450.2 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.01597, allocations: 194.4 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.01603, allocations: 64.27 kB / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.01652, allocations: 0.4997 MB / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.01653, allocations: 0 / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.01657, allocations: 24 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.01658, allocations: 16 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.01684, allocations: 193.6 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.01854, allocations: 1.754 MB / 332.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.01889, allocations: 292.2 kB / 333.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.01903, allocations: 103.8 kB / 333.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.01905, allocations: 8.281 kB / 333.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.01924, allocations: 182.7 kB / 333.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/0.01924, allocations: 0 / 333.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009963/0.02024, allocations: 455.7 kB / 333.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.0203, allocations: 136.5 kB / 334.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.02049, allocations: 315.2 kB / 334.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.02051, allocations: 37.7 kB / 334.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.02064, allocations: 293.1 kB / 334.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.02072, allocations: 123 kB / 334.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.0208, allocations: 78.11 kB / 334.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.0209, allocations: 362.6 kB / 335.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.02097, allocations: 47.84 kB / 335.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.02108, allocations: 170.3 kB / 335.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.02135, allocations: 289.7 kB / 335.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02136, allocations: 0 / 335.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003159/0.02167, allocations: 297.4 kB / 336 MB, free: 12.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.02169, allocations: 8 kB / 336 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02169, allocations: 4 kB / 336 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.02223, allocations: 176 kB / 336.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.02238, allocations: 71.91 kB / 336.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.0236, allocations: 1.738 MB / 338 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.02373, allocations: 43.67 kB / 338.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.02374, allocations: 11.98 kB / 338.1 MB, free: 10.16 MB / 314.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.0001336/0.02388, allocations: 159.5 kB / 338.2 MB, free: 9.992 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.02392, allocations: 39.91 kB / 338.3 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.02426, allocations: 270.3 kB / 338.5 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02427, allocations: 4 kB / 338.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.02427, allocations: 0 / 338.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.02427, allocations: 4 kB / 338.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.0246, allocations: 403.7 kB / 338.9 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02461, allocations: 3.984 kB / 338.9 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.02472, allocations: 47.92 kB / 339 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.02492, allocations: 163.5 kB / 339.1 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.02494, allocations: 12 kB / 339.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.026, allocations: 1.718 MB / 340.9 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.026, allocations: 32 / 340.9 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.02645, allocations: 379.6 kB / 341.2 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.02653, allocations: 59.62 kB / 341.3 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.02655, allocations: 4 kB / 341.3 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.02663, allocations: 19.98 kB / 341.3 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.02671, allocations: 39.88 kB / 341.4 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.02673, allocations: 7.984 kB / 341.4 MB, free: 6.672 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.456e-05/0.02681, allocations: 124.7 kB / 341.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02681, allocations: 0 / 341.5 MB, free: 6.551 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.02715, allocations: 171.6 kB / 341.7 MB, free: 6.383 MB / 314.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.0001196/0.02727, allocations: 88.34 kB / 341.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.02766, allocations: 352 kB / 342.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.02767, allocations: 4 kB / 342.1 MB, free: 5.922 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.02788, allocations: 272.4 kB / 342.4 MB, free: 5.641 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.02818, allocations: 131.5 kB / 342.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.03008, allocations: 1.095 MB / 343.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.03019, allocations: 161.7 kB / 343.7 MB, free: 4.203 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.03033, allocations: 52.36 kB / 343.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.0305, allocations: 157.3 kB / 344 MB, free: 3.996 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0305, allocations: 0 / 344 MB, free: 3.996 MB / 314.7 MB Notification: Performance of Templates: time 0.01018/0.04068, allocations: 8.091 MB / 352 MB, free: 12.07 MB / 330.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.2213453403674066]