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.0007943/0.0007943, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003084/0.003084, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8414/0.8414, allocations: 177.1 MB / 205 MB, free: 5.754 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.2054/0.2054, allocations: 29.41 MB / 290.8 MB, free: 2.406 MB / 266.7 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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|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="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.85e-05, allocations: 6.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.004896/0.004914, allocations: 6.374 MB / 437.8 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.007038, allocations: 2.029 MB / 439.9 MB, free: 4.637 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.007264, allocations: 35.69 kB / 439.9 MB, free: 4.602 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.00802, allocations: 0.5005 MB / 440.4 MB, free: 4.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006778/0.008698, allocations: 0.5789 MB / 441 MB, free: 3.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.009155, allocations: 367 kB / 441.4 MB, free: 3.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008116/0.009966, allocations: 1.321 MB / 442.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.01045, allocations: 0.5373 MB / 443.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.01109, allocations: 0.7519 MB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1585/0.1696, allocations: 0.7084 MB / 444.7 MB, free: 45.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.1699, allocations: 103.5 kB / 444.8 MB, free: 45.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008519/0.1707, allocations: 0.6001 MB / 445.4 MB, free: 45.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.171, allocations: 0.5029 MB / 445.9 MB, free: 45.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.1713, allocations: 388.6 kB / 446.3 MB, free: 45.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.1724, allocations: 1.638 MB / 447.9 MB, free: 45.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1724, allocations: 0 / 447.9 MB, free: 45.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1724, allocations: 0 / 447.9 MB, free: 45.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1724, allocations: 3.25 kB / 447.9 MB, free: 45.02 MB / 410.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.001568/0.174, allocations: 1.312 MB / 449.2 MB, free: 44.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.174, allocations: 16.7 kB / 449.2 MB, free: 44.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/0.1745, allocations: 181.3 kB / 449.4 MB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.1752, allocations: 0.6204 MB / 450 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.1753, allocations: 326.4 kB / 450.3 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.1755, allocations: 86.88 kB / 450.4 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.1767, allocations: 1.411 MB / 451.8 MB, free: 43.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.1767, allocations: 6.969 kB / 451.8 MB, free: 43.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.1768, allocations: 28.97 kB / 451.9 MB, free: 43.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.1769, allocations: 85.62 kB / 452 MB, free: 43.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.1783, allocations: 1.513 MB / 453.5 MB, free: 43.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.1816, allocations: 4.02 MB / 457.5 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.1827, allocations: 1.117 MB / 458.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/0.1834, allocations: 0.7086 MB / 459.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.1834, allocations: 13.66 kB / 459.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.1835, allocations: 45.41 kB / 459.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 2.285e-06/0.1835, allocations: 4 kB / 459.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.003615/0.1871, allocations: 3.633 MB / 463 MB, free: 39.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1871, allocations: 98.73 kB / 463.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1873, allocations: 352.8 kB / 463.4 MB, free: 39.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.1873, allocations: 39.98 kB / 463.5 MB, free: 39.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.1874, allocations: 345.3 kB / 463.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.1876, allocations: 371.7 kB / 464.2 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.1877, allocations: 161.2 kB / 464.3 MB, free: 38.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.1878, allocations: 371.8 kB / 464.7 MB, free: 38.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/0.1883, allocations: 0.5944 MB / 465.3 MB, free: 38.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.1889, allocations: 0.7375 MB / 466 MB, free: 37.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.1901, allocations: 1.385 MB / 467.4 MB, free: 37.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1901, allocations: 3.312 kB / 467.4 MB, free: 37.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001446/0.1915, allocations: 1.525 MB / 469 MB, free: 36.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1915, allocations: 7.719 kB / 469 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1916, allocations: 5.391 kB / 469 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/0.1917, allocations: 41.97 kB / 469 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.1928, allocations: 0.4977 MB / 469.5 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.1955, allocations: 6.177 MB / 475.7 MB, free: 31.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.1957, allocations: 77.59 kB / 475.8 MB, free: 31.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.1958, allocations: 33.62 kB / 475.8 MB, free: 31.07 MB / 410.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.0002658/0.1961, allocations: 313.5 kB / 476.1 MB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.1962, allocations: 66.66 kB / 476.2 MB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.1976, allocations: 1.523 MB / 477.7 MB, free: 30.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.1976, allocations: 21.58 kB / 477.7 MB, free: 30.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/0.1976, allocations: 3.094 kB / 477.7 MB, free: 30.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1976, allocations: 3.469 kB / 477.7 MB, free: 30.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.2, allocations: 2.548 MB / 480.3 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2, allocations: 6.156 kB / 480.3 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.2014, allocations: 0.526 MB / 480.8 MB, free: 29.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.046e-05/0.2014, allocations: 36.55 kB / 480.8 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.2015, allocations: 22.86 kB / 480.8 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004992/0.202, allocations: 1.507 MB / 482.4 MB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.202, allocations: 7.109 kB / 482.4 MB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.2045, allocations: 2.456 MB / 484.8 MB, free: 26.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.2045, allocations: 62.08 kB / 484.9 MB, free: 26.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.2046, allocations: 20.5 kB / 484.9 MB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.2049, allocations: 66.55 kB / 485 MB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.205, allocations: 83.81 kB / 485 MB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.2051, allocations: 25.06 kB / 485.1 MB, free: 26.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.2052, allocations: 241.1 kB / 485.3 MB, free: 26.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2052, allocations: 5.25 kB / 485.3 MB, free: 26.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006542/0.2059, allocations: 235.4 kB / 485.5 MB, free: 26.52 MB / 410.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.0002508/0.2061, allocations: 170.3 kB / 485.7 MB, free: 26.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.2084, allocations: 1.753 MB / 487.5 MB, free: 25.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2084, allocations: 4.125 kB / 487.5 MB, free: 25.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.2099, allocations: 1.122 MB / 488.6 MB, free: 25.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.2104, allocations: 131.4 kB / 488.7 MB, free: 25.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.2132, allocations: 2.521 MB / 491.2 MB, free: 24.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.2135, allocations: 486.4 kB / 491.7 MB, free: 24.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.2138, allocations: 69.12 kB / 491.8 MB, free: 24.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2138, allocations: 0 / 491.8 MB, free: 24.17 MB / 410.7 MB Notification: Performance of Templates: time 0.01865/0.2324, allocations: 24.13 MB / 0.5038 GB, free: 12.66 MB / 410.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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: 6.6805382911115885]