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.001789/0.001789, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002135/0.002135, allocations: 170 kB / 24.5 MB, free: 3.453 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.535/1.535, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.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.1839/0.1839, allocations: 29.42 MB / 290.7 MB, free: 3.312 MB / 270.1 MB " [Timeout remaining time 179] 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.00228/0.00228, allocations: 71.84 kB / 431.2 MB, free: 3.266 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3872, allocations: 62.45 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.006278/0.3935, allocations: 6.261 MB / 499.9 MB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.3956, allocations: 1.564 MB / 0.4897 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.3959, allocations: 31.5 kB / 0.4897 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.3964, allocations: 186.3 kB / 0.4899 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.397, allocations: 384.6 kB / 0.4903 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.3974, allocations: 231.8 kB / 0.4905 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.3982, allocations: 1.072 MB / 0.4915 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.3987, allocations: 302.9 kB / 0.4918 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006154/0.3993, allocations: 498.8 kB / 0.4923 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.3999, allocations: 467 kB / 0.4928 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.4, allocations: 89.5 kB / 0.4928 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.4001, allocations: 86.25 kB / 0.4929 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.4004, allocations: 286.8 kB / 0.4932 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.4007, allocations: 329.7 kB / 0.4935 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.4016, allocations: 1.055 MB / 0.4945 GB, free: 30.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4016, allocations: 0 / 0.4945 GB, free: 30.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4016, allocations: 0 / 0.4945 GB, free: 30.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4016, allocations: 0 / 0.4945 GB, free: 30.32 MB / 446.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.001745/0.4034, allocations: 0.9585 MB / 0.4955 GB, free: 29.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4034, allocations: 13.67 kB / 0.4955 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.4035, allocations: 83.53 kB / 0.4956 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4045, allocations: 0.5835 MB / 0.4961 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.4047, allocations: 188.9 kB / 0.4963 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.4048, allocations: 67.19 kB / 0.4964 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.4058, allocations: 0.7437 MB / 0.4971 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.4058, allocations: 3.938 kB / 0.4971 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.4059, allocations: 26.47 kB / 0.4971 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4059, allocations: 12.59 kB / 0.4972 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009716/0.4069, allocations: 0.6029 MB / 0.4977 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.4096, allocations: 2.144 MB / 0.4998 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.4104, allocations: 389.7 kB / 0.5002 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.4108, allocations: 198.1 kB / 0.5004 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.4108, allocations: 3.469 kB / 0.5004 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000372/0.4112, allocations: 246.3 kB / 0.5006 GB, free: 26.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 1.694e-06/0.4112, allocations: 0 / 0.5006 GB, free: 26.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002904/0.4141, allocations: 0.791 MB / 0.5014 GB, free: 26.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.4141, allocations: 143.6 kB / 0.5015 GB, free: 26.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.4144, allocations: 358.1 kB / 0.5019 GB, free: 25.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.4145, allocations: 33.73 kB / 0.5019 GB, free: 25.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4146, allocations: 331 kB / 0.5022 GB, free: 25.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.4147, allocations: 122.4 kB / 0.5024 GB, free: 25.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.4148, allocations: 77.94 kB / 0.5024 GB, free: 25.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.4149, allocations: 354.3 kB / 0.5028 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.4151, allocations: 123.6 kB / 0.5029 GB, free: 25.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.4154, allocations: 250.9 kB / 0.5031 GB, free: 25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.4167, allocations: 0.6608 MB / 0.5038 GB, free: 24.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4167, allocations: 4 kB / 0.5038 GB, free: 24.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009225/0.4176, allocations: 0.5178 MB / 0.5043 GB, free: 24.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4176, allocations: 6.531 kB / 0.5043 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4176, allocations: 6.656 kB / 0.5043 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004131/0.4181, allocations: 149.4 kB / 0.5044 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.4183, allocations: 78.45 kB / 0.5045 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.4213, allocations: 2.12 MB / 0.5066 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.4216, allocations: 42.28 kB / 0.5066 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.4217, allocations: 18.75 kB / 0.5066 GB, free: 22.61 MB / 446.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.0003128/0.422, allocations: 247.9 kB / 0.5069 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.422, allocations: 41.69 kB / 0.5069 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.4232, allocations: 485.1 kB / 0.5074 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4232, allocations: 3 kB / 0.5074 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.4232, allocations: 3.156 kB / 0.5074 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4232, allocations: 7.453 kB / 0.5074 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.4237, allocations: 0.5266 MB / 0.5079 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4237, allocations: 0 / 0.5079 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.4239, allocations: 49.45 kB / 0.5079 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/0.4243, allocations: 148.5 kB / 0.5081 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.4243, allocations: 7.156 kB / 0.5081 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.4268, allocations: 2.113 MB / 0.5102 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4268, allocations: 0 / 0.5102 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.4282, allocations: 0.689 MB / 0.5108 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.4283, allocations: 71.67 kB / 0.5109 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.4283, allocations: 7.156 kB / 0.5109 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.4286, allocations: 16.73 kB / 0.5109 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.4287, allocations: 40.83 kB / 0.511 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.4287, allocations: 13.16 kB / 0.511 GB, free: 19.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.4289, allocations: 241 kB / 0.5112 GB, free: 19.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4289, allocations: 3 kB / 0.5112 GB, free: 19.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.4294, allocations: 170.1 kB / 0.5114 GB, free: 19.48 MB / 446.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 9.622e-05/0.4295, allocations: 107.6 kB / 0.5115 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008272/0.4303, allocations: 0.4902 MB / 0.512 GB, free: 19.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4303, allocations: 0 / 0.512 GB, free: 19.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.4308, allocations: 322.6 kB / 0.5123 GB, free: 18.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.4313, allocations: 129 kB / 0.5124 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.4331, allocations: 1.249 MB / 0.5136 GB, free: 18.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.4334, allocations: 334.5 kB / 0.5139 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.4337, allocations: 76.84 kB / 0.514 GB, free: 18.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.4337, allocations: 37.19 kB / 0.514 GB, free: 18.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4337, allocations: 0 / 0.514 GB, free: 18.01 MB / 446.1 MB Notification: Performance of Templates: time 0.01308/0.4468, allocations: 6.934 MB / 0.5208 GB, free: 17.2 MB / 446.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 -s ida -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: 5.560709648998454]