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.0007541/0.0007541, allocations: 91.78 kB / 16.65 MB, free: 6.59 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.0007872/0.0007872, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.253/1.253, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1636/0.1636, allocations: 38.09 MB / 330.8 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003086, allocations: 8 kB / 400.7 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09739, allocations: 59.16 MB / 459.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01035/0.1078, allocations: 10.47 MB / 470.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006869/0.1147, allocations: 3.661 MB / 474 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.116, allocations: 71.5 kB / 474.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007614/0.1168, allocations: 258.3 kB / 474.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.1182, allocations: 0.5795 MB / 474.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1199, allocations: 0.655 MB / 475.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.1225, allocations: 2.456 MB / 478 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.1248, allocations: 1.435 MB / 479.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.1259, allocations: 0.5754 MB / 480 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.1272, allocations: 0.9268 MB / 481 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.1273, allocations: 52 kB / 481 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009572/0.1283, allocations: 447.2 kB / 481.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005649/0.1289, allocations: 0.6078 MB / 482.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006493/0.1295, allocations: 0.6622 MB / 482.7 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.1312, allocations: 1.701 MB / 484.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1312, allocations: 0 / 484.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1313, allocations: 4 kB / 484.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.1313, allocations: 0 / 484.4 MB, free: 14.38 MB / 366.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.002562/0.1338, allocations: 1.397 MB / 485.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1339, allocations: 8.031 kB / 485.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.1354, allocations: 271 kB / 486.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.1368, allocations: 0.8363 MB / 486.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.1369, allocations: 94.64 kB / 487 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.1372, allocations: 159.9 kB / 487.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.1396, allocations: 1.846 MB / 489 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.1397, allocations: 15.92 kB / 489.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.1398, allocations: 48 kB / 489.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002862/0.1401, allocations: 98.16 kB / 489.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.1422, allocations: 1.491 MB / 490.7 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008196/0.1504, allocations: 8.292 MB / 499 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.1517, allocations: 1.164 MB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.1523, allocations: 492.2 kB / 0.4889 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.1524, allocations: 20.62 kB / 0.4889 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1524, allocations: 43.22 kB / 0.4889 GB, free: 13.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.825e-06/0.1525, allocations: 0 / 0.4889 GB, free: 13.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.003596/0.1561, allocations: 2.441 MB / 0.4913 GB, free: 10.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1561, allocations: 89.7 kB / 0.4914 GB, free: 10.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008534/0.157, allocations: 0.8174 MB / 0.4922 GB, free: 9.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.157, allocations: 37.7 kB / 0.4923 GB, free: 9.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.1575, allocations: 0.688 MB / 0.4929 GB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.1577, allocations: 303.7 kB / 0.4932 GB, free: 8.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1579, allocations: 121.6 kB / 0.4933 GB, free: 8.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.158, allocations: 418.7 kB / 0.4937 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006709/0.1587, allocations: 451.8 kB / 0.4942 GB, free: 7.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.1599, allocations: 1.005 MB / 0.4951 GB, free: 6.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.1617, allocations: 1.588 MB / 0.4967 GB, free: 4.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.1617, allocations: 4 kB / 0.4967 GB, free: 4.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00297/0.1647, allocations: 1.772 MB / 0.4984 GB, free: 2.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.975e-05/0.1648, allocations: 16 kB / 0.4984 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001671/0.1664, allocations: 0.9925 MB / 0.4994 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008377/0.1673, allocations: 254.3 kB / 0.4997 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009642/0.1683, allocations: 307.5 kB / 0.4999 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2125/0.3807, allocations: 4.786 MB / 0.5046 GB, free: 51.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009558/0.3817, allocations: 55.36 kB / 0.5047 GB, free: 51.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.3819, allocations: 71.58 kB / 0.5047 GB, free: 51.84 MB / 382.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.0005928/0.3825, allocations: 426.8 kB / 0.5051 GB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.3826, allocations: 102.9 kB / 0.5052 GB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.3843, allocations: 0.9574 MB / 0.5062 GB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3843, allocations: 8.906 kB / 0.5062 GB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3843, allocations: 1.875 kB / 0.5062 GB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.3843, allocations: 3.703 kB / 0.5062 GB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.3875, allocations: 2.128 MB / 0.5083 GB, free: 51.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3876, allocations: 2.062 kB / 0.5083 GB, free: 51.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/0.3884, allocations: 188.4 kB / 0.5085 GB, free: 51.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.3884, allocations: 4.25 kB / 0.5085 GB, free: 51.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.3885, allocations: 23.84 kB / 0.5085 GB, free: 51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.3885, allocations: 9.891 kB / 0.5085 GB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3885, allocations: 2.344 kB / 0.5085 GB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.3901, allocations: 1.403 MB / 0.5099 GB, free: 50.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.3903, allocations: 165.2 kB / 0.51 GB, free: 50.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.3904, allocations: 22.16 kB / 0.51 GB, free: 50.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.3908, allocations: 29.94 kB / 0.5101 GB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3909, allocations: 52.95 kB / 0.5101 GB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.3909, allocations: 24.06 kB / 0.5101 GB, free: 50.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006262/0.3916, allocations: 0.5451 MB / 0.5107 GB, free: 50.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3916, allocations: 0 / 0.5107 GB, free: 50.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009737/0.3925, allocations: 295.4 kB / 0.511 GB, free: 50.01 MB / 382.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.000134/0.3927, allocations: 123.4 kB / 0.5111 GB, free: 49.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.3946, allocations: 1.467 MB / 0.5125 GB, free: 49.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3946, allocations: 1.188 kB / 0.5125 GB, free: 49.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006186/0.3953, allocations: 410.9 kB / 0.5129 GB, free: 49.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.3964, allocations: 171.5 kB / 0.5131 GB, free: 49.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.4003, allocations: 3.404 MB / 0.5164 GB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/0.4011, allocations: 1.248 MB / 0.5176 GB, free: 46.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001028/0.4021, allocations: 419.6 kB / 0.518 GB, free: 46.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.4023, allocations: 77.8 kB / 0.5181 GB, free: 46.23 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4023, allocations: 0 / 0.5181 GB, free: 46.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01525/0.4176, allocations: 10.19 MB / 0.528 GB, free: 42.25 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.VoltageStability.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches