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.001369/0.001369, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001637/0.001637, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.505/1.505, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.1821/0.1821, allocations: 29.42 MB / 290.7 MB, free: 3.266 MB / 270.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.002139/0.002139, allocations: 63.91 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3595, allocations: 62.45 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007692/0.3672, allocations: 8.375 MB / 0.4903 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004886/0.3721, allocations: 2.871 MB / 0.4931 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009112/0.373, allocations: 44.78 kB / 0.4931 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.3755, allocations: 1.058 MB / 0.4941 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.3771, allocations: 0.6233 MB / 0.4947 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.379, allocations: 0.7538 MB / 0.4955 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.3806, allocations: 1.619 MB / 0.4971 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000809/0.3814, allocations: 0.6798 MB / 0.4977 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009737/0.3824, allocations: 0.7623 MB / 0.4985 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.3835, allocations: 0.959 MB / 0.4994 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.3836, allocations: 112.5 kB / 0.4995 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008781/0.3845, allocations: 487.9 kB / 0.5 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.385, allocations: 0.6706 MB / 0.5006 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005419/0.3855, allocations: 0.5848 MB / 0.5012 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.387, allocations: 1.837 MB / 0.503 GB, free: 25.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.387, allocations: 0 / 0.503 GB, free: 25.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.387, allocations: 3.156 kB / 0.503 GB, free: 25.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.3871, allocations: 0 / 0.503 GB, free: 25.96 MB / 446.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.002625/0.3897, allocations: 1.617 MB / 0.5046 GB, free: 24.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3897, allocations: 13.11 kB / 0.5046 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.3918, allocations: 398.4 kB / 0.505 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.3932, allocations: 0.8148 MB / 0.5058 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.3933, allocations: 91.8 kB / 0.5059 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.3936, allocations: 149.1 kB / 0.506 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.3956, allocations: 1.853 MB / 0.5078 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.3957, allocations: 14.83 kB / 0.5078 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.3958, allocations: 51.03 kB / 0.5079 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002703/0.396, allocations: 98.36 kB / 0.508 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3979, allocations: 1.486 MB / 0.5094 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007095/0.405, allocations: 7.755 MB / 0.517 GB, free: 16.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.406, allocations: 0.6573 MB / 0.5176 GB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.4065, allocations: 447.9 kB / 0.5181 GB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.4066, allocations: 17.38 kB / 0.5181 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4066, allocations: 39.34 kB / 0.5181 GB, free: 16.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.4066, allocations: 5.312 kB / 0.5181 GB, free: 16.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.003499/0.4101, allocations: 2.39 MB / 0.5204 GB, free: 15.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4102, allocations: 87.09 kB / 0.5205 GB, free: 15.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008643/0.411, allocations: 0.8156 MB / 0.5213 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.4111, allocations: 41.28 kB / 0.5214 GB, free: 14.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.4115, allocations: 0.7089 MB / 0.5221 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.4117, allocations: 323 kB / 0.5224 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.4122, allocations: 257.9 kB / 0.5226 GB, free: 13.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.4124, allocations: 412.8 kB / 0.523 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009426/0.4133, allocations: 450.7 kB / 0.5234 GB, free: 13.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.4144, allocations: 1.001 MB / 0.5244 GB, free: 12.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.4161, allocations: 1.59 MB / 0.526 GB, free: 11.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4161, allocations: 5.781 kB / 0.526 GB, free: 11.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003502/0.4196, allocations: 1.767 MB / 0.5277 GB, free: 10.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.4196, allocations: 13.09 kB / 0.5277 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001805/0.4214, allocations: 0.9825 MB / 0.5287 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008812/0.4223, allocations: 248.5 kB / 0.5289 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.4233, allocations: 309.4 kB / 0.5292 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.4272, allocations: 4.779 MB / 0.5339 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009531/0.4282, allocations: 49.05 kB / 0.5339 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4283, allocations: 71.78 kB / 0.534 GB, free: 6.094 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.0006464/0.4289, allocations: 432.4 kB / 0.5344 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.4291, allocations: 99.41 kB / 0.5345 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.4307, allocations: 0.9548 MB / 0.5354 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.4307, allocations: 9.328 kB / 0.5354 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.4307, allocations: 0 / 0.5354 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4307, allocations: 5.703 kB / 0.5354 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.4345, allocations: 1.855 MB / 0.5372 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4345, allocations: 2.75 kB / 0.5372 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008703/0.4354, allocations: 185 kB / 0.5374 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.4354, allocations: 10.34 kB / 0.5374 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.4354, allocations: 23.91 kB / 0.5375 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.4354, allocations: 9.875 kB / 0.5375 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4355, allocations: 5.344 kB / 0.5375 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.4373, allocations: 1.407 MB / 0.5388 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.4375, allocations: 85.91 kB / 0.5389 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.4377, allocations: 29.98 kB / 0.539 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.4381, allocations: 29.47 kB / 0.539 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4382, allocations: 51.31 kB / 0.539 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.4383, allocations: 28.3 kB / 0.5391 GB, free: 3.793 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000749/0.439, allocations: 0.5106 MB / 0.5396 GB, free: 3.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.439, allocations: 0 / 0.5396 GB, free: 3.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001265/0.4403, allocations: 300.7 kB / 0.5398 GB, free: 3.551 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.000159/0.4404, allocations: 124.9 kB / 0.54 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.4427, allocations: 1.41 MB / 0.5413 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.4427, allocations: 4 kB / 0.5413 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005479/0.4433, allocations: 380.1 kB / 0.5417 GB, free: 2.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.4441, allocations: 190.8 kB / 0.5419 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.448, allocations: 2.756 MB / 0.5446 GB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.4488, allocations: 0.644 MB / 0.5452 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.4498, allocations: 422.3 kB / 0.5456 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.4501, allocations: 83.16 kB / 0.5457 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4501, allocations: 0 / 0.5457 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of Templates: time 0.02226/0.4723, allocations: 10.71 MB / 0.5562 GB, free: 8.293 MB / 462.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 -s ida -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: 5.574270620010793]