Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001556, allocations: 110.9 kB / 17.68 MB, free: 5.355 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.001735/0.001736, allocations: 192 kB / 18.62 MB, free: 4.434 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.429/1.429, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2473/0.2473, allocations: 38.03 MB / 330.5 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 62.22 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1159, allocations: 58.06 MB / 458.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009808/0.1257, allocations: 8.924 MB / 467.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004866/0.1307, allocations: 3.049 MB / 470.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.1312, allocations: 31.81 kB / 470.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.1337, allocations: 1.073 MB / 471.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.135, allocations: 0.6258 MB / 472 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.1367, allocations: 0.7249 MB / 472.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1384, allocations: 1.629 MB / 474.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.1394, allocations: 0.8897 MB / 475.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008863/0.1403, allocations: 0.7354 MB / 476 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1414, allocations: 0.9423 MB / 476.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.1416, allocations: 108 kB / 477 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007926/0.1424, allocations: 455.3 kB / 477.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005877/0.143, allocations: 0.6586 MB / 478.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006617/0.1437, allocations: 0.7074 MB / 478.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.1454, allocations: 1.783 MB / 480.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1455, allocations: 0 / 480.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.1455, allocations: 4 kB / 480.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.872e-05/0.1455, allocations: 0 / 480.6 MB, free: 0.8984 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002939/0.1484, allocations: 1.646 MB / 482.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1485, allocations: 11.89 kB / 482.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.15, allocations: 275 kB / 482.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.1516, allocations: 0.8792 MB / 483.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.1517, allocations: 90.72 kB / 483.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/0.152, allocations: 156 kB / 483.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.1544, allocations: 1.85 MB / 485.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.1544, allocations: 11.94 kB / 485.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.1545, allocations: 59.98 kB / 485.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002876/0.1548, allocations: 102.1 kB / 485.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.157, allocations: 1.484 MB / 487.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008696/0.1657, allocations: 8.265 MB / 495.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.167, allocations: 1.168 MB / 496.6 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00065/0.1677, allocations: 488.3 kB / 497.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/0.1678, allocations: 20.48 kB / 497.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1678, allocations: 47.22 kB / 497.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.1678, allocations: 0 / 497.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.003966/0.1718, allocations: 2.433 MB / 499.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.1719, allocations: 93.7 kB / 499.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009792/0.1728, allocations: 0.8213 MB / 0.4888 GB, free: 12.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.1729, allocations: 41.7 kB / 0.4888 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.1733, allocations: 0.6803 MB / 0.4895 GB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.1736, allocations: 303.7 kB / 0.4898 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.1739, allocations: 255.3 kB / 0.49 GB, free: 10.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1741, allocations: 414.7 kB / 0.4904 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.1747, allocations: 447.7 kB / 0.4908 GB, free: 10.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.1759, allocations: 1.005 MB / 0.4918 GB, free: 8.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.1777, allocations: 1.589 MB / 0.4934 GB, free: 6.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.1777, allocations: 8 kB / 0.4934 GB, free: 6.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002926/0.1806, allocations: 1.772 MB / 0.4951 GB, free: 5.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.1807, allocations: 12 kB / 0.4951 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001708/0.1824, allocations: 0.9812 MB / 0.4961 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009592/0.1834, allocations: 262.4 kB / 0.4963 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.1844, allocations: 307.5 kB / 0.4966 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004903/0.1893, allocations: 5.172 MB / 0.5017 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.1903, allocations: 55.89 kB / 0.5017 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.1904, allocations: 72.05 kB / 0.5018 GB, free: 13.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006859/0.1911, allocations: 429.1 kB / 0.5022 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.1912, allocations: 98.78 kB / 0.5023 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.1928, allocations: 0.9531 MB / 0.5032 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.1929, allocations: 12 kB / 0.5032 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1929, allocations: 3.938 kB / 0.5032 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.1929, allocations: 3.984 kB / 0.5032 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.1964, allocations: 2.114 MB / 0.5053 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1964, allocations: 4 kB / 0.5053 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00085/0.1973, allocations: 187.8 kB / 0.5055 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.1973, allocations: 7.984 kB / 0.5055 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.1973, allocations: 24.19 kB / 0.5055 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.647e-06/0.1974, allocations: 11.92 kB / 0.5055 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.1974, allocations: 4 kB / 0.5055 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.1991, allocations: 1.409 MB / 0.5069 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.1994, allocations: 163.8 kB / 0.5071 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1995, allocations: 20 kB / 0.5071 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.1999, allocations: 27.97 kB / 0.5071 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.2, allocations: 56.53 kB / 0.5072 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.2001, allocations: 31.98 kB / 0.5072 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005895/0.2006, allocations: 0.5341 MB / 0.5077 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2007, allocations: 0 / 0.5077 GB, free: 7.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009832/0.2016, allocations: 296 kB / 0.508 GB, free: 7.312 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * 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 (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.2018, allocations: 135.1 kB / 0.5081 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.2039, allocations: 1.461 MB / 0.5096 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2039, allocations: 1.75 kB / 0.5096 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005275/0.2044, allocations: 415.4 kB / 0.51 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008313/0.2053, allocations: 179.1 kB / 0.5101 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.2089, allocations: 2.706 MB / 0.5128 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.2097, allocations: 1.247 MB / 0.514 GB, free: 1.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008706/0.2106, allocations: 416.7 kB / 0.5144 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.2108, allocations: 79.42 kB / 0.5145 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2108, allocations: 4 kB / 0.5145 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of Templates: time 0.2051/0.4159, allocations: 10.78 MB / 0.525 GB, free: 67.92 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches