Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 102.3 kB / 16.5 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1716/0.1716, allocations: 38.04 MB / 329.3 MB, free: 9.086 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 73.61 kB / 398.1 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1496, allocations: 58.06 MB / 456.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009366/0.159, allocations: 7.798 MB / 464 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.1633, allocations: 2.485 MB / 466.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.1639, allocations: 47.69 kB / 466.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.1653, allocations: 490.1 kB / 467 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.1664, allocations: 0.5136 MB / 467.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.1671, allocations: 327.5 kB / 467.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.1688, allocations: 1.836 MB / 469.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009274/0.1697, allocations: 0.6385 MB / 470.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006942/0.1704, allocations: 470.1 kB / 470.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009176/0.1714, allocations: 0.7049 MB / 471.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.1715, allocations: 60 kB / 471.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009514/0.1725, allocations: 0.5186 MB / 472 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.1729, allocations: 430.9 kB / 472.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005012/0.1734, allocations: 481.7 kB / 472.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.1746, allocations: 1.422 MB / 474.3 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1747, allocations: 0 / 474.3 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1747, allocations: 4 kB / 474.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1747, allocations: 0 / 474.3 MB, free: 6.301 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002758/0.1774, allocations: 1.344 MB / 475.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1775, allocations: 8.031 kB / 475.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007518/0.1782, allocations: 147.6 kB / 475.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.1794, allocations: 0.6554 MB / 476.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.1796, allocations: 175.6 kB / 476.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.1798, allocations: 91.92 kB / 476.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.182, allocations: 1.362 MB / 478.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.182, allocations: 4 kB / 478.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/0.1821, allocations: 32 kB / 478.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/0.1823, allocations: 61.97 kB / 478.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.1846, allocations: 1.299 MB / 479.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006641/0.1913, allocations: 4.919 MB / 484.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.1935, allocations: 1.133 MB / 485.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.1946, allocations: 0.6387 MB / 486.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.866e-05/0.1947, allocations: 8.562 kB / 486.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1947, allocations: 35.12 kB / 486.2 MB, free: 10 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.437e-06/0.1947, allocations: 4 kB / 486.2 MB, free: 10 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006061/0.2008, allocations: 3.175 MB / 489.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.2009, allocations: 81.67 kB / 489.5 MB, free: 6.633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006835/0.2016, allocations: 465.9 kB / 490 MB, free: 6.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.2016, allocations: 37.7 kB / 490 MB, free: 6.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.202, allocations: 399.3 kB / 490.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.2023, allocations: 256.3 kB / 490.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.2025, allocations: 150.6 kB / 490.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.2027, allocations: 370.8 kB / 491.1 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000922/0.2037, allocations: 0.4938 MB / 491.6 MB, free: 4.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.2047, allocations: 0.6881 MB / 492.3 MB, free: 3.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.2067, allocations: 1.216 MB / 493.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.2067, allocations: 7.875 kB / 493.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004401/0.2111, allocations: 1.993 MB / 495.5 MB, free: 368 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.2111, allocations: 8 kB / 495.6 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003846/0.215, allocations: 1.719 MB / 497.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/0.2169, allocations: 0.6534 MB / 497.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.2175, allocations: 151.8 kB / 498.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.228, allocations: 6.747 MB / 0.493 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007037/0.2288, allocations: 75.91 kB / 0.4931 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.2288, allocations: 28 kB / 0.4931 GB, free: 6.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005035/0.2294, allocations: 317.5 kB / 0.4934 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.2295, allocations: 59.25 kB / 0.4934 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.2319, allocations: 1.301 MB / 0.4947 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.2319, allocations: 19.92 kB / 0.4947 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2319, allocations: 0 / 0.4947 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.232, allocations: 11.92 kB / 0.4947 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.2358, allocations: 2.399 MB / 0.4971 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.2358, allocations: 4.094 kB / 0.4971 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/0.2383, allocations: 0.4915 MB / 0.4976 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.2384, allocations: 32.84 kB / 0.4976 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.2385, allocations: 19.98 kB / 0.4976 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.2396, allocations: 1.467 MB / 0.4991 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2396, allocations: 0 / 0.4991 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/0.2429, allocations: 2.016 MB / 0.501 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.243, allocations: 132.4 kB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.2432, allocations: 19.88 kB / 0.5012 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/0.2437, allocations: 63.91 kB / 0.5012 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.2439, allocations: 64.41 kB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.244, allocations: 20 kB / 0.5013 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003762/0.2443, allocations: 318.9 kB / 0.5016 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2443, allocations: 0 / 0.5016 GB, free: 13.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000974/0.2453, allocations: 236 kB / 0.5018 GB, free: 13.39 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.0002209/0.2456, allocations: 131.2 kB / 0.502 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.2484, allocations: 1.551 MB / 0.5035 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.2484, allocations: 8.062 kB / 0.5035 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002607/0.251, allocations: 0.9935 MB / 0.5045 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.2519, allocations: 153.9 kB / 0.5046 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.2562, allocations: 2.642 MB / 0.5072 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.2569, allocations: 1.067 MB / 0.5082 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006101/0.2575, allocations: 217.5 kB / 0.5084 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.2577, allocations: 55.42 kB / 0.5085 GB, free: 6.449 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2577, allocations: 0 / 0.5085 GB, free: 6.449 MB / 398.1 MB Notification: Performance of Templates: time 0.2139/0.4716, allocations: 12.63 MB / 0.5208 GB, free: 70.75 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches