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.001102/0.001102, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001071/0.001071, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.376/1.376, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1761/0.1761, allocations: 38.03 MB / 330.4 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 69.44 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 58.05 MB / 457.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01884/0.1424, allocations: 8.925 MB / 466.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009727/0.1522, allocations: 3.045 MB / 469.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1534, allocations: 31.81 kB / 469.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004625/0.1581, allocations: 1.077 MB / 470.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.161, allocations: 0.6258 MB / 471.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.1645, allocations: 0.7249 MB / 472 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002977/0.1675, allocations: 1.625 MB / 473.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.1696, allocations: 0.8975 MB / 474.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.1713, allocations: 0.7276 MB / 475.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.1737, allocations: 0.9424 MB / 476.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004047/0.1741, allocations: 104 kB / 476.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.1759, allocations: 451.3 kB / 476.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.1771, allocations: 0.6702 MB / 477.4 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.1787, allocations: 0.7036 MB / 478.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.1819, allocations: 1.756 MB / 479.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.182, allocations: 0 / 479.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.182, allocations: 4 kB / 479.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.91e-05/0.1821, allocations: 3.938 kB / 479.8 MB, free: 1.652 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.0056/0.1877, allocations: 1.639 MB / 481.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1877, allocations: 15.83 kB / 481.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.1911, allocations: 275 kB / 481.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.1941, allocations: 0.8363 MB / 482.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.1942, allocations: 90.7 kB / 482.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007266/0.195, allocations: 152 kB / 482.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004923/0.1999, allocations: 1.85 MB / 484.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.44e-05/0.2, allocations: 11.88 kB / 484.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.2002, allocations: 52 kB / 484.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005033/0.2008, allocations: 102.1 kB / 484.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004201/0.205, allocations: 1.495 MB / 486.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/0.2193, allocations: 8.288 MB / 494.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.2207, allocations: 1.162 MB / 495.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006727/0.2214, allocations: 492.2 kB / 496.3 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.084e-05/0.2215, allocations: 16.62 kB / 496.3 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.2215, allocations: 43.22 kB / 496.3 MB, free: 388 kB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.906e-06/0.2215, allocations: 0 / 496.3 MB, free: 388 kB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.004045/0.2256, allocations: 2.437 MB / 498.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.2256, allocations: 89.7 kB / 498.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009764/0.2266, allocations: 0.8251 MB / 499.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.2267, allocations: 37.69 kB / 499.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.2272, allocations: 0.6803 MB / 0.4887 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.2274, allocations: 303.7 kB / 0.489 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.2277, allocations: 255.3 kB / 0.4892 GB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.228, allocations: 418.8 kB / 0.4896 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006761/0.2286, allocations: 447.7 kB / 0.49 GB, free: 10.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.2297, allocations: 1.005 MB / 0.491 GB, free: 9.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.2316, allocations: 1.588 MB / 0.4926 GB, free: 7.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/0.2316, allocations: 8 kB / 0.4926 GB, free: 7.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003153/0.2348, allocations: 1.775 MB / 0.4943 GB, free: 5.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.2348, allocations: 16 kB / 0.4943 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001764/0.2366, allocations: 0.9888 MB / 0.4953 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/0.2375, allocations: 254.3 kB / 0.4955 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.2385, allocations: 311.4 kB / 0.4958 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.2433, allocations: 5.176 MB / 0.5009 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000856/0.2442, allocations: 59.89 kB / 0.5009 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.2443, allocations: 68 kB / 0.501 GB, free: 14.59 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.000643/0.245, allocations: 425.1 kB / 0.5014 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.2452, allocations: 94.78 kB / 0.5015 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.2468, allocations: 0.9571 MB / 0.5024 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2468, allocations: 8.188 kB / 0.5024 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2468, allocations: 7.938 kB / 0.5024 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2468, allocations: 7.969 kB / 0.5025 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.2505, allocations: 2.127 MB / 0.5045 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.2505, allocations: 4 kB / 0.5045 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000919/0.2514, allocations: 187.8 kB / 0.5047 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.2515, allocations: 4 kB / 0.5047 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/0.2515, allocations: 23.98 kB / 0.5047 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.2516, allocations: 4 kB / 0.5047 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.2516, allocations: 12.11 kB / 0.5048 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.2534, allocations: 1.408 MB / 0.5061 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.2536, allocations: 167.8 kB / 0.5063 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.2538, allocations: 23.98 kB / 0.5063 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.2542, allocations: 19.98 kB / 0.5063 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2543, allocations: 52.53 kB / 0.5064 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.2544, allocations: 27.98 kB / 0.5064 GB, free: 8.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000628/0.255, allocations: 0.538 MB / 0.5069 GB, free: 8.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.255, allocations: 0 / 0.5069 GB, free: 8.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001059/0.2561, allocations: 300 kB / 0.5072 GB, free: 8.07 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.0001647/0.2563, allocations: 123.2 kB / 0.5073 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.2591, allocations: 1.758 MB / 0.5091 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2591, allocations: 0 / 0.5091 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005655/0.2597, allocations: 411.4 kB / 0.5094 GB, free: 5.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009064/0.2606, allocations: 176 kB / 0.5096 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.2647, allocations: 2.848 MB / 0.5124 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008959/0.2656, allocations: 1.251 MB / 0.5136 GB, free: 1.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.2659, allocations: 91.42 kB / 0.5137 GB, free: 1.297 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2659, allocations: 0 / 0.5137 GB, free: 1.297 MB / 398.1 MB Notification: Performance of Templates: time 0.1899/0.4558, allocations: 20.28 MB / 0.5335 GB, free: 62.54 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 -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