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.001543/0.001543, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.00208/0.00208, allocations: 209.7 kB / 23.73 MB, free: 4.41 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.1922/0.1922, allocations: 38.55 MB / 352.4 MB, free: 12.43 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.002541/0.002541, allocations: 67.89 kB / 493 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4598, allocations: 62.47 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.01216/0.4719, allocations: 6.273 MB / 0.5486 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.4768, allocations: 1.659 MB / 0.5502 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009016/0.4777, allocations: 35.75 kB / 0.5502 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.4788, allocations: 213.3 kB / 0.5504 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.4801, allocations: 389.9 kB / 0.5508 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.4808, allocations: 229.9 kB / 0.551 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.4822, allocations: 1.072 MB / 0.5521 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005269/0.4827, allocations: 298.7 kB / 0.5523 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.4838, allocations: 498.8 kB / 0.5528 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007961/0.4846, allocations: 467.3 kB / 0.5533 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.4847, allocations: 84.47 kB / 0.5533 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.4849, allocations: 86.03 kB / 0.5534 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.4853, allocations: 287.5 kB / 0.5537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.4857, allocations: 327.6 kB / 0.554 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.4871, allocations: 1.053 MB / 0.555 GB, free: 7.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4871, allocations: 1.188 kB / 0.555 GB, free: 7.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4871, allocations: 0 / 0.555 GB, free: 7.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.4871, allocations: 0 / 0.555 GB, free: 7.113 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.002177/0.4893, allocations: 0.9669 MB / 0.556 GB, free: 6.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4893, allocations: 11.98 kB / 0.556 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.4895, allocations: 76.47 kB / 0.5561 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.4908, allocations: 0.5835 MB / 0.5566 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.4911, allocations: 190.4 kB / 0.5568 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.4912, allocations: 63.92 kB / 0.5569 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.4926, allocations: 0.7498 MB / 0.5576 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.4926, allocations: 3.938 kB / 0.5576 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.4927, allocations: 24 kB / 0.5576 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.4927, allocations: 23.98 kB / 0.5577 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.4942, allocations: 0.5972 MB / 0.5582 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.4981, allocations: 2.144 MB / 0.5603 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.4991, allocations: 402.8 kB / 0.5607 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.4996, allocations: 187.3 kB / 0.5609 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.4996, allocations: 4.281 kB / 0.5609 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005406/0.5001, allocations: 247.3 kB / 0.5611 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/0.5001, allocations: 0 / 0.5611 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003304/0.5034, allocations: 0.7878 MB / 0.5619 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.5035, allocations: 152.3 kB / 0.5621 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.504, allocations: 345.6 kB / 0.5624 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.504, allocations: 37.7 kB / 0.5624 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.5044, allocations: 324.6 kB / 0.5627 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.5045, allocations: 130.9 kB / 0.5629 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.5047, allocations: 78.12 kB / 0.5629 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.5049, allocations: 346.8 kB / 0.5633 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.5052, allocations: 132.8 kB / 0.5634 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.5057, allocations: 250 kB / 0.5636 GB, free: 14.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.5073, allocations: 0.6603 MB / 0.5643 GB, free: 13.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5073, allocations: 0 / 0.5643 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001105/0.5084, allocations: 0.5177 MB / 0.5648 GB, free: 12.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.5085, allocations: 6.969 kB / 0.5648 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5085, allocations: 4 kB / 0.5648 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004588/0.5089, allocations: 148.9 kB / 0.5649 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.5092, allocations: 79.83 kB / 0.565 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/0.513, allocations: 2.121 MB / 0.5671 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.5133, allocations: 43.75 kB / 0.5671 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.5133, allocations: 20 kB / 0.5671 GB, free: 10.33 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.0003499/0.5137, allocations: 249.7 kB / 0.5674 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.5137, allocations: 39.72 kB / 0.5674 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.515, allocations: 478.3 kB / 0.5679 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5151, allocations: 8 kB / 0.5679 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.5151, allocations: 0 / 0.5679 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.5151, allocations: 7.922 kB / 0.5679 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.5158, allocations: 0.5221 MB / 0.5684 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5158, allocations: 4 kB / 0.5684 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.5161, allocations: 47.95 kB / 0.5684 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/0.5165, allocations: 144.8 kB / 0.5686 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.5166, allocations: 7.984 kB / 0.5686 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/0.5202, allocations: 2.11 MB / 0.5706 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5202, allocations: 64 / 0.5706 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.5219, allocations: 0.6958 MB / 0.5713 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.5221, allocations: 63.72 kB / 0.5714 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.5222, allocations: 15.92 kB / 0.5714 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.5224, allocations: 15.98 kB / 0.5714 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.5225, allocations: 39.88 kB / 0.5715 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.5225, allocations: 11.98 kB / 0.5715 GB, free: 5.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.5228, allocations: 247.1 kB / 0.5717 GB, free: 5.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5228, allocations: 0 / 0.5717 GB, free: 5.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006871/0.5235, allocations: 171.6 kB / 0.5719 GB, free: 5.281 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.0001443/0.5237, allocations: 105.9 kB / 0.572 GB, free: 5.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.5249, allocations: 0.4907 MB / 0.5724 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5249, allocations: 0 / 0.5724 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.5255, allocations: 318.3 kB / 0.5728 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.5261, allocations: 130 kB / 0.5729 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.5286, allocations: 1.258 MB / 0.5741 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.5291, allocations: 335 kB / 0.5744 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.5293, allocations: 76.33 kB / 0.5745 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.5294, allocations: 31.44 kB / 0.5745 GB, free: 2.465 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5294, allocations: 0 / 0.5745 GB, free: 2.465 MB / 414.1 MB Notification: Performance of Templates: time 0.01551/0.5449, allocations: 7.767 MB / 0.5821 GB, free: 10.84 MB / 430.1 MB " [Timeout remaining time 659] 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.788407368585467]