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.001253/0.001253, allocations: 176.4 kB / 17.4 MB, free: 4.297 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.564/1.564, allocations: 205.4 MB / 223.6 MB, free: 9.004 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.000793/0.0007929, allocations: 96.97 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.189/0.189, allocations: 38.07 MB / 358.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004984, allocations: 12 kB / 425.2 MB, free: 37.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3971, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.5591, allocations: 102.5 MB / 0.5704 GB, free: 15.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.5594, allocations: 99.81 kB / 0.5705 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09619/0.6557, allocations: 32.5 MB / 0.6022 GB, free: 14.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6557, allocations: 0 / 0.6022 GB, free: 14.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001103/0.6558, allocations: 28 kB / 0.6022 GB, free: 14.72 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.004904/0.6607, allocations: 1.437 MB / 0.6036 GB, free: 13.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.6608, allocations: 12.02 kB / 0.6036 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.663, allocations: 275 kB / 0.6039 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.6667, allocations: 1.317 MB / 0.6052 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.6669, allocations: 90.33 kB / 0.6053 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005064/0.6674, allocations: 120 kB / 0.6054 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/0.6712, allocations: 1.796 MB / 0.6071 GB, free: 9.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.558e-05/0.6713, allocations: 15.83 kB / 0.6072 GB, free: 9.395 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.6715, allocations: 55.98 kB / 0.6072 GB, free: 9.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.6717, allocations: 82.08 kB / 0.6073 GB, free: 9.258 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.6744, allocations: 1.382 MB / 0.6086 GB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.6855, allocations: 7.967 MB / 0.6164 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.687, allocations: 0.9479 MB / 0.6173 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009171/0.6879, allocations: 0.5745 MB / 0.6179 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.688, allocations: 28.91 kB / 0.6179 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.6881, allocations: 47.56 kB / 0.618 GB, free: 13.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 4.097e-06/0.6881, allocations: 0 / 0.618 GB, free: 13.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=99): time 0.00582/0.6939, allocations: 2.906 MB / 0.6208 GB, free: 10.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.694, allocations: 86.11 kB / 0.6209 GB, free: 10.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.6953, allocations: 0.7665 MB / 0.6216 GB, free: 10.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.962e-05/0.6954, allocations: 53.62 kB / 0.6217 GB, free: 10.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/0.696, allocations: 0.638 MB / 0.6223 GB, free: 9.387 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/0.6964, allocations: 351 kB / 0.6227 GB, free: 9.039 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.6965, allocations: 24 kB / 0.6227 GB, free: 9.016 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002598/0.6968, allocations: 422.6 kB / 0.6231 GB, free: 8.594 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009071/0.6977, allocations: 0.499 MB / 0.6236 GB, free: 8.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.6989, allocations: 0.9944 MB / 0.6245 GB, free: 6.875 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.7012, allocations: 1.645 MB / 0.6261 GB, free: 5.012 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.7013, allocations: 4 kB / 0.6262 GB, free: 5.008 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003555/0.7048, allocations: 1.845 MB / 0.628 GB, free: 3.141 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.7049, allocations: 8 kB / 0.628 GB, free: 3.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002078/0.707, allocations: 1.165 MB / 0.6291 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008888/0.7079, allocations: 250.2 kB / 0.6293 GB, free: 1.707 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.7089, allocations: 303.5 kB / 0.6296 GB, free: 1.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/0.7139, allocations: 4.779 MB / 0.6343 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.715, allocations: 76.06 kB / 0.6344 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.7151, allocations: 60 kB / 0.6344 GB, free: 12.1 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.0009789/0.7161, allocations: 417.2 kB / 0.6348 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.7164, allocations: 102.7 kB / 0.6349 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.7186, allocations: 1.156 MB / 0.636 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/0.7187, allocations: 27.98 kB / 0.6361 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7187, allocations: 3.938 kB / 0.6361 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.7187, allocations: 3.984 kB / 0.6361 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.7238, allocations: 2.431 MB / 0.6385 GB, free: 7.867 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.7238, allocations: 8.031 kB / 0.6385 GB, free: 7.859 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000962/0.7248, allocations: 203.7 kB / 0.6387 GB, free: 7.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.7248, allocations: 4 kB / 0.6387 GB, free: 7.656 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/0.7249, allocations: 27.92 kB / 0.6387 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.7249, allocations: 4 kB / 0.6387 GB, free: 7.625 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.7249, allocations: 0 / 0.6387 GB, free: 7.625 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.7277, allocations: 1.731 MB / 0.6404 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.7282, allocations: 167.8 kB / 0.6405 GB, free: 5.672 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.7284, allocations: 23.98 kB / 0.6406 GB, free: 5.648 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005883/0.729, allocations: 47.94 kB / 0.6406 GB, free: 5.602 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.7291, allocations: 64.86 kB / 0.6407 GB, free: 5.539 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.7292, allocations: 20 kB / 0.6407 GB, free: 5.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008756/0.7301, allocations: 0.5107 MB / 0.6412 GB, free: 5.008 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7301, allocations: 0 / 0.6412 GB, free: 5.008 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001561/0.7317, allocations: 339.9 kB / 0.6415 GB, free: 4.676 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.0004947/0.7322, allocations: 199 kB / 0.6417 GB, free: 4.473 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002892/0.7351, allocations: 1.616 MB / 0.6433 GB, free: 2.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.7351, allocations: 0 / 0.6433 GB, free: 2.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007472/0.7358, allocations: 0.5029 MB / 0.6438 GB, free: 2.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.7371, allocations: 171.2 kB / 0.6439 GB, free: 2.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2405/0.9777, allocations: 3.435 MB / 0.6473 GB, free: 132.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.9789, allocations: 1.249 MB / 0.6485 GB, free: 131.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001451/0.9803, allocations: 412.7 kB / 0.6489 GB, free: 131.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.9806, allocations: 84.02 kB / 0.649 GB, free: 131.8 MB / 474.7 MB Notification: Performance of SimCode: time 7.62e-07/0.9806, allocations: 0 / 0.649 GB, free: 131.8 MB / 474.7 MB Notification: Performance of Templates: time 0.02722/1.008, allocations: 11.36 MB / 0.6601 GB, free: 131.4 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/jenkins1/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