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.001387/0.001387, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001523/0.001523, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.514/1.514, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1951/0.1951, allocations: 38.03 MB / 330.5 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 64.69 kB / 400.3 MB, free: 33.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1185, allocations: 58.06 MB / 458.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01062/0.1291, allocations: 8.924 MB / 467.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006272/0.1355, allocations: 3.045 MB / 470.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.137, allocations: 31.81 kB / 470.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.1401, allocations: 1.08 MB / 471.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.1424, allocations: 0.6258 MB / 472 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.1447, allocations: 0.7249 MB / 472.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002487/0.1472, allocations: 1.629 MB / 474.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.1488, allocations: 0.8936 MB / 475.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.1505, allocations: 0.7354 MB / 476 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.1529, allocations: 0.9385 MB / 476.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.1532, allocations: 104 kB / 477 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.1545, allocations: 455.3 kB / 477.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007134/0.1552, allocations: 0.6663 MB / 478.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009093/0.1561, allocations: 0.7075 MB / 478.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.1584, allocations: 1.783 MB / 480.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1584, allocations: 0 / 480.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1584, allocations: 0 / 480.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.58e-05/0.1585, allocations: 0 / 480.6 MB, free: 0.9141 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.003214/0.1617, allocations: 1.646 MB / 482.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1617, allocations: 15.89 kB / 482.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.1635, allocations: 274.9 kB / 482.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.1653, allocations: 0.8753 MB / 483.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/0.1654, allocations: 90.7 kB / 483.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000312/0.1657, allocations: 152 kB / 483.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.1684, allocations: 1.854 MB / 485.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.1684, allocations: 7.938 kB / 485.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.1685, allocations: 52 kB / 485.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003201/0.1689, allocations: 110.1 kB / 485.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.1713, allocations: 1.48 MB / 487.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.1817, allocations: 8.269 MB / 495.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.1834, allocations: 1.168 MB / 496.6 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007392/0.1842, allocations: 488.3 kB / 497.1 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.44e-05/0.1843, allocations: 24.48 kB / 497.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.1843, allocations: 47.22 kB / 497.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 4.147e-06/0.1843, allocations: 0 / 497.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.004129/0.1885, allocations: 2.429 MB / 499.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.1885, allocations: 93.64 kB / 499.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.1896, allocations: 0.8212 MB / 0.4888 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.1897, allocations: 37.7 kB / 0.4888 GB, free: 12.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.1902, allocations: 0.6882 MB / 0.4895 GB, free: 11.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.1904, allocations: 303.7 kB / 0.4898 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.1908, allocations: 251.3 kB / 0.49 GB, free: 10.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.191, allocations: 414.7 kB / 0.4904 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/0.1918, allocations: 451.7 kB / 0.4908 GB, free: 10.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.1928, allocations: 1.001 MB / 0.4918 GB, free: 8.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.1948, allocations: 1.592 MB / 0.4934 GB, free: 6.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.1948, allocations: 4 kB / 0.4934 GB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003577/0.1984, allocations: 1.776 MB / 0.4951 GB, free: 5.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.1984, allocations: 16.03 kB / 0.4951 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001725/0.2002, allocations: 0.989 MB / 0.4961 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009333/0.2011, allocations: 246.3 kB / 0.4963 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.2022, allocations: 307.5 kB / 0.4966 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005536/0.2077, allocations: 5.176 MB / 0.5017 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.209, allocations: 55.89 kB / 0.5017 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.2092, allocations: 71.98 kB / 0.5018 GB, free: 13.83 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.000978/0.2102, allocations: 433.2 kB / 0.5022 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.2105, allocations: 94.78 kB / 0.5023 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.2123, allocations: 0.9493 MB / 0.5032 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.2123, allocations: 8 kB / 0.5032 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2123, allocations: 7.938 kB / 0.5032 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.2123, allocations: 3.984 kB / 0.5032 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.2163, allocations: 2.121 MB / 0.5053 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/0.2163, allocations: 4 kB / 0.5053 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009206/0.2172, allocations: 187.8 kB / 0.5055 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.2173, allocations: 4 kB / 0.5055 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/0.2173, allocations: 23.94 kB / 0.5055 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.2173, allocations: 12.17 kB / 0.5055 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2174, allocations: 4 kB / 0.5055 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.2194, allocations: 1.406 MB / 0.5069 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.2198, allocations: 167.8 kB / 0.5071 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.2199, allocations: 16 kB / 0.5071 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.2205, allocations: 31.97 kB / 0.5071 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2207, allocations: 56.56 kB / 0.5072 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.2207, allocations: 23.98 kB / 0.5072 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007151/0.2215, allocations: 0.538 MB / 0.5077 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2215, allocations: 4 kB / 0.5077 GB, free: 7.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001144/0.2226, allocations: 296 kB / 0.508 GB, free: 7.328 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.0001815/0.2228, allocations: 123.1 kB / 0.5081 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.2253, allocations: 1.461 MB / 0.5096 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2253, allocations: 0 / 0.5096 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.226, allocations: 417 kB / 0.51 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009664/0.2269, allocations: 186.5 kB / 0.5101 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.2315, allocations: 2.706 MB / 0.5128 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.2326, allocations: 1.251 MB / 0.514 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001093/0.2337, allocations: 420.7 kB / 0.5144 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.234, allocations: 83.42 kB / 0.5145 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.234, allocations: 0 / 0.5145 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Templates: time 0.2903/0.5243, allocations: 10.76 MB / 0.525 GB, free: 67.94 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 cvode -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