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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.182/0.182, allocations: 38.52 MB / 353.2 MB, free: 12.57 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 68.12 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3035, allocations: 62.48 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01096/0.3145, allocations: 9.131 MB / 0.5522 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006227/0.3207, allocations: 3.107 MB / 0.5552 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009418/0.3216, allocations: 45.97 kB / 0.5552 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.3247, allocations: 1.106 MB / 0.5563 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.3267, allocations: 0.6419 MB / 0.5569 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.3291, allocations: 0.7435 MB / 0.5577 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.3317, allocations: 1.628 MB / 0.5593 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.3329, allocations: 0.6866 MB / 0.5599 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.3345, allocations: 0.7471 MB / 0.5607 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.3363, allocations: 1.013 MB / 0.5616 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003581/0.3367, allocations: 108 kB / 0.5618 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.3381, allocations: 0.5148 MB / 0.5623 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008882/0.339, allocations: 0.6623 MB / 0.5629 GB, free: 244 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.3403, allocations: 0.7152 MB / 0.5636 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.3433, allocations: 1.817 MB / 0.5654 GB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3434, allocations: 0 / 0.5654 GB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3434, allocations: 4 kB / 0.5654 GB, free: 13.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.322e-05/0.3434, allocations: 0 / 0.5654 GB, free: 13.69 MB / 414.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.003955/0.3474, allocations: 1.618 MB / 0.567 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3474, allocations: 15.98 kB / 0.567 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.3498, allocations: 395.6 kB / 0.5674 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.3519, allocations: 0.8155 MB / 0.5681 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.321e-05/0.352, allocations: 86.7 kB / 0.5682 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004612/0.3524, allocations: 156 kB / 0.5684 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.3558, allocations: 1.854 MB / 0.5702 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.638e-05/0.3558, allocations: 15.89 kB / 0.5702 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.356, allocations: 44 kB / 0.5702 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003061/0.3563, allocations: 98.16 kB / 0.5703 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.359, allocations: 1.495 MB / 0.5718 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.3703, allocations: 8.191 MB / 0.5798 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.3716, allocations: 0.6595 MB / 0.5804 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.3723, allocations: 452.2 kB / 0.5809 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.3724, allocations: 16.58 kB / 0.5809 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.3725, allocations: 47.2 kB / 0.5809 GB, free: 13.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.386e-06/0.3725, allocations: 0 / 0.5809 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004413/0.3769, allocations: 2.396 MB / 0.5833 GB, free: 10.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.3769, allocations: 89.7 kB / 0.5834 GB, free: 10.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.3781, allocations: 0.8214 MB / 0.5842 GB, free: 9.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.3781, allocations: 41.69 kB / 0.5842 GB, free: 9.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/0.3787, allocations: 0.7023 MB / 0.5849 GB, free: 9.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.379, allocations: 321.4 kB / 0.5852 GB, free: 8.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.3794, allocations: 251.5 kB / 0.5854 GB, free: 8.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.3796, allocations: 414.7 kB / 0.5858 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007318/0.3804, allocations: 451.7 kB / 0.5863 GB, free: 7.586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.3816, allocations: 1.001 MB / 0.5872 GB, free: 6.332 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.3837, allocations: 1.596 MB / 0.5888 GB, free: 4.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.3837, allocations: 4 kB / 0.5888 GB, free: 4.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003414/0.3871, allocations: 1.765 MB / 0.5905 GB, free: 2.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.3871, allocations: 16.03 kB / 0.5905 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001804/0.3889, allocations: 0.9773 MB / 0.5915 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009434/0.3899, allocations: 254.3 kB / 0.5917 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.391, allocations: 311.5 kB / 0.592 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/0.3963, allocations: 4.862 MB / 0.5968 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009094/0.3972, allocations: 55.98 kB / 0.5968 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.3974, allocations: 67.98 kB / 0.5969 GB, free: 11.8 MB / 446.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.0008312/0.3982, allocations: 432.2 kB / 0.5973 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.3985, allocations: 103.3 kB / 0.5974 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.4003, allocations: 0.957 MB / 0.5983 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.4003, allocations: 8 kB / 0.5984 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4003, allocations: 15.92 kB / 0.5984 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.4003, allocations: 3.984 kB / 0.5984 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.4046, allocations: 2.09 MB / 0.6004 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4046, allocations: 0 / 0.6004 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009536/0.4055, allocations: 187.8 kB / 0.6006 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.4055, allocations: 4 kB / 0.6006 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/0.4056, allocations: 24 kB / 0.6006 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/0.4056, allocations: 11.92 kB / 0.6006 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4056, allocations: 4.188 kB / 0.6006 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.4077, allocations: 1.418 MB / 0.602 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.408, allocations: 91.31 kB / 0.6021 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.4082, allocations: 20 kB / 0.6021 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.4086, allocations: 23.98 kB / 0.6021 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.4087, allocations: 60.48 kB / 0.6022 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.4088, allocations: 24 kB / 0.6022 GB, free: 6.223 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008267/0.4096, allocations: 0.5419 MB / 0.6028 GB, free: 5.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4096, allocations: 4 kB / 0.6028 GB, free: 5.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001163/0.4108, allocations: 296 kB / 0.603 GB, free: 5.387 MB / 446.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.0001914/0.411, allocations: 130.5 kB / 0.6032 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.4135, allocations: 1.407 MB / 0.6045 GB, free: 3.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4136, allocations: 0 / 0.6045 GB, free: 3.805 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006126/0.4142, allocations: 385.1 kB / 0.6049 GB, free: 3.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.4153, allocations: 182.1 kB / 0.6051 GB, free: 3.258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.4203, allocations: 2.883 MB / 0.6079 GB, free: 320 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.4216, allocations: 1.247 MB / 0.6091 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.4219, allocations: 91.42 kB / 0.6092 GB, free: 14.94 MB / 462.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4219, allocations: 0 / 0.6092 GB, free: 14.94 MB / 462.1 MB Notification: Performance of Templates: time 0.03266/0.4546, allocations: 20.63 MB / 0.6293 GB, free: 10.29 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.945503499126062]