Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001254/0.001254, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001759/0.003014, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001085/0.001085, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002516, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9791/0.9791, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09497/1.074, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1208/0.1208, allocations: 29.45 MB / 273.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.127/0.2478, allocations: 9.534 MB / 283.2 MB, free: 12.81 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i.[0-9,]+.|meterAC.p_av.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="meterAC.i.[0-9,]+.|meterAC.p_av.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.981e-05, allocations: 2.312 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.005439/0.005458, allocations: 5.926 MB / 290.4 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.008375, allocations: 2.148 MB / 292.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/0.008711, allocations: 34.56 kB / 292.6 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.009533, allocations: 438.8 kB / 293 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009391/0.01047, allocations: 0.584 MB / 293.6 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.01117, allocations: 364.4 kB / 293.9 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.01225, allocations: 1.352 MB / 295.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.01281, allocations: 0.5458 MB / 295.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008889/0.0137, allocations: 0.8418 MB / 296.7 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.01436, allocations: 0.682 MB / 297.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.01446, allocations: 96 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008928/0.01535, allocations: 0.6044 MB / 298 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.01566, allocations: 447 kB / 298.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.01592, allocations: 299.5 kB / 298.8 MB, free: 340 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009527/0.01687, allocations: 1.032 MB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.01688, allocations: 4 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.01689, allocations: 0 / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.0169, allocations: 0 / 299.8 MB, free: 15.29 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001639/0.01854, allocations: 1.375 MB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.01858, allocations: 8.031 kB / 301.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007102/0.01929, allocations: 289.8 kB / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.01999, allocations: 0.5084 MB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.02019, allocations: 317.9 kB / 302.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.02036, allocations: 92.47 kB / 302.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.02139, allocations: 0.7771 MB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.02141, allocations: 3.953 kB / 303.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.543e-05/0.02149, allocations: 31.98 kB / 303.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.02163, allocations: 69.97 kB / 303.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.02232, allocations: 420.4 kB / 303.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.02607, allocations: 2.85 MB / 306.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/0.02684, allocations: 492.1 kB / 307 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.02721, allocations: 259.1 kB / 307.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-05/0.02726, allocations: 12.66 kB / 307.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.0273, allocations: 51.09 kB / 307.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=101): time 5.17e-06/0.0273, allocations: 0 / 307.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.002456/0.02976, allocations: 1.343 MB / 308.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.0298, allocations: 86.11 kB / 308.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.03003, allocations: 335.1 kB / 309.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.03009, allocations: 45.83 kB / 309.1 MB, free: 5.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.03024, allocations: 314 kB / 309.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.03047, allocations: 364.8 kB / 309.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.03068, allocations: 146.5 kB / 309.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.0308, allocations: 378.6 kB / 310.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.03103, allocations: 140.8 kB / 310.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.03133, allocations: 280.5 kB / 310.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.03194, allocations: 0.5028 MB / 311.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.03194, allocations: 0 / 311.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0008285/0.03277, allocations: 0.5615 MB / 311.8 MB, free: 2.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.03278, allocations: 12.06 kB / 311.8 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.03279, allocations: 4 kB / 311.8 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.0329, allocations: 32.83 kB / 311.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.03428, allocations: 426.8 kB / 312.2 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.0372, allocations: 5.27 MB / 317.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.03754, allocations: 39.91 kB / 317.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.0376, allocations: 27.98 kB / 317.6 MB, free: 12.65 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.03784, allocations: 160.4 kB / 317.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.03801, allocations: 71.94 kB / 317.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008749/0.03888, allocations: 0.5816 MB / 318.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/0.03891, allocations: 23.98 kB / 318.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.03891, allocations: 0 / 318.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.03892, allocations: 7.984 kB / 318.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.04079, allocations: 1.273 MB / 319.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.0408, allocations: 4 kB / 319.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.04231, allocations: 442.6 kB / 320.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.04238, allocations: 67.48 kB / 320.2 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/0.04246, allocations: 32.84 kB / 320.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.04252, allocations: 16 kB / 320.2 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008397/0.04335, allocations: 1.458 MB / 321.7 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.04336, allocations: 11.88 kB / 321.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.04453, allocations: 0.9403 MB / 322.6 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-05/0.04461, allocations: 23.94 kB / 322.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.0449, allocations: 35.97 kB / 322.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.04503, allocations: 68.47 kB / 322.8 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.04508, allocations: 16 kB / 322.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.0452, allocations: 124.7 kB / 322.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0452, allocations: 4 kB / 322.9 MB, free: 7.074 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00072/0.04592, allocations: 247.9 kB / 323.2 MB, free: 6.832 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000262/0.04618, allocations: 148.8 kB / 323.3 MB, free: 6.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.04772, allocations: 0.8329 MB / 324.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-05/0.04775, allocations: 8.75 kB / 324.1 MB, free: 5.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.04929, allocations: 0.7226 MB / 324.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.05045, allocations: 1.058 MB / 325.9 MB, free: 3.809 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.06425, allocations: 1.863 MB / 327.8 MB, free: 1.883 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.06448, allocations: 259.9 kB / 328 MB, free: 1.609 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004778/0.06496, allocations: 85.36 kB / 328.1 MB, free: 1.523 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.06538, allocations: 173.3 kB / 328.3 MB, free: 1.352 MB / 314.7 MB Notification: Performance of SimCode: time 1.293e-06/0.06538, allocations: 0 / 328.3 MB, free: 1.352 MB / 314.7 MB Notification: Performance of Templates: time 0.01677/0.08215, allocations: 11.03 MB / 339.3 MB, free: 6.473 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.957989802584052]