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.001627/0.001627, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001806/0.001806, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.1833/0.1833, allocations: 38.55 MB / 353.2 MB, free: 12.31 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.002167/0.002167, allocations: 74.7 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3051, allocations: 62.46 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01069/0.3158, allocations: 8.363 MB / 0.5513 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005835/0.3216, allocations: 2.871 MB / 0.5541 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.3223, allocations: 45.88 kB / 0.5542 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002909/0.3252, allocations: 1.049 MB / 0.5552 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.327, allocations: 0.6348 MB / 0.5558 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.3292, allocations: 0.7366 MB / 0.5565 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.3315, allocations: 1.626 MB / 0.5581 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.3325, allocations: 0.6905 MB / 0.5588 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.3338, allocations: 0.751 MB / 0.5595 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.3352, allocations: 0.9618 MB / 0.5605 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.3354, allocations: 104 kB / 0.5606 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3365, allocations: 491.2 kB / 0.5611 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006972/0.3372, allocations: 0.6817 MB / 0.5617 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007229/0.338, allocations: 0.5833 MB / 0.5623 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.3402, allocations: 1.833 MB / 0.5641 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3402, allocations: 0 / 0.5641 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3402, allocations: 0 / 0.5641 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.3403, allocations: 0 / 0.5641 GB, free: 14.72 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.003154/0.3434, allocations: 1.62 MB / 0.5657 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3435, allocations: 15.98 kB / 0.5657 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.3457, allocations: 391.6 kB / 0.566 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.3477, allocations: 0.8194 MB / 0.5668 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-05/0.3478, allocations: 94.72 kB / 0.5669 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.3481, allocations: 156 kB / 0.5671 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.351, allocations: 1.85 MB / 0.5689 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-05/0.351, allocations: 11.88 kB / 0.5689 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3512, allocations: 55.97 kB / 0.569 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000298/0.3515, allocations: 94.16 kB / 0.569 GB, free: 9.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.354, allocations: 1.487 MB / 0.5705 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.364, allocations: 7.751 MB / 0.5781 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3653, allocations: 0.6555 MB / 0.5787 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/0.366, allocations: 448.2 kB / 0.5791 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/0.3661, allocations: 16.66 kB / 0.5792 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.3661, allocations: 43.2 kB / 0.5792 GB, free: 14.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.386e-06/0.3661, allocations: 4 kB / 0.5792 GB, free: 14.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004244/0.3704, allocations: 2.385 MB / 0.5815 GB, free: 12.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.3704, allocations: 89.75 kB / 0.5816 GB, free: 12.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3715, allocations: 0.8129 MB / 0.5824 GB, free: 11.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.3715, allocations: 41.7 kB / 0.5824 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.3721, allocations: 0.7099 MB / 0.5831 GB, free: 10.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.3724, allocations: 321.3 kB / 0.5834 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.3728, allocations: 255.4 kB / 0.5837 GB, free: 9.941 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.373, allocations: 414.8 kB / 0.5841 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/0.3737, allocations: 455.7 kB / 0.5845 GB, free: 9.082 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.375, allocations: 1.001 MB / 0.5855 GB, free: 7.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.3771, allocations: 1.589 MB / 0.587 GB, free: 5.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.3771, allocations: 4 kB / 0.5871 GB, free: 5.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003285/0.3804, allocations: 1.756 MB / 0.5888 GB, free: 4.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.3804, allocations: 19.98 kB / 0.5888 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001875/0.3823, allocations: 0.9773 MB / 0.5897 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008866/0.3832, allocations: 251 kB / 0.59 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.3843, allocations: 307.5 kB / 0.5903 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005254/0.3895, allocations: 4.785 MB / 0.5949 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000804/0.3903, allocations: 52.05 kB / 0.595 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.3904, allocations: 71.98 kB / 0.5951 GB, free: 13.43 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.0006655/0.3911, allocations: 429.1 kB / 0.5955 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.3913, allocations: 107.3 kB / 0.5956 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.3929, allocations: 0.9491 MB / 0.5965 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.3929, allocations: 15.92 kB / 0.5965 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3929, allocations: 4 kB / 0.5965 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3929, allocations: 3.984 kB / 0.5965 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/0.3967, allocations: 1.856 MB / 0.5983 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3967, allocations: 0 / 0.5983 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009152/0.3976, allocations: 183.8 kB / 0.5985 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.3976, allocations: 7.938 kB / 0.5985 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.3977, allocations: 27.98 kB / 0.5985 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.3977, allocations: 4 kB / 0.5986 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3977, allocations: 3.938 kB / 0.5986 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.3998, allocations: 1.403 MB / 0.5999 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.4, allocations: 87.34 kB / 0.6 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.4001, allocations: 31.95 kB / 0.6 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.4005, allocations: 27.92 kB / 0.6001 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.4006, allocations: 52.56 kB / 0.6001 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.4006, allocations: 31.98 kB / 0.6001 GB, free: 8.117 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006676/0.4013, allocations: 0.5068 MB / 0.6006 GB, free: 7.609 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4013, allocations: 0 / 0.6006 GB, free: 7.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001061/0.4024, allocations: 292 kB / 0.6009 GB, free: 7.324 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.0001666/0.4025, allocations: 127.1 kB / 0.601 GB, free: 7.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.4049, allocations: 1.416 MB / 0.6024 GB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4049, allocations: 8.062 kB / 0.6024 GB, free: 5.727 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.4055, allocations: 387.4 kB / 0.6028 GB, free: 5.348 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.4064, allocations: 176.8 kB / 0.603 GB, free: 5.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.4108, allocations: 2.871 MB / 0.6058 GB, free: 2.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/0.4117, allocations: 0.6576 MB / 0.6064 GB, free: 1.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.412, allocations: 91.42 kB / 0.6065 GB, free: 1.465 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.412, allocations: 0 / 0.6065 GB, free: 1.465 MB / 446.1 MB Notification: Performance of Templates: time 0.03079/0.4428, allocations: 21.02 MB / 0.627 GB, free: 12.43 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: 10.191247900947928]