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.0009642/0.0009644, allocations: 92.23 kB / 16.65 MB, free: 6.535 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.001082/0.001082, allocations: 174.7 kB / 17.56 MB, free: 6.184 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.35/1.35, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.169/0.169, allocations: 38.1 MB / 330.8 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 8.781 kB / 400.7 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 59.16 MB / 459.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007549/0.1217, allocations: 7.361 MB / 467.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.1257, allocations: 2.446 MB / 469.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.1262, allocations: 47.69 kB / 469.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004828/0.1267, allocations: 155 kB / 469.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.1277, allocations: 0.5019 MB / 470.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.1284, allocations: 323.5 kB / 470.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.13, allocations: 1.848 MB / 472.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.1312, allocations: 0.951 MB / 473.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005463/0.1318, allocations: 442.1 kB / 473.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008193/0.1326, allocations: 0.662 MB / 474.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.918e-05/0.1327, allocations: 44 kB / 474.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007711/0.1335, allocations: 0.503 MB / 475.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.1339, allocations: 407 kB / 475.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004261/0.1343, allocations: 483.3 kB / 476 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.1355, allocations: 1.39 MB / 477.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1355, allocations: 4 kB / 477.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1355, allocations: 0 / 477.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1355, allocations: 0 / 477.4 MB, free: 5.453 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.002355/0.1379, allocations: 1.192 MB / 478.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1379, allocations: 12.03 kB / 478.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007272/0.1386, allocations: 143.7 kB / 478.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1397, allocations: 0.6437 MB / 479.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.14, allocations: 195.5 kB / 479.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.1402, allocations: 103.8 kB / 479.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.1424, allocations: 1.382 MB / 481.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.1424, allocations: 0 / 481.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.491e-05/0.1425, allocations: 35.98 kB / 481.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/0.1427, allocations: 61.97 kB / 481.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.1451, allocations: 1.347 MB / 482.5 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006897/0.1521, allocations: 4.97 MB / 487.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.1545, allocations: 1.211 MB / 488.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.1557, allocations: 0.6477 MB / 489.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.254e-05/0.1557, allocations: 12.48 kB / 489.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1558, allocations: 43.12 kB / 489.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.935e-06/0.1558, allocations: 0 / 489.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006624/0.1624, allocations: 3.307 MB / 492.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.1625, allocations: 85.67 kB / 492.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.1631, allocations: 465.9 kB / 493.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.1631, allocations: 33.7 kB / 493.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.1634, allocations: 399.2 kB / 493.7 MB, free: 4.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.1636, allocations: 256.3 kB / 493.9 MB, free: 4.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.1638, allocations: 69.69 kB / 494 MB, free: 4.328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1639, allocations: 378.8 kB / 494.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009482/0.1649, allocations: 0.5212 MB / 494.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.166, allocations: 0.7154 MB / 495.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.1681, allocations: 1.267 MB / 496.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1681, allocations: 7.938 kB / 496.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004661/0.1728, allocations: 2.126 MB / 499 MB, free: 15.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1728, allocations: 4 kB / 499 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004181/0.177, allocations: 1.879 MB / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.179, allocations: 0.6964 MB / 0.4898 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.1796, allocations: 151.8 kB / 0.49 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.191, allocations: 7.08 MB / 0.4969 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.1918, allocations: 88 kB / 0.497 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.1919, allocations: 32 kB / 0.497 GB, free: 4.906 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.0004914/0.1924, allocations: 317.4 kB / 0.4973 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.1925, allocations: 63.25 kB / 0.4973 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.195, allocations: 1.34 MB / 0.4987 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.195, allocations: 16 kB / 0.4987 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.195, allocations: 4 kB / 0.4987 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.1951, allocations: 11.92 kB / 0.4987 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/0.1991, allocations: 2.461 MB / 0.5011 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.1991, allocations: 7.984 kB / 0.5011 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2044/0.4035, allocations: 0.6282 MB / 0.5017 GB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.4037, allocations: 38.17 kB / 0.5017 GB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.4039, allocations: 19.67 kB / 0.5018 GB, free: 56.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009799/0.4049, allocations: 1.461 MB / 0.5032 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4049, allocations: 6.875 kB / 0.5032 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.4086, allocations: 2.085 MB / 0.5052 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.4087, allocations: 135.7 kB / 0.5054 GB, free: 54.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.4089, allocations: 19.97 kB / 0.5054 GB, free: 54.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.4094, allocations: 73.52 kB / 0.5055 GB, free: 54.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.4096, allocations: 61.16 kB / 0.5055 GB, free: 54.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.4097, allocations: 22.89 kB / 0.5055 GB, free: 54.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.4101, allocations: 320.3 kB / 0.5058 GB, free: 54.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4101, allocations: 3.75 kB / 0.5058 GB, free: 54.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009025/0.411, allocations: 233.2 kB / 0.5061 GB, free: 54.66 MB / 382.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.000201/0.4112, allocations: 125.8 kB / 0.5062 GB, free: 54.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.4141, allocations: 1.603 MB / 0.5078 GB, free: 54.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4141, allocations: 3.781 kB / 0.5078 GB, free: 54.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003072/0.4172, allocations: 1.152 MB / 0.5089 GB, free: 53.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009173/0.4181, allocations: 155.2 kB / 0.509 GB, free: 53.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.422, allocations: 2.769 MB / 0.5117 GB, free: 52.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.4227, allocations: 1.074 MB / 0.5128 GB, free: 51.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000719/0.4234, allocations: 208.9 kB / 0.513 GB, free: 51.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.4236, allocations: 54.06 kB / 0.513 GB, free: 51.6 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4236, allocations: 0 / 0.513 GB, free: 51.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01948/0.4431, allocations: 12.47 MB / 0.5252 GB, free: 47.01 MB / 382.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