Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 103.1 kB / 17.59 MB, free: 5.426 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.001818/0.001818, allocations: 191.6 kB / 18.51 MB, free: 4.504 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.371/1.371, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1824/0.1824, allocations: 38.04 MB / 330.4 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 66.31 kB / 399.5 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.09014, allocations: 58.06 MB / 457.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003461/0.09364, allocations: 2.047 MB / 459.6 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007502/0.09442, allocations: 0.5259 MB / 460.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.09449, allocations: 4 kB / 460.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.09463, allocations: 7.922 kB / 460.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.09479, allocations: 27.83 kB / 460.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.09513, allocations: 59.86 kB / 460.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.09526, allocations: 67.7 kB / 460.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.09532, allocations: 7.984 kB / 460.3 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.09541, allocations: 19.92 kB / 460.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.867e-05/0.09548, allocations: 31.84 kB / 460.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.0955, allocations: 4 kB / 460.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.09569, allocations: 79.88 kB / 460.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.09575, allocations: 23.86 kB / 460.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.09578, allocations: 15.81 kB / 460.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.09597, allocations: 108 kB / 460.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09598, allocations: 0 / 460.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09599, allocations: 3.938 kB / 460.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.096, allocations: 0 / 460.6 MB, free: 5.039 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003542/0.09636, allocations: 400.1 kB / 461 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.0964, allocations: 11.89 kB / 461 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.09645, allocations: 12.84 kB / 461 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.09661, allocations: 180.2 kB / 461.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.09663, allocations: 384 / 461.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.09665, allocations: 8.062 kB / 461.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.09677, allocations: 61.62 kB / 461.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.09679, allocations: 0 / 461.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.0968, allocations: 0 / 461.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.09681, allocations: 0 / 461.2 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.123e-05/0.09687, allocations: 31.98 kB / 461.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.09703, allocations: 169.7 kB / 461.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.438e-05/0.09711, allocations: 54.56 kB / 461.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.09717, allocations: 52.75 kB / 461.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.09718, allocations: 0 / 461.5 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.09721, allocations: 30.56 kB / 461.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.09722, allocations: 0 / 461.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002694/0.09749, allocations: 187.4 kB / 461.7 MB, free: 3.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.09755, allocations: 85.14 kB / 461.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.546e-05/0.09766, allocations: 133.7 kB / 461.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.09768, allocations: 25.7 kB / 462 MB, free: 3.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.09772, allocations: 84.14 kB / 462.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.09778, allocations: 43.34 kB / 462.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.09782, allocations: 21.72 kB / 462.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.09792, allocations: 318.8 kB / 462.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.09797, allocations: 31.92 kB / 462.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.09801, allocations: 31.98 kB / 462.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.09814, allocations: 156.2 kB / 462.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09815, allocations: 0 / 462.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001577/0.09832, allocations: 147.2 kB / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.09837, allocations: 49.62 kB / 462.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.09838, allocations: 4 kB / 462.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.0984, allocations: 0 / 462.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-06/0.09841, allocations: 3.984 kB / 462.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.09842, allocations: 0 / 462.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.09845, allocations: 4 kB / 462.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.09847, allocations: 0 / 462.8 MB, free: 2.484 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.0986, allocations: 171.5 kB / 463 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.09863, allocations: 15.84 kB / 463 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.28e-05/0.09865, allocations: 4.375 kB / 463 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.09865, allocations: 3.938 kB / 463 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.09866, allocations: 0 / 463 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.09867, allocations: 4 kB / 463 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.09879, allocations: 181.4 kB / 463.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.0988, allocations: 0 / 463.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.0988, allocations: 4 kB / 463.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.09881, allocations: 4 kB / 463.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.09883, allocations: 0 / 463.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.09883, allocations: 8 kB / 463.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.09884, allocations: 3.984 kB / 463.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.09913, allocations: 275.5 kB / 463.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.09918, allocations: 77.11 kB / 463.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.0992, allocations: 7.938 kB / 463.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.829e-05/0.09923, allocations: 0 / 463.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.09925, allocations: 12.02 kB / 463.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.09926, allocations: 4 kB / 463.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.954e-05/0.09932, allocations: 99.14 kB / 463.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09932, allocations: 0 / 463.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.09956, allocations: 35.98 kB / 463.7 MB, free: 1.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0001557/0.09972, allocations: 115.2 kB / 463.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.1, allocations: 291.3 kB / 464.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1, allocations: 4.062 kB / 464.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1002, allocations: 219.3 kB / 464.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1005, allocations: 23.91 kB / 464.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.1009, allocations: 300.7 kB / 464.7 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1012, allocations: 0.6963 MB / 465.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.1012, allocations: 7.438 kB / 465.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1012, allocations: 0 / 465.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Templates: time 0.002875/0.1041, allocations: 1.25 MB / 466.6 MB, free: 14.51 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches