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.001246/0.001246, allocations: 107 kB / 16.62 MB, free: 6.957 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.001274/0.001274, allocations: 189.9 kB / 17.55 MB, free: 6.047 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.383/1.383, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1779/0.1779, allocations: 38.04 MB / 329.4 MB, free: 9.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.06 kB / 398.3 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 58.06 MB / 456.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01046/0.1175, allocations: 7.806 MB / 464.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005005/0.1225, allocations: 2.446 MB / 466.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.1236, allocations: 47.69 kB / 466.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.1253, allocations: 486.1 kB / 467.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.1271, allocations: 0.5098 MB / 467.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1281, allocations: 335.5 kB / 468 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.13, allocations: 1.306 MB / 469.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.1314, allocations: 0.7558 MB / 470 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.1326, allocations: 0.5488 MB / 470.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.1338, allocations: 0.7245 MB / 471.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.1341, allocations: 100 kB / 471.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.1354, allocations: 0.5538 MB / 471.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006401/0.1361, allocations: 474.9 kB / 472.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.1371, allocations: 0.5172 MB / 472.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.139, allocations: 1.449 MB / 474.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.139, allocations: 3.938 kB / 474.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.139, allocations: 0 / 474.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.075e-05/0.1391, allocations: 0 / 474.4 MB, free: 6.324 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.003482/0.1426, allocations: 1.352 MB / 475.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1426, allocations: 11.89 kB / 475.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008676/0.1435, allocations: 147.6 kB / 475.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.1448, allocations: 0.6553 MB / 476.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.1451, allocations: 171.6 kB / 476.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.1453, allocations: 91.92 kB / 476.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.1479, allocations: 1.361 MB / 478.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.1479, allocations: 0 / 478.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.1481, allocations: 39.98 kB / 478.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.1482, allocations: 61.98 kB / 478.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.1507, allocations: 1.296 MB / 479.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007381/0.1581, allocations: 4.923 MB / 484.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.1604, allocations: 1.141 MB / 485.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.1617, allocations: 0.627 MB / 486.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.266e-05/0.1618, allocations: 8.547 kB / 486.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1618, allocations: 39.12 kB / 486.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.1618, allocations: 0 / 486.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006601/0.1684, allocations: 3.179 MB / 489.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.1685, allocations: 85.67 kB / 489.6 MB, free: 6.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.1691, allocations: 465.9 kB / 490 MB, free: 6.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.1691, allocations: 37.7 kB / 490 MB, free: 6.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.1694, allocations: 395.3 kB / 490.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.1696, allocations: 256.3 kB / 490.7 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/0.1699, allocations: 150.6 kB / 490.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.17, allocations: 374.8 kB / 491.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009363/0.171, allocations: 0.4899 MB / 491.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.1723, allocations: 0.692 MB / 492.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.1744, allocations: 1.212 MB / 493.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1744, allocations: 11.94 kB / 493.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004452/0.1789, allocations: 1.982 MB / 495.6 MB, free: 400 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.1789, allocations: 6.344 kB / 495.6 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003752/0.1827, allocations: 1.718 MB / 497.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.1844, allocations: 0.6534 MB / 498 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.185, allocations: 155.8 kB / 498.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.1974, allocations: 7.42 MB / 0.4937 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/0.1983, allocations: 75.91 kB / 0.4938 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.1984, allocations: 28 kB / 0.4938 GB, free: 6.031 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.0006634/0.199, allocations: 315.3 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.1992, allocations: 63.19 kB / 0.4941 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.2017, allocations: 1.301 MB / 0.4954 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.2018, allocations: 12 kB / 0.4954 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2018, allocations: 0 / 0.4954 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.2018, allocations: 7.984 kB / 0.4954 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.2062, allocations: 2.398 MB / 0.4978 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.2062, allocations: 16.02 kB / 0.4978 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/0.2087, allocations: 495.3 kB / 0.4983 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.2088, allocations: 36.83 kB / 0.4983 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.2089, allocations: 20 kB / 0.4983 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.2101, allocations: 1.634 MB / 0.4999 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/0.2101, allocations: 3.938 kB / 0.4999 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.2133, allocations: 2.004 MB / 0.5019 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.2134, allocations: 148.1 kB / 0.502 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.2135, allocations: 12 kB / 0.502 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.2141, allocations: 63.92 kB / 0.5021 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.2142, allocations: 60.47 kB / 0.5021 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.2143, allocations: 19.98 kB / 0.5022 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003574/0.2147, allocations: 318.8 kB / 0.5025 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2147, allocations: 0 / 0.5025 GB, free: 12.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009705/0.2157, allocations: 244.1 kB / 0.5027 GB, free: 12.56 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.0002355/0.2159, allocations: 123.1 kB / 0.5028 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003278/0.2192, allocations: 1.836 MB / 0.5046 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2192, allocations: 0 / 0.5046 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.2219, allocations: 1.013 MB / 0.5056 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008114/0.2227, allocations: 156.1 kB / 0.5058 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.2268, allocations: 2.631 MB / 0.5083 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.2275, allocations: 1.075 MB / 0.5094 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005731/0.2281, allocations: 209.5 kB / 0.5096 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.2283, allocations: 55.38 kB / 0.5096 GB, free: 5.344 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2283, allocations: 0 / 0.5096 GB, free: 5.344 MB / 398.1 MB Notification: Performance of Templates: time 0.2257/0.454, allocations: 13.22 MB / 0.5225 GB, free: 70.79 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