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.001295/0.001295, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.00127/0.00127, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9699/0.9699, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] 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.1293/0.1293, allocations: 29.43 MB / 292 MB, free: 2.617 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.62e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.006243/0.006269, allocations: 5.566 MB / 376.5 MB, free: 26.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.009059, allocations: 1.613 MB / 378.1 MB, free: 25.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004308/0.00949, allocations: 31.75 kB / 378.1 MB, free: 25.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.01009, allocations: 166.7 kB / 378.3 MB, free: 24.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007704/0.01086, allocations: 385.6 kB / 378.6 MB, free: 24.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.01133, allocations: 235.5 kB / 378.9 MB, free: 24.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.01236, allocations: 1.098 MB / 380 MB, free: 23.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.0128, allocations: 302.9 kB / 380.3 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/0.01378, allocations: 0.7133 MB / 381 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006185/0.0144, allocations: 422.9 kB / 381.4 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.01451, allocations: 84 kB / 381.5 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.01463, allocations: 84 kB / 381.5 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.01487, allocations: 291.2 kB / 381.8 MB, free: 21.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.01515, allocations: 279.5 kB / 382.1 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006769/0.01582, allocations: 0.6035 MB / 382.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01583, allocations: 0 / 382.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01583, allocations: 0 / 382.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.058e-06/0.01584, allocations: 4 kB / 382.7 MB, free: 20.42 MB / 314.7 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.001412/0.01725, allocations: 1.037 MB / 383.8 MB, free: 19.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.01728, allocations: 8.031 kB / 383.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.01746, allocations: 128.5 kB / 383.9 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.01813, allocations: 0.5504 MB / 384.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.01825, allocations: 190.4 kB / 384.6 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.01833, allocations: 64.31 kB / 384.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.01898, allocations: 0.5062 MB / 385.2 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.019, allocations: 0 / 385.2 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.01905, allocations: 24 kB / 385.2 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.01907, allocations: 16 kB / 385.2 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.01947, allocations: 214.7 kB / 385.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.02167, allocations: 2.347 MB / 387.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.02214, allocations: 289.9 kB / 388.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.02234, allocations: 131.5 kB / 388.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.02236, allocations: 8.219 kB / 388.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.0226, allocations: 188.3 kB / 388.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.993e-06/0.0226, allocations: 0 / 388.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001624/0.02422, allocations: 0.5173 MB / 388.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.02426, allocations: 132.5 kB / 389 MB, free: 13.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.02452, allocations: 382.5 kB / 389.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.02454, allocations: 37.64 kB / 389.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.02473, allocations: 375.3 kB / 389.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/0.02481, allocations: 130.9 kB / 389.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.02492, allocations: 95.75 kB / 390 MB, free: 12.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.02501, allocations: 0.5351 MB / 390.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.02511, allocations: 48.95 kB / 390.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.02527, allocations: 203.9 kB / 390.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.02565, allocations: 341.3 kB / 391.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.02565, allocations: 0 / 391.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005571/0.02621, allocations: 365 kB / 391.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.02623, allocations: 8 kB / 391.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.02624, allocations: 480 / 391.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/0.0266, allocations: 171.6 kB / 391.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.02684, allocations: 87.78 kB / 391.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.02832, allocations: 2.272 MB / 394 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.02848, allocations: 35.73 kB / 394.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.0285, allocations: 19.98 kB / 394.1 MB, free: 8.383 MB / 314.7 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.0001234/0.02862, allocations: 200.4 kB / 394.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.02867, allocations: 51.72 kB / 394.3 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.02905, allocations: 318.3 kB / 394.6 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.02905, allocations: 8 kB / 394.7 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.02905, allocations: 0 / 394.7 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02906, allocations: 0 / 394.7 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.02939, allocations: 0.4895 MB / 395.1 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02939, allocations: 0 / 395.1 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.02956, allocations: 43.92 kB / 395.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.02977, allocations: 175.7 kB / 395.4 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.0298, allocations: 11.98 kB / 395.4 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009628/0.03076, allocations: 2.266 MB / 397.6 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03076, allocations: 8.031 kB / 397.6 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.03122, allocations: 435.6 kB / 398.1 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.03129, allocations: 71.62 kB / 398.1 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.03132, allocations: 8 kB / 398.1 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.03142, allocations: 19.92 kB / 398.2 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.03149, allocations: 35.94 kB / 398.2 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.03151, allocations: 12 kB / 398.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.337e-05/0.03159, allocations: 243 kB / 398.5 MB, free: 3.816 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03159, allocations: 0 / 398.5 MB, free: 3.816 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.03195, allocations: 171.6 kB / 398.6 MB, free: 3.648 MB / 314.7 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 8.963e-05/0.03204, allocations: 107.1 kB / 398.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.03241, allocations: 430.2 kB / 399.1 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.03241, allocations: 0 / 399.1 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.0326, allocations: 334.5 kB / 399.5 MB, free: 2.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.03293, allocations: 144.8 kB / 399.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.03437, allocations: 1.129 MB / 400.7 MB, free: 1.438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.38e-05/0.03445, allocations: 173.7 kB / 400.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.03458, allocations: 48.38 kB / 401 MB, free: 1.195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.03474, allocations: 174.1 kB / 401.1 MB, free: 1.023 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03474, allocations: 0 / 401.1 MB, free: 1.023 MB / 314.7 MB Notification: Performance of Templates: time 0.01051/0.04525, allocations: 8.258 MB / 409.4 MB, free: 8.918 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.364233640022576]