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.001139/0.001139, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.677/1.677, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001016/0.001016, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1714/0.1714, allocations: 37.98 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.747e-05, allocations: 4 kB / 417.7 MB, free: 29.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 56.32 MB / 474.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3902/0.4994, allocations: 102.4 MB / 0.5629 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4997, allocations: 97.11 kB / 0.563 GB, free: 472 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08894/0.5887, allocations: 32.56 MB / 0.5948 GB, free: 4.383 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5887, allocations: 0 / 0.5948 GB, free: 4.383 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.195e-05/0.5888, allocations: 32 kB / 0.5948 GB, free: 4.352 MB / 394.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.00238/0.5912, allocations: 1.301 MB / 0.5961 GB, free: 3.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5912, allocations: 8.031 kB / 0.5961 GB, free: 3.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.5927, allocations: 282 kB / 0.5964 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/0.5969, allocations: 1.772 MB / 0.5981 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.099e-05/0.597, allocations: 84.7 kB / 0.5982 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.5972, allocations: 120.6 kB / 0.5983 GB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.5999, allocations: 1.774 MB / 0.6 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.6, allocations: 11.88 kB / 0.6001 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.6001, allocations: 57.98 kB / 0.6001 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.613e-05/0.6002, allocations: 77.45 kB / 0.6002 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.6024, allocations: 1.36 MB / 0.6015 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00821/0.6106, allocations: 7.961 MB / 0.6093 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.6118, allocations: 0.9297 MB / 0.6102 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007096/0.6125, allocations: 0.5654 MB / 0.6107 GB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.6126, allocations: 19.2 kB / 0.6108 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.6126, allocations: 45.09 kB / 0.6108 GB, free: 6.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 3.317e-06/0.6126, allocations: 0 / 0.6108 GB, free: 6.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=99): time 0.003722/0.6163, allocations: 2.476 MB / 0.6132 GB, free: 4.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.6164, allocations: 89.92 kB / 0.6133 GB, free: 3.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/0.6172, allocations: 0.6734 MB / 0.614 GB, free: 3.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/0.6173, allocations: 41.7 kB / 0.614 GB, free: 3.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.6177, allocations: 0.6342 MB / 0.6146 GB, free: 2.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.618, allocations: 366.8 kB / 0.615 GB, free: 2.281 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.6181, allocations: 24 kB / 0.615 GB, free: 2.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6182, allocations: 414.7 kB / 0.6154 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007747/0.619, allocations: 0.4952 MB / 0.6159 GB, free: 1.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.6201, allocations: 0.9753 MB / 0.6168 GB, free: 164 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.6211, allocations: 0.6955 MB / 0.6175 GB, free: 15.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.6211, allocations: 8 kB / 0.6175 GB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003216/0.6244, allocations: 1.81 MB / 0.6193 GB, free: 13.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.6244, allocations: 20.05 kB / 0.6193 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001968/0.6264, allocations: 1.142 MB / 0.6204 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008915/0.6273, allocations: 246.3 kB / 0.6207 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.6283, allocations: 307.4 kB / 0.6209 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.6329, allocations: 4.779 MB / 0.6256 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.6339, allocations: 67.94 kB / 0.6257 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.634, allocations: 67.98 kB / 0.6257 GB, free: 6.598 MB / 426.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 () * 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.0002696/0.6343, allocations: 180.5 kB / 0.6259 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.6345, allocations: 98.84 kB / 0.626 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.6365, allocations: 1.147 MB / 0.6271 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/0.6366, allocations: 19.98 kB / 0.6271 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6366, allocations: 4 kB / 0.6272 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.6366, allocations: 11.94 kB / 0.6272 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.641, allocations: 2.41 MB / 0.6295 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.641, allocations: 4 kB / 0.6295 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009623/0.642, allocations: 203.7 kB / 0.6297 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.642, allocations: 4 kB / 0.6297 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-05/0.6421, allocations: 23.98 kB / 0.6297 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.6421, allocations: 8 kB / 0.6297 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6421, allocations: 3.938 kB / 0.6298 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.6445, allocations: 1.774 MB / 0.6315 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.6448, allocations: 167.8 kB / 0.6316 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.645, allocations: 24.09 kB / 0.6317 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.6455, allocations: 51.88 kB / 0.6317 GB, free: 284 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.6456, allocations: 64.84 kB / 0.6318 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.6457, allocations: 23.98 kB / 0.6318 GB, free: 196 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007495/0.6464, allocations: 0.5069 MB / 0.6323 GB, free: 15.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6464, allocations: 0 / 0.6323 GB, free: 15.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001341/0.6478, allocations: 343.9 kB / 0.6326 GB, free: 15.35 MB / 442.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 () * 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.0003754/0.6482, allocations: 211.8 kB / 0.6328 GB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002533/0.6507, allocations: 1.593 MB / 0.6344 GB, free: 13.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.6507, allocations: 0 / 0.6344 GB, free: 13.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007468/0.6515, allocations: 0.4976 MB / 0.6349 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.6523, allocations: 167.3 kB / 0.635 GB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.6563, allocations: 2.399 MB / 0.6374 GB, free: 10.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009307/0.6573, allocations: 1.272 MB / 0.6386 GB, free: 9.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001202/0.6585, allocations: 416.4 kB / 0.639 GB, free: 8.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.6587, allocations: 83.42 kB / 0.6391 GB, free: 8.598 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6588, allocations: 4 kB / 0.6391 GB, free: 8.594 MB / 442.7 MB Notification: Performance of Templates: time 0.02066/0.6794, allocations: 11.53 MB / 0.6503 GB, free: 13.07 MB / 458.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