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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1858/0.1858, allocations: 38.53 MB / 344.5 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 180] 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=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 0.00293/0.00293, allocations: 67.89 kB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3451, allocations: 61.23 MB / 0.5306 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.007693/0.3528, allocations: 6.762 MB / 0.5372 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.3562, allocations: 1.76 MB / 0.5389 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.3567, allocations: 23 kB / 0.5389 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007443/0.3574, allocations: 218.2 kB / 0.5391 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.3585, allocations: 396.2 kB / 0.5395 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.3591, allocations: 226.2 kB / 0.5397 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.3604, allocations: 1.072 MB / 0.5408 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005018/0.3609, allocations: 319 kB / 0.5411 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.3616, allocations: 473.7 kB / 0.5415 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.3624, allocations: 0.4982 MB / 0.542 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3625, allocations: 85.75 kB / 0.5421 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.3627, allocations: 85.41 kB / 0.5422 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.363, allocations: 280.5 kB / 0.5424 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.3634, allocations: 405.9 kB / 0.5428 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.3646, allocations: 1.05 MB / 0.5438 GB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3646, allocations: 1.125 kB / 0.5438 GB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3646, allocations: 4 kB / 0.5438 GB, free: 11.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3647, allocations: 0 / 0.5438 GB, free: 11.97 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.002263/0.3669, allocations: 1.026 MB / 0.5448 GB, free: 11.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.367, allocations: 18.05 kB / 0.5449 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.3671, allocations: 81.41 kB / 0.5449 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3683, allocations: 0.6627 MB / 0.5456 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.3685, allocations: 109.4 kB / 0.5457 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.3686, allocations: 63.16 kB / 0.5458 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.37, allocations: 0.7403 MB / 0.5465 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.37, allocations: 1.062 kB / 0.5465 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.37, allocations: 25.78 kB / 0.5465 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3701, allocations: 19.5 kB / 0.5465 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.3713, allocations: 0.6032 MB / 0.5471 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.3748, allocations: 2.464 MB / 0.5495 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.3757, allocations: 395.9 kB / 0.5499 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/0.3761, allocations: 198.9 kB / 0.5501 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.3762, allocations: 4.781 kB / 0.5501 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/0.3766, allocations: 230.4 kB / 0.5503 GB, free: 7.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.753e-06/0.3766, allocations: 0 / 0.5503 GB, free: 7.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003152/0.3798, allocations: 0.8802 MB / 0.5512 GB, free: 6.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.3799, allocations: 137.4 kB / 0.5513 GB, free: 6.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.3804, allocations: 403.4 kB / 0.5517 GB, free: 6.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.3804, allocations: 35.92 kB / 0.5517 GB, free: 6.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.3807, allocations: 317.3 kB / 0.552 GB, free: 5.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3808, allocations: 134 kB / 0.5521 GB, free: 5.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.381, allocations: 78.22 kB / 0.5522 GB, free: 5.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3811, allocations: 357.5 kB / 0.5526 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.3815, allocations: 131.4 kB / 0.5527 GB, free: 5.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.3819, allocations: 243.3 kB / 0.5529 GB, free: 5.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.3834, allocations: 0.6619 MB / 0.5536 GB, free: 4.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3834, allocations: 0 / 0.5536 GB, free: 4.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001116/0.3845, allocations: 0.5174 MB / 0.5541 GB, free: 4.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3845, allocations: 8 kB / 0.5541 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3846, allocations: 8.406 kB / 0.5541 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.385, allocations: 152.7 kB / 0.5542 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.3853, allocations: 75.89 kB / 0.5543 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/0.389, allocations: 2.267 MB / 0.5565 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.3894, allocations: 51.61 kB / 0.5566 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.3895, allocations: 24.06 kB / 0.5566 GB, free: 1.332 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.0003862/0.3899, allocations: 245.6 kB / 0.5568 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.3899, allocations: 47.66 kB / 0.5569 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.3912, allocations: 482.6 kB / 0.5573 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.3912, allocations: 7.938 kB / 0.5573 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3912, allocations: 0 / 0.5573 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3912, allocations: 4 kB / 0.5573 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008902/0.3921, allocations: 0.6786 MB / 0.558 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3921, allocations: 3.938 kB / 0.558 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.3924, allocations: 43.97 kB / 0.5581 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004359/0.3928, allocations: 148.8 kB / 0.5582 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.3928, allocations: 8 kB / 0.5582 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003449/0.3963, allocations: 2.259 MB / 0.5604 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3963, allocations: 4 kB / 0.5604 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.3979, allocations: 0.6845 MB / 0.5611 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.3982, allocations: 156.7 kB / 0.5612 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.3982, allocations: 4 kB / 0.5612 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.3984, allocations: 19.92 kB / 0.5613 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.3986, allocations: 39.94 kB / 0.5613 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.3986, allocations: 12 kB / 0.5613 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003643/0.399, allocations: 279.1 kB / 0.5616 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.399, allocations: 0 / 0.5616 GB, free: 11.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007261/0.3997, allocations: 167.6 kB / 0.5617 GB, free: 11.81 MB / 414.1 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.0001737/0.3999, allocations: 110.2 kB / 0.5618 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.401, allocations: 0.4948 MB / 0.5623 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.401, allocations: 0 / 0.5623 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.4016, allocations: 318.4 kB / 0.5626 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.4023, allocations: 166.3 kB / 0.5628 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.4047, allocations: 1.273 MB / 0.564 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.4054, allocations: 0.9289 MB / 0.5649 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002663/0.4056, allocations: 88.62 kB / 0.565 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.4057, allocations: 35.44 kB / 0.565 GB, free: 8.305 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4057, allocations: 0 / 0.565 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Templates: time 0.01596/0.4217, allocations: 8.516 MB / 0.5734 GB, free: 15.89 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.354243412613869]