Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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.0008547/0.0008547, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005563/0.005563, allocations: 164.1 kB / 24.7 MB, free: 8.891 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.8348/0.8348, allocations: 177.1 MB / 205 MB, free: 5.746 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.211/0.211, allocations: 29.42 MB / 290.9 MB, free: 2.445 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.Elementary.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.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.922e-05, allocations: 6.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.004717/0.004737, allocations: 6.026 MB / 437.5 MB, free: 7.035 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.006382, allocations: 1.391 MB / 438.9 MB, free: 5.641 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.006596, allocations: 39.62 kB / 438.9 MB, free: 5.602 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.006977, allocations: 146.9 kB / 439.1 MB, free: 5.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.007517, allocations: 445.4 kB / 439.5 MB, free: 5.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.007825, allocations: 219.4 kB / 439.7 MB, free: 4.805 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006551/0.00848, allocations: 1.145 MB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.008716, allocations: 221.2 kB / 441.1 MB, free: 3.434 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.009233, allocations: 0.6466 MB / 441.7 MB, free: 2.785 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.009674, allocations: 0.5065 MB / 442.2 MB, free: 2.277 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.009735, allocations: 68 kB / 442.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.009805, allocations: 64 kB / 442.4 MB, free: 2.148 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.01, allocations: 335.1 kB / 442.7 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.01017, allocations: 267.4 kB / 443 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.01074, allocations: 0.8919 MB / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01074, allocations: 4 kB / 443.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01074, allocations: 0 / 443.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.01075, allocations: 0 / 443.9 MB, free: 0.6602 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.1446/0.1553, allocations: 0.9542 MB / 444.8 MB, free: 55.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1554, allocations: 13.11 kB / 444.8 MB, free: 55.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1555, allocations: 78.44 kB / 444.9 MB, free: 55.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.1564, allocations: 0.5179 MB / 445.4 MB, free: 54.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.1566, allocations: 219.6 kB / 445.6 MB, free: 54.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/0.1567, allocations: 54.28 kB / 445.7 MB, free: 54.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.1577, allocations: 0.7831 MB / 446.5 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1577, allocations: 0 / 446.5 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.1578, allocations: 28.95 kB / 446.5 MB, free: 54.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.1579, allocations: 43.56 kB / 446.5 MB, free: 54.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.1589, allocations: 0.6883 MB / 447.2 MB, free: 54.09 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1609, allocations: 2.407 MB / 449.6 MB, free: 52.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/0.1617, allocations: 0.6995 MB / 450.3 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.162, allocations: 304.3 kB / 450.6 MB, free: 52.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.162, allocations: 10.22 kB / 450.6 MB, free: 52.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.162, allocations: 42.66 kB / 450.7 MB, free: 52.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.083e-06/0.162, allocations: 0 / 450.7 MB, free: 52.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.001862/0.1639, allocations: 1.646 MB / 452.3 MB, free: 51.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.1639, allocations: 83.42 kB / 452.4 MB, free: 51.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1641, allocations: 387.4 kB / 452.8 MB, free: 51.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1641, allocations: 29.7 kB / 452.8 MB, free: 51.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.1642, allocations: 330.6 kB / 453.1 MB, free: 50.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.1643, allocations: 135.6 kB / 453.3 MB, free: 50.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.1643, allocations: 91.48 kB / 453.4 MB, free: 50.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.1644, allocations: 359 kB / 453.7 MB, free: 50.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.1646, allocations: 243 kB / 454 MB, free: 50.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.1649, allocations: 351.4 kB / 454.3 MB, free: 50.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.1654, allocations: 0.58 MB / 454.9 MB, free: 49.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1654, allocations: 3.25 kB / 454.9 MB, free: 49.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006482/0.166, allocations: 0.7018 MB / 455.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.166, allocations: 9.953 kB / 455.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.166, allocations: 3.219 kB / 455.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.1662, allocations: 79.28 kB / 455.7 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.1668, allocations: 288.4 kB / 456 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.1691, allocations: 5.998 MB / 462 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1692, allocations: 36.33 kB / 462 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.1692, allocations: 23.16 kB / 462 MB, free: 44.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.0001535/0.1694, allocations: 238.4 kB / 462.2 MB, free: 44.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.1694, allocations: 44.91 kB / 462.3 MB, free: 44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/0.1701, allocations: 0.6556 MB / 462.9 MB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1701, allocations: 7.312 kB / 462.9 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1701, allocations: 3.094 kB / 463 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1701, allocations: 0 / 463 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.1712, allocations: 1.26 MB / 464.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1712, allocations: 0 / 464.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.1719, allocations: 299.8 kB / 464.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.1721, allocations: 85.83 kB / 464.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1721, allocations: 8.781 kB / 464.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008715/0.1729, allocations: 2.909 MB / 467.5 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1729, allocations: 0.7031 kB / 467.5 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.1738, allocations: 1.038 MB / 468.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.1739, allocations: 40.72 kB / 468.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.1739, allocations: 15.28 kB / 468.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.174, allocations: 30.58 kB / 468.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.1741, allocations: 40.58 kB / 468.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1741, allocations: 14.41 kB / 468.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1742, allocations: 266.5 kB / 468.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1742, allocations: 0 / 468.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.1746, allocations: 136.9 kB / 469.1 MB, free: 39.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * 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.876e-05/0.1747, allocations: 111 kB / 469.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.1759, allocations: 0.9666 MB / 470.2 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1759, allocations: 0 / 470.2 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.1767, allocations: 0.7051 MB / 470.9 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1771, allocations: 134.4 kB / 471 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1783, allocations: 1.368 MB / 472.4 MB, free: 38.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.1785, allocations: 340.8 kB / 472.7 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.455e-05/0.1786, allocations: 43.84 kB / 472.7 MB, free: 38.01 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1786, allocations: 0 / 472.7 MB, free: 38.01 MB / 410.7 MB Notification: Performance of Templates: time 0.01152/0.1901, allocations: 16.89 MB / 489.6 MB, free: 35.91 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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.773101990111172]