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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 108.7 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1708/0.1708, allocations: 38.03 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.89 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2993, allocations: 58.06 MB / 0.5048 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.006574/0.3059, allocations: 6.586 MB / 0.5112 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.3082, allocations: 1.745 MB / 0.5129 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.3086, allocations: 24.41 kB / 0.5129 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.3092, allocations: 227.4 kB / 0.5131 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006706/0.3099, allocations: 383.3 kB / 0.5135 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.3104, allocations: 232.2 kB / 0.5137 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009301/0.3113, allocations: 1.074 MB / 0.5148 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005549/0.3119, allocations: 0.5079 MB / 0.5153 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.3124, allocations: 480.7 kB / 0.5157 GB, free: 488 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.3131, allocations: 485.1 kB / 0.5162 GB, free: 280 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.3132, allocations: 85.12 kB / 0.5163 GB, free: 280 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.3134, allocations: 85.12 kB / 0.5164 GB, free: 280 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.3136, allocations: 274.2 kB / 0.5166 GB, free: 152 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.314, allocations: 405.6 kB / 0.517 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.3152, allocations: 1.044 MB / 0.518 GB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3152, allocations: 4 kB / 0.518 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3152, allocations: 0.5312 kB / 0.518 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.3152, allocations: 0 / 0.518 GB, free: 15.5 MB / 398.1 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.002065/0.3173, allocations: 1.014 MB / 0.519 GB, free: 14.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3174, allocations: 13.14 kB / 0.519 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.3175, allocations: 74.22 kB / 0.5191 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3187, allocations: 0.6556 MB / 0.5198 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.3189, allocations: 109.9 kB / 0.5199 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/0.319, allocations: 63.64 kB / 0.5199 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.3202, allocations: 0.7468 MB / 0.5206 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.3202, allocations: 1.031 kB / 0.5206 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.3203, allocations: 29.41 kB / 0.5207 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.3203, allocations: 15.91 kB / 0.5207 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.3215, allocations: 0.6021 MB / 0.5213 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.3248, allocations: 2.457 MB / 0.5237 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/0.3256, allocations: 422.8 kB / 0.5241 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.3261, allocations: 204.7 kB / 0.5243 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3261, allocations: 6.094 kB / 0.5243 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004247/0.3265, allocations: 241.2 kB / 0.5245 GB, free: 11.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.3265, allocations: 0 / 0.5245 GB, free: 11.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002965/0.3295, allocations: 0.8801 MB / 0.5254 GB, free: 11.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.3296, allocations: 134.9 kB / 0.5255 GB, free: 11.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.33, allocations: 399.2 kB / 0.5259 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.3301, allocations: 40.75 kB / 0.5259 GB, free: 10.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.3303, allocations: 321.7 kB / 0.5262 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/0.3304, allocations: 115.8 kB / 0.5263 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3305, allocations: 76.23 kB / 0.5264 GB, free: 10.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3307, allocations: 355.8 kB / 0.5267 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.331, allocations: 131.5 kB / 0.5269 GB, free: 10.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.3314, allocations: 244.2 kB / 0.5271 GB, free: 9.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.3328, allocations: 0.6614 MB / 0.5278 GB, free: 9.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3328, allocations: 3.938 kB / 0.5278 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001014/0.3338, allocations: 0.524 MB / 0.5283 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3339, allocations: 6.906 kB / 0.5283 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3339, allocations: 9.141 kB / 0.5283 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004361/0.3343, allocations: 144.8 kB / 0.5284 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.3346, allocations: 80.78 kB / 0.5285 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.3378, allocations: 2.248 MB / 0.5307 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.3382, allocations: 56.91 kB / 0.5307 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.3382, allocations: 21.3 kB / 0.5308 GB, free: 7.309 MB / 398.1 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.0003053/0.3385, allocations: 258.3 kB / 0.531 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.3386, allocations: 41.62 kB / 0.5311 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.3398, allocations: 478.1 kB / 0.5315 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3398, allocations: 6.75 kB / 0.5315 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3398, allocations: 7.219 kB / 0.5315 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.34, allocations: 147.8 kB / 0.5317 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.3401, allocations: 13.2 kB / 0.5317 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.3403, allocations: 21.19 kB / 0.5317 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.3404, allocations: 25.05 kB / 0.5317 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001642/0.342, allocations: 0.8132 MB / 0.5325 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001093/0.3432, allocations: 0.9055 MB / 0.5334 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003011/0.3435, allocations: 163.2 kB / 0.5336 GB, free: 5.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.3437, allocations: 286.3 kB / 0.5338 GB, free: 5.309 MB / 398.1 MB Notification: Performance of Backend: time 8.82e-07/0.3438, allocations: 0 / 0.5338 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.345, allocations: 470.1 kB / 0.5343 GB, free: 4.988 MB / 398.1 MB Notification: Performance of SimCode: time 0.002192/0.3472, allocations: 1.743 MB / 0.536 GB, free: 3.688 MB / 398.1 MB Notification: Performance of Templates: time 0.01491/0.3621, allocations: 8.07 MB / 0.5439 GB, free: 15.73 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile (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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches