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.00152/0.00152, allocations: 83.38 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001677/0.001677, allocations: 163.3 kB / 23.95 MB, free: 4.156 MB / 14.72 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.398/1.398, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] 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.1693/0.1693, allocations: 29.44 MB / 290.1 MB, free: 3.305 MB / 270.1 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.523e-06/1.523e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.505e-05, allocations: 5.375 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.007883/0.007908, allocations: 6.033 MB / 436.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.01035, allocations: 1.398 MB / 438.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.01057, allocations: 31.69 kB / 438.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.01106, allocations: 154.8 kB / 438.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008214/0.01188, allocations: 449.4 kB / 438.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.01233, allocations: 207.6 kB / 439 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.01354, allocations: 1.145 MB / 440.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.01388, allocations: 209.2 kB / 440.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008812/0.01476, allocations: 0.6465 MB / 441 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000811/0.01558, allocations: 0.5182 MB / 441.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.01569, allocations: 64 kB / 441.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.01584, allocations: 64 kB / 441.6 MB, free: 7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003665/0.0162, allocations: 339.1 kB / 442 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.01658, allocations: 263.4 kB / 442.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01762, allocations: 0.888 MB / 443.1 MB, free: 5.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01763, allocations: 0 / 443.1 MB, free: 5.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01763, allocations: 0 / 443.1 MB, free: 5.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.01764, allocations: 0 / 443.1 MB, free: 5.52 MB / 366.1 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.00193/0.01956, allocations: 0.9665 MB / 444.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.0196, allocations: 8.031 kB / 444.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.01973, allocations: 84.41 kB / 444.2 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.02077, allocations: 0.5149 MB / 444.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.02102, allocations: 220.1 kB / 444.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.02114, allocations: 60.33 kB / 444.9 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.02255, allocations: 0.7927 MB / 445.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.02257, allocations: 3.984 kB / 445.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-05/0.02263, allocations: 20 kB / 445.8 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.02275, allocations: 40.97 kB / 445.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.02421, allocations: 0.6869 MB / 446.5 MB, free: 2 MB / 366.1 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.1645/0.1887, allocations: 2.39 MB / 448.9 MB, free: 29.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.1903, allocations: 0.6986 MB / 449.6 MB, free: 29.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.1908, allocations: 315.9 kB / 449.9 MB, free: 29.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1909, allocations: 4.531 kB / 449.9 MB, free: 29.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.1909, allocations: 44.75 kB / 449.9 MB, free: 29.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.154e-06/0.1909, allocations: 1.25 kB / 449.9 MB, free: 29.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003429/0.1943, allocations: 1.645 MB / 451.6 MB, free: 28.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.1944, allocations: 82.17 kB / 451.7 MB, free: 28.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1947, allocations: 383.6 kB / 452 MB, free: 28.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1947, allocations: 30.89 kB / 452.1 MB, free: 28.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.1949, allocations: 326 kB / 452.4 MB, free: 28.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.195, allocations: 142.5 kB / 452.5 MB, free: 27.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1951, allocations: 84.5 kB / 452.6 MB, free: 27.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.1952, allocations: 361.7 kB / 453 MB, free: 27.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.1957, allocations: 238 kB / 453.2 MB, free: 27.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.1962, allocations: 359.8 kB / 453.5 MB, free: 27.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009387/0.1971, allocations: 0.5742 MB / 454.1 MB, free: 27.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1971, allocations: 1.781 kB / 454.1 MB, free: 27.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00127/0.1984, allocations: 0.7134 MB / 454.8 MB, free: 26.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1984, allocations: 7.297 kB / 454.8 MB, free: 26.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1984, allocations: 7.938 kB / 454.8 MB, free: 26.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.1987, allocations: 76.73 kB / 454.9 MB, free: 26.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.2002, allocations: 287 kB / 455.2 MB, free: 26.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.2048, allocations: 5.993 MB / 461.2 MB, free: 21.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.2052, allocations: 37.31 kB / 461.2 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.2052, allocations: 18.28 kB / 461.2 MB, free: 21.36 MB / 366.1 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.000285/0.2055, allocations: 237.5 kB / 461.5 MB, free: 21.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.2056, allocations: 48.55 kB / 461.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.2069, allocations: 0.6527 MB / 462.2 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2069, allocations: 9.25 kB / 462.2 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2069, allocations: 1.188 kB / 462.2 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2069, allocations: 6.141 kB / 462.2 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.2091, allocations: 1.253 MB / 463.4 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2091, allocations: 1.438 kB / 463.4 MB, free: 20.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.2109, allocations: 304.2 kB / 463.7 MB, free: 20.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.2112, allocations: 88.58 kB / 463.8 MB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.2112, allocations: 9.781 kB / 463.8 MB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.2128, allocations: 2.902 MB / 466.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2128, allocations: 1.031 kB / 466.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.2146, allocations: 1.042 MB / 467.8 MB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.2147, allocations: 39.02 kB / 467.8 MB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.2147, allocations: 12.78 kB / 467.8 MB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.2151, allocations: 34.48 kB / 467.9 MB, free: 17.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.2152, allocations: 48.66 kB / 467.9 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.2152, allocations: 13.59 kB / 467.9 MB, free: 17.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.2155, allocations: 265.3 kB / 468.2 MB, free: 16.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2155, allocations: 0 / 468.2 MB, free: 16.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006746/0.2162, allocations: 136.1 kB / 468.3 MB, free: 16.89 MB / 366.1 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 0.000121/0.2163, allocations: 108 kB / 468.4 MB, free: 16.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002595/0.2189, allocations: 0.9712 MB / 469.4 MB, free: 16.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2189, allocations: 0 / 469.4 MB, free: 16.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.2208, allocations: 0.7131 MB / 470.1 MB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.2215, allocations: 126.4 kB / 470.2 MB, free: 16.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.2234, allocations: 1.314 MB / 471.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.2237, allocations: 352.2 kB / 471.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002478/0.224, allocations: 91.69 kB / 472 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2241, allocations: 38.17 kB / 472 MB, free: 15.2 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2241, allocations: 0 / 472 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01172/0.2358, allocations: 7.235 MB / 479.3 MB, free: 12.12 MB / 366.1 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: 4.756276462227106]