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.0008395/0.0008395, 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.003625/0.003625, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.849/0.849, allocations: 177.1 MB / 205 MB, free: 5.719 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.2144/0.2144, allocations: 29.41 MB / 290.8 MB, free: 2.414 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.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.212e-06/1.212e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.903e-05, allocations: 8.812 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.004875/0.004895, allocations: 5.967 MB / 437.4 MB, free: 7.078 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.006431, allocations: 1.367 MB / 438.8 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.006656, allocations: 35.69 kB / 438.8 MB, free: 5.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.007036, allocations: 146.8 kB / 439 MB, free: 5.527 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.007546, allocations: 433.5 kB / 439.4 MB, free: 5.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.007839, allocations: 195.5 kB / 439.6 MB, free: 4.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.008519, allocations: 1.106 MB / 440.7 MB, free: 3.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.008766, allocations: 213.2 kB / 440.9 MB, free: 3.586 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.009294, allocations: 0.6349 MB / 441.5 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.009742, allocations: 0.5026 MB / 442.1 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.009803, allocations: 68 kB / 442.1 MB, free: 2.379 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.009876, allocations: 64 kB / 442.2 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.01007, allocations: 331.1 kB / 442.5 MB, free: 1.992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.01024, allocations: 255.5 kB / 442.8 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005652/0.0108, allocations: 0.8608 MB / 443.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.0108, allocations: 0 / 443.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.0108, allocations: 0 / 443.6 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.01081, allocations: 0 / 443.6 MB, free: 0.8789 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.1535/0.1643, allocations: 0.9353 MB / 444.5 MB, free: 55.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.366e-05/0.1644, allocations: 13.36 kB / 444.6 MB, free: 55.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.1644, allocations: 77.72 kB / 444.6 MB, free: 55.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.165, allocations: 0.5067 MB / 445.1 MB, free: 54.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-05/0.1651, allocations: 224 kB / 445.4 MB, free: 54.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.1652, allocations: 53.53 kB / 445.4 MB, free: 54.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.1658, allocations: 0.7771 MB / 446.2 MB, free: 54.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1659, allocations: 3.531 kB / 446.2 MB, free: 54.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.1659, allocations: 28.7 kB / 446.2 MB, free: 54.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/0.166, allocations: 37.73 kB / 446.3 MB, free: 54.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006928/0.1666, allocations: 0.7157 MB / 447 MB, free: 54.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.1684, allocations: 2.323 MB / 449.3 MB, free: 52.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/0.1691, allocations: 0.6907 MB / 450 MB, free: 52.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.1694, allocations: 370.4 kB / 450.4 MB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1695, allocations: 9.938 kB / 450.4 MB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.1695, allocations: 48.86 kB / 450.4 MB, free: 52.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 1.703e-06/0.1695, allocations: 0 / 450.4 MB, free: 52.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.00202/0.1715, allocations: 1.854 MB / 452.3 MB, free: 51.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.1715, allocations: 91.36 kB / 452.4 MB, free: 51.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1717, allocations: 366.6 kB / 452.7 MB, free: 51.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1717, allocations: 33.7 kB / 452.7 MB, free: 51.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.1718, allocations: 293.4 kB / 453 MB, free: 51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.1719, allocations: 181.5 kB / 453.2 MB, free: 50.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.1719, allocations: 96.14 kB / 453.3 MB, free: 50.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.172, allocations: 362.1 kB / 453.7 MB, free: 50.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.1723, allocations: 273.3 kB / 453.9 MB, free: 50.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.1725, allocations: 383.7 kB / 454.3 MB, free: 50.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.1731, allocations: 0.6478 MB / 454.9 MB, free: 49.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1731, allocations: 0 / 454.9 MB, free: 49.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007043/0.1738, allocations: 0.7998 MB / 455.7 MB, free: 49.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1738, allocations: 6.375 kB / 455.8 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1738, allocations: 3.219 kB / 455.8 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.174, allocations: 74.14 kB / 455.8 MB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.1746, allocations: 314.8 kB / 456.1 MB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.1768, allocations: 6.006 MB / 462.1 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.177, allocations: 44.7 kB / 462.2 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.177, allocations: 24.19 kB / 462.2 MB, free: 44.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0001485/0.1772, allocations: 236.2 kB / 462.4 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.1772, allocations: 50.17 kB / 462.5 MB, free: 43.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/0.1779, allocations: 0.7475 MB / 463.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1779, allocations: 6.312 kB / 463.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1779, allocations: 3.344 kB / 463.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1779, allocations: 3.234 kB / 463.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.1791, allocations: 1.436 MB / 464.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1791, allocations: 3.031 kB / 464.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.1798, allocations: 325.5 kB / 465 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.18, allocations: 92.17 kB / 465.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.18, allocations: 17.62 kB / 465.1 MB, free: 42.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007981/0.1808, allocations: 2.908 MB / 468 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1808, allocations: 0 / 468 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.1818, allocations: 1.235 MB / 469.3 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.1818, allocations: 42.78 kB / 469.3 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.1819, allocations: 17.61 kB / 469.3 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.182, allocations: 33 kB / 469.3 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.1821, allocations: 56.95 kB / 469.4 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1821, allocations: 20.44 kB / 469.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1822, allocations: 252.2 kB / 469.7 MB, free: 39.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1822, allocations: 0 / 469.7 MB, free: 39.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.1826, allocations: 146.8 kB / 469.8 MB, free: 39.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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 9.449e-05/0.1827, allocations: 111.3 kB / 469.9 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.1839, allocations: 1.065 MB / 471 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1839, allocations: 0 / 471 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008333/0.1847, allocations: 0.7626 MB / 471.7 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1851, allocations: 123.1 kB / 471.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1866, allocations: 1.55 MB / 473.4 MB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.1868, allocations: 345.9 kB / 473.8 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.689e-05/0.1869, allocations: 44.73 kB / 473.8 MB, free: 37.61 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1869, allocations: 0 / 473.8 MB, free: 37.61 MB / 410.7 MB Notification: Performance of Templates: time 0.01165/0.1986, allocations: 16.77 MB / 490.6 MB, free: 35.41 MB / 410.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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: 5.483154266141355]