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.001064/0.001064, 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.001184/0.001184, 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.01/1.01, 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.2628/0.2628, 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.683e-06/1.683e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.621e-05, allocations: 2.859 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.005772/0.005798, allocations: 5.629 MB / 322.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.008643, allocations: 1.659 MB / 324.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.009026, allocations: 31.75 kB / 324.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.009564, allocations: 174.7 kB / 324.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006839/0.01025, allocations: 385.5 kB / 324.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.0107, allocations: 231.5 kB / 325 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.01172, allocations: 1.094 MB / 326.1 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/0.01211, allocations: 314.8 kB / 326.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.01316, allocations: 0.7056 MB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005387/0.0137, allocations: 406.9 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.01379, allocations: 84 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.0139, allocations: 84 kB / 327.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.0141, allocations: 291.2 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.01434, allocations: 283.4 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006394/0.01498, allocations: 0.6074 MB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01498, allocations: 0 / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01498, allocations: 0 / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.01499, allocations: 0 / 328.8 MB, free: 3.965 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.001163/0.01616, allocations: 0.8965 MB / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.01619, allocations: 15.98 kB / 329.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.01631, allocations: 100.9 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.01685, allocations: 450.3 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.01697, allocations: 194.3 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.01703, allocations: 60.33 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/0.0178, allocations: 0.4958 MB / 331 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.01781, allocations: 0 / 331 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.01784, allocations: 28 kB / 331 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.01786, allocations: 16 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.01813, allocations: 201.6 kB / 331.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.0198, allocations: 1.742 MB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.02015, allocations: 299.5 kB / 333.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.02028, allocations: 99.84 kB / 333.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.02031, allocations: 12.27 kB / 333.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.0205, allocations: 178.7 kB / 333.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.262e-06/0.02051, allocations: 0 / 333.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001009/0.02151, allocations: 451.6 kB / 334 MB, free: 14.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.02157, allocations: 140.5 kB / 334.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.02175, allocations: 319.2 kB / 334.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.02178, allocations: 33.7 kB / 334.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.02191, allocations: 297.3 kB / 334.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/0.02198, allocations: 123 kB / 334.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.02206, allocations: 82.11 kB / 335 MB, free: 13.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.02215, allocations: 358.6 kB / 335.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.02222, allocations: 43.81 kB / 335.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.02234, allocations: 166.4 kB / 335.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.02261, allocations: 301.7 kB / 335.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02262, allocations: 4 kB / 335.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003212/0.02294, allocations: 289.8 kB / 336.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.02296, allocations: 4 kB / 336.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.02296, allocations: 4 kB / 336.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.02322, allocations: 175.5 kB / 336.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.02342, allocations: 87.83 kB / 336.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.025, allocations: 1.735 MB / 338.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.02516, allocations: 47.7 kB / 338.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.02518, allocations: 16 kB / 338.2 MB, free: 10.05 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.0001445/0.02532, allocations: 148.5 kB / 338.3 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.02536, allocations: 31.97 kB / 338.4 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.02575, allocations: 270.3 kB / 338.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.02575, allocations: 4 kB / 338.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.02575, allocations: 3.984 kB / 338.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.02576, allocations: 4 kB / 338.6 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.02614, allocations: 403.7 kB / 339 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.02614, allocations: 0 / 339 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.02629, allocations: 51.91 kB / 339.1 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.02652, allocations: 171.6 kB / 339.2 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.02654, allocations: 12 kB / 339.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.02785, allocations: 1.714 MB / 341 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.02785, allocations: 4 kB / 341 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.02837, allocations: 379.6 kB / 341.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.02846, allocations: 55.62 kB / 341.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.02849, allocations: 8 kB / 341.4 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.02858, allocations: 8 kB / 341.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.02868, allocations: 47.8 kB / 341.5 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.02869, allocations: 12 kB / 341.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.133e-05/0.02878, allocations: 124.7 kB / 341.6 MB, free: 6.445 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02878, allocations: 4 kB / 341.6 MB, free: 6.441 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004069/0.02919, allocations: 179.5 kB / 341.8 MB, free: 6.266 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.0001203/0.02931, allocations: 88.36 kB / 341.9 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.02976, allocations: 352.7 kB / 342.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.02977, allocations: 0 / 342.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.03, allocations: 267.3 kB / 342.5 MB, free: 5.531 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.03033, allocations: 132 kB / 342.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.03205, allocations: 1.099 MB / 343.7 MB, free: 4.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.03217, allocations: 165.7 kB / 343.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.03233, allocations: 52.38 kB / 343.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.03252, allocations: 149.3 kB / 344.1 MB, free: 3.887 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03252, allocations: 0 / 344.1 MB, free: 3.887 MB / 314.7 MB Notification: Performance of Templates: time 0.01253/0.04505, allocations: 8.134 MB / 352.2 MB, free: 11.92 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 -s gbode -gbm=radauIIA3 -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.069008753169328]