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.0009852/0.0009853, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001065/0.001065, allocations: 192 kB / 18.62 MB, free: 4.41 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.385/1.385, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.175/0.175, allocations: 38.04 MB / 330.5 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 61.89 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 58.07 MB / 458.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008295/0.1133, allocations: 6.764 MB / 465.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.1175, allocations: 2.138 MB / 467.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.118, allocations: 31.81 kB / 467.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.1194, allocations: 0.5171 MB / 467.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1204, allocations: 0.5483 MB / 468.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.1213, allocations: 367.3 kB / 468.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.1227, allocations: 1.302 MB / 470 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009363/0.1236, allocations: 0.7324 MB / 470.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008101/0.1244, allocations: 0.5527 MB / 471.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008933/0.1253, allocations: 0.6893 MB / 472 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.1255, allocations: 100 kB / 472.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008859/0.1264, allocations: 0.5149 MB / 472.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.1268, allocations: 462.9 kB / 473 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.1273, allocations: 0.5173 MB / 473.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.1287, allocations: 1.464 MB / 475 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1287, allocations: 0 / 475 MB, free: 6.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1287, allocations: 0 / 475 MB, free: 6.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1287, allocations: 0 / 475 MB, free: 6.582 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.002704/0.1314, allocations: 1.352 MB / 476.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1315, allocations: 11.97 kB / 476.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007257/0.1322, allocations: 139.8 kB / 476.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.1336, allocations: 0.6866 MB / 477.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.1338, allocations: 175.6 kB / 477.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.1341, allocations: 99.83 kB / 477.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.1361, allocations: 1.35 MB / 478.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.1361, allocations: 11.94 kB / 478.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.1362, allocations: 32 kB / 478.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.1364, allocations: 69.95 kB / 478.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.1387, allocations: 1.296 MB / 480.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006923/0.1456, allocations: 4.888 MB / 485.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.1477, allocations: 1.14 MB / 486.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.1487, allocations: 0.6203 MB / 486.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-05/0.1488, allocations: 16.53 kB / 486.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1488, allocations: 51.06 kB / 486.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 4.078e-06/0.1488, allocations: 0 / 486.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005481/0.1543, allocations: 3.174 MB / 490.1 MB, free: 7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1544, allocations: 89.66 kB / 490.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.1549, allocations: 469.9 kB / 490.7 MB, free: 6.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/0.1549, allocations: 33.7 kB / 490.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.1552, allocations: 399.3 kB / 491.1 MB, free: 5.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.1554, allocations: 252.3 kB / 491.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.1556, allocations: 150.5 kB / 491.5 MB, free: 5.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1558, allocations: 378.8 kB / 491.8 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008577/0.1567, allocations: 0.4938 MB / 492.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009759/0.1576, allocations: 0.6803 MB / 493 MB, free: 3.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.1595, allocations: 1.22 MB / 494.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1595, allocations: 3.938 kB / 494.2 MB, free: 2.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004084/0.1636, allocations: 1.982 MB / 496.2 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1637, allocations: 8.531 kB / 496.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003565/0.1672, allocations: 1.714 MB / 497.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.169, allocations: 0.6534 MB / 498.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005799/0.1696, allocations: 155.8 kB / 498.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.1803, allocations: 7.415 MB / 0.4943 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.181, allocations: 71.91 kB / 0.4944 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.1811, allocations: 28 kB / 0.4944 GB, free: 6.293 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.0004561/0.1815, allocations: 313.5 kB / 0.4947 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.1817, allocations: 71.3 kB / 0.4948 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.1839, allocations: 1.293 MB / 0.496 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.1839, allocations: 12 kB / 0.496 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.184, allocations: 4 kB / 0.496 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.184, allocations: 3.984 kB / 0.496 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/0.1877, allocations: 2.409 MB / 0.4984 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1877, allocations: 7.938 kB / 0.4984 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/0.1902, allocations: 499.4 kB / 0.4989 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.1903, allocations: 40.83 kB / 0.4989 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.1903, allocations: 12 kB / 0.4989 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.1914, allocations: 1.626 MB / 0.5005 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1914, allocations: 3.984 kB / 0.5005 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.1944, allocations: 2.02 MB / 0.5025 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1946, allocations: 132.3 kB / 0.5026 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.1947, allocations: 16 kB / 0.5026 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.1952, allocations: 55.92 kB / 0.5027 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.1953, allocations: 64.41 kB / 0.5028 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.1954, allocations: 19.98 kB / 0.5028 GB, free: 13.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003189/0.1957, allocations: 322.8 kB / 0.5031 GB, free: 13.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1957, allocations: 4 kB / 0.5031 GB, free: 13.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008535/0.1966, allocations: 232 kB / 0.5033 GB, free: 12.84 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.000211/0.1968, allocations: 131 kB / 0.5034 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.1994, allocations: 1.571 MB / 0.505 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1994, allocations: 0 / 0.505 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002406/0.2018, allocations: 1.006 MB / 0.5059 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.2025, allocations: 164.1 kB / 0.5061 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.2063, allocations: 2.271 MB / 0.5083 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.207, allocations: 1.071 MB / 0.5094 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005318/0.2076, allocations: 213.5 kB / 0.5096 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.2078, allocations: 55.42 kB / 0.5096 GB, free: 6.238 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2078, allocations: 0 / 0.5096 GB, free: 6.238 MB / 398.1 MB Notification: Performance of Templates: time 0.2073/0.4151, allocations: 13.42 MB / 0.5227 GB, free: 70.61 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches