Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.001751/0.001751, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001788/0.001788, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 1.117/1.117, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2463/0.2463, allocations: 29.42 MB / 291.2 MB, free: 2.488 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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.145e-05, allocations: 2.859 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006419/0.006451, allocations: 5.331 MB / 322.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.008707, allocations: 1.442 MB / 323.7 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.008984, allocations: 31.69 kB / 323.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.009381, allocations: 131 kB / 323.8 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.009982, allocations: 421.5 kB / 324.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.01035, allocations: 199.5 kB / 324.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.01113, allocations: 1.113 MB / 325.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.01138, allocations: 223.1 kB / 325.8 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.01206, allocations: 0.6859 MB / 326.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.01255, allocations: 450.8 kB / 326.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.01262, allocations: 60 kB / 326.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.01271, allocations: 60 kB / 327 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.01292, allocations: 327.2 kB / 327.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.01311, allocations: 251.4 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.01357, allocations: 0.5529 MB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01357, allocations: 0 / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01357, allocations: 0 / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01358, allocations: 7.938 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001/0.01458, allocations: 0.8634 MB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.01461, allocations: 15.98 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.01472, allocations: 96.86 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.01519, allocations: 435.4 kB / 329.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.01533, allocations: 212.1 kB / 329.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.01539, allocations: 60.27 kB / 329.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.01588, allocations: 495.3 kB / 330.3 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.0159, allocations: 7.938 kB / 330.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.01593, allocations: 20 kB / 330.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/0.01599, allocations: 24.98 kB / 330.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.01628, allocations: 213.6 kB / 330.5 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.01795, allocations: 1.738 MB / 332.3 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.01841, allocations: 387.1 kB / 332.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.01856, allocations: 146.5 kB / 332.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.01859, allocations: 12.5 kB / 332.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.01862, allocations: 43 kB / 332.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.813e-06/0.01862, allocations: 4 kB / 332.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0008604/0.01948, allocations: 492.5 kB / 333.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.01952, allocations: 85.61 kB / 333.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.01974, allocations: 323.2 kB / 333.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.01977, allocations: 37.7 kB / 333.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.01988, allocations: 245.9 kB / 334 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.01997, allocations: 182.4 kB / 334.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.02007, allocations: 94.25 kB / 334.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.02017, allocations: 370.6 kB / 334.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.02026, allocations: 64.11 kB / 334.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.02039, allocations: 165.3 kB / 334.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.02064, allocations: 277.7 kB / 335.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.02065, allocations: 0 / 335.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003809/0.02103, allocations: 329.6 kB / 335.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.02104, allocations: 4 kB / 335.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.02105, allocations: 7.938 kB / 335.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.0212, allocations: 56.8 kB / 335.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.0218, allocations: 243.7 kB / 335.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.02437, allocations: 5.171 MB / 340.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.02454, allocations: 59.59 kB / 341 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.02456, allocations: 15.98 kB / 341 MB, free: 6.977 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.02469, allocations: 144.5 kB / 341.2 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.02475, allocations: 39.97 kB / 341.2 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.02516, allocations: 328.5 kB / 341.5 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.02517, allocations: 4 kB / 341.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.02517, allocations: 3.938 kB / 341.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.02518, allocations: 0 / 341.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009294/0.02611, allocations: 0.8549 MB / 342.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.02611, allocations: 4 kB / 342.4 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.02678, allocations: 259.6 kB / 342.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.02692, allocations: 56.5 kB / 342.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.02695, allocations: 15.98 kB / 342.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.02812, allocations: 2.636 MB / 345.3 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.02813, allocations: 4 kB / 345.3 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.02869, allocations: 0.5667 MB / 345.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.02873, allocations: 51.62 kB / 346 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.02877, allocations: 12 kB / 346 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.02891, allocations: 28.05 kB / 346 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/0.029, allocations: 47.8 kB / 346 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.02902, allocations: 8 kB / 346.1 MB, free: 1.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.0291, allocations: 124.7 kB / 346.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0291, allocations: 4 kB / 346.2 MB, free: 1.484 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003871/0.02949, allocations: 175.7 kB / 346.3 MB, free: 1.312 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001215/0.02961, allocations: 88.36 kB / 346.4 MB, free: 1.219 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008731/0.03048, allocations: 0.6218 MB / 347.1 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/0.03049, allocations: 4 kB / 347.1 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006637/0.03116, allocations: 0.5033 MB / 347.6 MB, free: 36 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.03159, allocations: 126 kB / 347.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.03376, allocations: 1.24 MB / 348.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.03393, allocations: 177.9 kB / 349.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000207/0.03413, allocations: 64.53 kB / 349.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.03441, allocations: 157.2 kB / 349.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03442, allocations: 0 / 349.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of Templates: time 0.01106/0.04548, allocations: 7.929 MB / 357.2 MB, free: 6.422 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.1669483752921224]