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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009615/0.0009615, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008539/0.0008539, allocations: 100.2 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1919/0.1919, allocations: 38.06 MB / 357.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 12 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3216, allocations: 56.32 MB / 480.3 MB, free: 9.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.4692, allocations: 102.5 MB / 0.5691 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.4696, allocations: 91.95 kB / 0.5692 GB, free: 15.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08822/0.5578, allocations: 32.57 MB / 0.601 GB, free: 14.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5579, allocations: 0 / 0.601 GB, free: 14.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.736e-05/0.558, allocations: 32 kB / 0.601 GB, free: 14.84 MB / 442.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.003253/0.5612, allocations: 1.449 MB / 0.6025 GB, free: 13.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5613, allocations: 12.03 kB / 0.6025 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.5629, allocations: 270 kB / 0.6027 GB, free: 13.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.5676, allocations: 1.791 MB / 0.6045 GB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/0.5677, allocations: 86.33 kB / 0.6046 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.5679, allocations: 120 kB / 0.6047 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.5705, allocations: 1.788 MB / 0.6064 GB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.864e-05/0.5706, allocations: 15.78 kB / 0.6064 GB, free: 9.035 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.5707, allocations: 55.98 kB / 0.6065 GB, free: 8.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.5709, allocations: 78.08 kB / 0.6066 GB, free: 8.902 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.573, allocations: 1.386 MB / 0.6079 GB, free: 7.508 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008537/0.5815, allocations: 7.96 MB / 0.6157 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5827, allocations: 0.954 MB / 0.6166 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.308e-05/0.5828, allocations: 13.05 kB / 0.6166 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5828, allocations: 43.56 kB / 0.6167 GB, free: 14.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 3.075e-06/0.5828, allocations: 0 / 0.6167 GB, free: 14.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=99): time 0.004894/0.5877, allocations: 3.227 MB / 0.6198 GB, free: 10.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.5878, allocations: 94.09 kB / 0.6199 GB, free: 10.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000835/0.5886, allocations: 0.6797 MB / 0.6206 GB, free: 10.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.5887, allocations: 33.7 kB / 0.6206 GB, free: 9.969 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.5891, allocations: 0.6458 MB / 0.6212 GB, free: 9.312 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.5894, allocations: 351.1 kB / 0.6216 GB, free: 8.965 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.5895, allocations: 32 kB / 0.6216 GB, free: 8.934 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5897, allocations: 418.7 kB / 0.622 GB, free: 8.516 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.5904, allocations: 0.499 MB / 0.6225 GB, free: 8.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000998/0.5914, allocations: 0.9827 MB / 0.6235 GB, free: 6.816 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009271/0.5924, allocations: 0.6977 MB / 0.6241 GB, free: 6.121 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.5924, allocations: 8 kB / 0.6241 GB, free: 6.113 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002988/0.5954, allocations: 1.842 MB / 0.6259 GB, free: 4.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.5954, allocations: 14.66 kB / 0.626 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001867/0.5973, allocations: 1.156 MB / 0.6271 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009023/0.5982, allocations: 254.8 kB / 0.6273 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.5993, allocations: 299.5 kB / 0.6276 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/0.6035, allocations: 4.861 MB / 0.6324 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.6046, allocations: 79.81 kB / 0.6324 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.6047, allocations: 56 kB / 0.6325 GB, free: 13.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007284/0.6054, allocations: 421.3 kB / 0.6329 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.6056, allocations: 94.78 kB / 0.633 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.6074, allocations: 1.168 MB / 0.6341 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/0.6075, allocations: 24 kB / 0.6341 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6075, allocations: 0 / 0.6341 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.6075, allocations: 3.984 kB / 0.6341 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004302/0.6118, allocations: 2.438 MB / 0.6365 GB, free: 8.895 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.6118, allocations: 4 kB / 0.6365 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009401/0.6128, allocations: 199.7 kB / 0.6367 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.6128, allocations: 8.188 kB / 0.6367 GB, free: 8.688 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.6129, allocations: 20 kB / 0.6368 GB, free: 8.668 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.6129, allocations: 11.98 kB / 0.6368 GB, free: 8.656 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6129, allocations: 3.938 kB / 0.6368 GB, free: 8.652 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.6151, allocations: 1.805 MB / 0.6385 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.6154, allocations: 163.9 kB / 0.6387 GB, free: 6.586 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.6155, allocations: 23.98 kB / 0.6387 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.616, allocations: 43.94 kB / 0.6388 GB, free: 6.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.6161, allocations: 60.88 kB / 0.6388 GB, free: 6.461 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.6162, allocations: 27.98 kB / 0.6388 GB, free: 6.434 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006526/0.6169, allocations: 0.5148 MB / 0.6393 GB, free: 5.922 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6169, allocations: 0 / 0.6393 GB, free: 5.922 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001183/0.6181, allocations: 347.9 kB / 0.6397 GB, free: 5.582 MB / 474.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 (90): * Single equations (assignments): 85 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003568/0.6184, allocations: 204 kB / 0.6399 GB, free: 5.379 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.6208, allocations: 1.617 MB / 0.6414 GB, free: 3.723 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.6208, allocations: 3.938 kB / 0.6414 GB, free: 3.719 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006443/0.6215, allocations: 0.5057 MB / 0.6419 GB, free: 3.215 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.6222, allocations: 159.4 kB / 0.6421 GB, free: 3.055 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1978/0.82, allocations: 3.404 MB / 0.6454 GB, free: 131.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.8211, allocations: 1.277 MB / 0.6467 GB, free: 131 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001336/0.8225, allocations: 413.1 kB / 0.6471 GB, free: 131 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.8227, allocations: 82.98 kB / 0.6471 GB, free: 131 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/0.8227, allocations: 0 / 0.6471 GB, free: 131 MB / 474.7 MB Notification: Performance of Templates: time 0.02242/0.8452, allocations: 11.28 MB / 0.6582 GB, free: 130.6 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (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) 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