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.001439/0.001439, allocations: 112.2 kB / 21.19 MB, free: 0.7539 MB / 14.72 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.001638/0.001638, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 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.382/1.382, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.1744/0.1744, allocations: 38.54 MB / 353.2 MB, free: 12.52 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 66.55 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3117, allocations: 62.48 MB / 0.5432 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008508/0.3202, allocations: 6.774 MB / 0.5498 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.3235, allocations: 1.792 MB / 0.5516 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006275/0.3241, allocations: 35.88 kB / 0.5516 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008401/0.325, allocations: 221.9 kB / 0.5518 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.3262, allocations: 393.2 kB / 0.5522 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.3267, allocations: 229.6 kB / 0.5524 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.3282, allocations: 1.071 MB / 0.5535 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005109/0.3287, allocations: 316 kB / 0.5538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009511/0.3297, allocations: 495 kB / 0.5543 GB, free: 8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009598/0.3306, allocations: 0.4948 MB / 0.5547 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.3308, allocations: 84.38 kB / 0.5548 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.3311, allocations: 85.5 kB / 0.5549 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.3314, allocations: 284.4 kB / 0.5552 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006889/0.3321, allocations: 399 kB / 0.5556 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.3335, allocations: 1.042 MB / 0.5566 GB, free: 6.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3335, allocations: 0 / 0.5566 GB, free: 6.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3335, allocations: 0.9375 kB / 0.5566 GB, free: 6.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.988e-05/0.3335, allocations: 0 / 0.5566 GB, free: 6.457 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.002576/0.3361, allocations: 0.9718 MB / 0.5575 GB, free: 5.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3362, allocations: 11.62 kB / 0.5575 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.3364, allocations: 84.45 kB / 0.5576 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.3377, allocations: 0.5796 MB / 0.5582 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.3379, allocations: 186.4 kB / 0.5584 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.338, allocations: 63.94 kB / 0.5584 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.3394, allocations: 0.7538 MB / 0.5592 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.3394, allocations: 3.938 kB / 0.5592 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.3394, allocations: 20 kB / 0.5592 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.3395, allocations: 19.94 kB / 0.5592 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3406, allocations: 0.6128 MB / 0.5598 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.3441, allocations: 2.405 MB / 0.5621 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.345, allocations: 403.9 kB / 0.5625 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.3454, allocations: 191 kB / 0.5627 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.3454, allocations: 4.281 kB / 0.5627 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004489/0.3459, allocations: 239.3 kB / 0.5629 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.3459, allocations: 0 / 0.5629 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002864/0.3487, allocations: 0.8112 MB / 0.5637 GB, free: 15.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.3488, allocations: 136.5 kB / 0.5639 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.3493, allocations: 402 kB / 0.5642 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.3493, allocations: 29.7 kB / 0.5643 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.3496, allocations: 324.7 kB / 0.5646 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3497, allocations: 123 kB / 0.5647 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.3498, allocations: 90.11 kB / 0.5648 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.35, allocations: 350.8 kB / 0.5651 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.3503, allocations: 128.8 kB / 0.5652 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.3506, allocations: 246 kB / 0.5655 GB, free: 13.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.3521, allocations: 0.6603 MB / 0.5661 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3521, allocations: 4 kB / 0.5661 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001085/0.3532, allocations: 0.5214 MB / 0.5666 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3532, allocations: 8 kB / 0.5666 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3532, allocations: 7.984 kB / 0.5667 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004573/0.3537, allocations: 149.1 kB / 0.5668 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.354, allocations: 75.84 kB / 0.5669 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/0.3574, allocations: 2.16 MB / 0.569 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.3578, allocations: 51.72 kB / 0.569 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.3578, allocations: 23.98 kB / 0.5691 GB, free: 9.367 MB / 414.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.0003737/0.3582, allocations: 245.7 kB / 0.5693 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.3582, allocations: 47.66 kB / 0.5693 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.3594, allocations: 479.7 kB / 0.5698 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3594, allocations: 11.88 kB / 0.5698 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3594, allocations: 0 / 0.5698 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3595, allocations: 7.984 kB / 0.5698 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.3603, allocations: 0.6465 MB / 0.5704 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.3603, allocations: 3.938 kB / 0.5704 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.3605, allocations: 47.92 kB / 0.5705 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.3609, allocations: 136.8 kB / 0.5706 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.361, allocations: 15.98 kB / 0.5706 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/0.3641, allocations: 2.14 MB / 0.5727 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3641, allocations: 12.12 kB / 0.5727 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.3656, allocations: 0.6943 MB / 0.5734 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.3658, allocations: 71.67 kB / 0.5735 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.3658, allocations: 12 kB / 0.5735 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.3661, allocations: 23.91 kB / 0.5735 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3662, allocations: 35.94 kB / 0.5736 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3662, allocations: 8 kB / 0.5736 GB, free: 4.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.3665, allocations: 283.1 kB / 0.5738 GB, free: 4.254 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3665, allocations: 3.938 kB / 0.5738 GB, free: 4.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006158/0.3671, allocations: 163.6 kB / 0.574 GB, free: 4.09 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.0001384/0.3673, allocations: 114 kB / 0.5741 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.3683, allocations: 498.7 kB / 0.5746 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3683, allocations: 0 / 0.5746 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.3689, allocations: 326.6 kB / 0.5749 GB, free: 3.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.3695, allocations: 161.1 kB / 0.575 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.3718, allocations: 1.322 MB / 0.5763 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.3723, allocations: 0.9172 MB / 0.5772 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3724, allocations: 47.42 kB / 0.5773 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3724, allocations: 0 / 0.5773 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of Templates: time 0.01453/0.387, allocations: 10.36 MB / 0.5874 GB, free: 6.312 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.478175062919036]