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.001074/0.001074, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004939/0.004939, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8659/0.8659, allocations: 177.2 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2136/0.2136, allocations: 29.41 MB / 290.8 MB, free: 2.426 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.536e-05, allocations: 3.969 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.006454/0.00648, allocations: 8.275 MB / 439.8 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.009678, allocations: 2.885 MB / 442.6 MB, free: 1.879 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.009927, allocations: 47.62 kB / 442.7 MB, free: 1.832 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.01118, allocations: 1.057 MB / 443.7 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006956/0.01187, allocations: 0.6446 MB / 444.4 MB, free: 128 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1678/0.1797, allocations: 0.7595 MB / 445.1 MB, free: 44.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.1811, allocations: 1.662 MB / 446.8 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006476/0.1818, allocations: 0.6803 MB / 447.5 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008293/0.1826, allocations: 0.9846 MB / 448.5 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.1833, allocations: 0.8924 MB / 449.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.1834, allocations: 106.7 kB / 449.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.1839, allocations: 499.3 kB / 450 MB, free: 43.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.1842, allocations: 0.6991 MB / 450.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.1845, allocations: 0.4959 MB / 451.2 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.1857, allocations: 1.855 MB / 453 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1857, allocations: 0 / 453 MB, free: 43.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1857, allocations: 0 / 453 MB, free: 43.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.289e-05/0.1857, allocations: 0 / 453 MB, free: 43.26 MB / 410.7 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.00174/0.1875, allocations: 1.597 MB / 454.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1875, allocations: 10.52 kB / 454.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.1886, allocations: 402.5 kB / 455 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009696/0.1896, allocations: 0.8187 MB / 455.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.1896, allocations: 91.28 kB / 455.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.1898, allocations: 157.5 kB / 456.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.1912, allocations: 1.853 MB / 457.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.1912, allocations: 9.656 kB / 457.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.1913, allocations: 48.25 kB / 458 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.1914, allocations: 98.38 kB / 458.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1928, allocations: 1.478 MB / 459.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.1966, allocations: 7.738 MB / 467.3 MB, free: 34.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.1973, allocations: 0.6537 MB / 467.9 MB, free: 34.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.1976, allocations: 454.7 kB / 468.4 MB, free: 34.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.1977, allocations: 10.28 kB / 468.4 MB, free: 34.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.1977, allocations: 49.09 kB / 468.4 MB, free: 34.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.024e-06/0.1977, allocations: 0 / 468.4 MB, free: 34.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.002176/0.1999, allocations: 2.386 MB / 470.8 MB, free: 33.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1999, allocations: 86.92 kB / 470.9 MB, free: 33.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.2003, allocations: 0.8096 MB / 471.7 MB, free: 32.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.2004, allocations: 36.95 kB / 471.8 MB, free: 32.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.2006, allocations: 0.7066 MB / 472.5 MB, free: 32.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2007, allocations: 315.9 kB / 472.8 MB, free: 31.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.2008, allocations: 255.2 kB / 473 MB, free: 31.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.2009, allocations: 422.7 kB / 473.4 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.2013, allocations: 456.2 kB / 473.9 MB, free: 31.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.2018, allocations: 1.007 MB / 474.9 MB, free: 30.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2028, allocations: 1.58 MB / 476.5 MB, free: 29.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2028, allocations: 5.875 kB / 476.5 MB, free: 29.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001549/0.2043, allocations: 1.767 MB / 478.2 MB, free: 28.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2044, allocations: 15.59 kB / 478.3 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008668/0.2052, allocations: 0.976 MB / 479.2 MB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/0.2056, allocations: 249.5 kB / 479.5 MB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.2061, allocations: 317.9 kB / 479.8 MB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.2082, allocations: 4.765 MB / 484.6 MB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.2086, allocations: 57.14 kB / 484.6 MB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.2086, allocations: 71.95 kB / 484.7 MB, free: 24.3 MB / 410.7 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.0003421/0.209, allocations: 432 kB / 485.1 MB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.209, allocations: 103.3 kB / 485.2 MB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000905/0.2099, allocations: 0.9445 MB / 486.2 MB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.21, allocations: 12.94 kB / 486.2 MB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.21, allocations: 4.422 kB / 486.2 MB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.21, allocations: 4.328 kB / 486.2 MB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.2119, allocations: 1.864 MB / 488 MB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2119, allocations: 1.406 kB / 488 MB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.2123, allocations: 188.9 kB / 488.2 MB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2123, allocations: 4.125 kB / 488.2 MB, free: 22.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.2124, allocations: 25.27 kB / 488.3 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.2124, allocations: 4.219 kB / 488.3 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2124, allocations: 2.312 kB / 488.3 MB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.2135, allocations: 1.396 MB / 489.7 MB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.2136, allocations: 91.16 kB / 489.7 MB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.2136, allocations: 32.67 kB / 489.8 MB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.2138, allocations: 23.47 kB / 489.8 MB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.2139, allocations: 60.08 kB / 489.9 MB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.2139, allocations: 28.78 kB / 489.9 MB, free: 22.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000348/0.2142, allocations: 0.5109 MB / 490.4 MB, free: 21.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2142, allocations: 3.938 kB / 490.4 MB, free: 21.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005954/0.2148, allocations: 294.8 kB / 490.7 MB, free: 21.83 MB / 410.7 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.0001139/0.2149, allocations: 130.1 kB / 490.8 MB, free: 21.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.2162, allocations: 1.4 MB / 492.2 MB, free: 21.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2162, allocations: 0 / 492.2 MB, free: 21.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.2165, allocations: 386 kB / 492.6 MB, free: 21.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.217, allocations: 181.6 kB / 492.8 MB, free: 20.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.2197, allocations: 2.663 MB / 495.4 MB, free: 19.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.2202, allocations: 0.6529 MB / 496.1 MB, free: 19.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.2203, allocations: 90.88 kB / 496.2 MB, free: 19.4 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2203, allocations: 0 / 496.2 MB, free: 19.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01594/0.2363, allocations: 21.19 MB / 0.5052 GB, free: 9.891 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","/var/lib/jenkins/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: 6.136558538302779]