Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002246/0.002246, allocations: 109.3 kB / 17.74 MB, free: 5.359 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.002464/0.002464, allocations: 188.1 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.826/2.826, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4681/0.4681, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002464, allocations: 63.91 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8937/0.8962, allocations: 58.06 MB / 0.5048 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.009889/0.9062, allocations: 2.107 MB / 0.5068 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008325/0.9147, allocations: 2.035 MB / 0.5088 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.915, allocations: 1.281 kB / 0.5088 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.9156, allocations: 10.98 kB / 0.5088 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.916, allocations: 35.77 kB / 0.5089 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02363/0.9397, allocations: 0.8379 MB / 0.5097 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.9401, allocations: 76.25 kB / 0.5098 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.9402, allocations: 4.469 kB / 0.5098 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.9405, allocations: 37.5 kB / 0.5098 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.9407, allocations: 44.09 kB / 0.5098 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.9407, allocations: 1.344 kB / 0.5098 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007324/0.9481, allocations: 1.404 MB / 0.5112 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.9482, allocations: 12.09 kB / 0.5112 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.9484, allocations: 23.08 kB / 0.5112 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02209/0.9705, allocations: 1.31 MB / 0.5125 GB, free: 3.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.9706, allocations: 0 / 0.5125 GB, free: 3.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.9706, allocations: 4 kB / 0.5125 GB, free: 3.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.496e-05/0.9706, allocations: 0 / 0.5125 GB, free: 3.926 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001728/0.9724, allocations: 0.5064 MB / 0.513 GB, free: 3.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/0.9725, allocations: 13.95 kB / 0.513 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.062e-05/0.9726, allocations: 8.281 kB / 0.513 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.9728, allocations: 183.9 kB / 0.5132 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.9729, allocations: 0 / 0.5132 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.9729, allocations: 1.438 kB / 0.5132 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.9732, allocations: 62.69 kB / 0.5133 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.9732, allocations: 4 kB / 0.5133 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.9733, allocations: 1.062 kB / 0.5133 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.9733, allocations: 0.7031 kB / 0.5133 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.9734, allocations: 27.44 kB / 0.5133 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.9736, allocations: 167.1 kB / 0.5135 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.9738, allocations: 49.62 kB / 0.5135 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.9739, allocations: 34.59 kB / 0.5135 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.9739, allocations: 0 / 0.5135 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.974, allocations: 35.72 kB / 0.5136 GB, free: 2.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.804e-06/0.974, allocations: 0 / 0.5136 GB, free: 2.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005238/0.9745, allocations: 150.4 kB / 0.5137 GB, free: 2.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.9746, allocations: 88.84 kB / 0.5138 GB, free: 2.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.9748, allocations: 122.5 kB / 0.5139 GB, free: 2.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.9748, allocations: 25.7 kB / 0.514 GB, free: 2.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.9748, allocations: 95.89 kB / 0.514 GB, free: 2.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.9749, allocations: 19.03 kB / 0.5141 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.975, allocations: 26.11 kB / 0.5141 GB, free: 2.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.9751, allocations: 324 kB / 0.5144 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.9752, allocations: 17.67 kB / 0.5144 GB, free: 2.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.9753, allocations: 23.75 kB / 0.5144 GB, free: 2.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.9755, allocations: 124.6 kB / 0.5146 GB, free: 2.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9755, allocations: 7.875 kB / 0.5146 GB, free: 2.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002678/0.9758, allocations: 130.2 kB / 0.5147 GB, free: 1.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/0.9759, allocations: 42.16 kB / 0.5147 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9759, allocations: 4.062 kB / 0.5147 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.9759, allocations: 1.812 kB / 0.5147 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.9759, allocations: 0 / 0.5147 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.9759, allocations: 0 / 0.5147 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.976, allocations: 6.875 kB / 0.5147 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.9761, allocations: 3.219 kB / 0.5147 GB, free: 1.914 MB / 382.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.00015/0.9762, allocations: 160.5 kB / 0.5149 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.9763, allocations: 8.75 kB / 0.5149 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.9763, allocations: 8.031 kB / 0.5149 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9763, allocations: 4 kB / 0.5149 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9763, allocations: 1 kB / 0.5149 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9763, allocations: 0 / 0.5149 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.9765, allocations: 177.1 kB / 0.5151 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.9765, allocations: 1.719 kB / 0.5151 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.9765, allocations: 0 / 0.5151 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.9765, allocations: 1.031 kB / 0.5151 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.9766, allocations: 2.719 kB / 0.5151 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.9766, allocations: 5.344 kB / 0.5151 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9766, allocations: 4.594 kB / 0.5151 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.977, allocations: 216.9 kB / 0.5153 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.9771, allocations: 84.44 kB / 0.5154 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.9771, allocations: 1.828 kB / 0.5154 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.9772, allocations: 1.25 kB / 0.5154 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.9772, allocations: 7 kB / 0.5154 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.9772, allocations: 4.266 kB / 0.5154 GB, free: 1.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.059e-05/0.9773, allocations: 100.8 kB / 0.5155 GB, free: 1.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9773, allocations: 1.5 kB / 0.5155 GB, free: 1.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002537/0.9799, allocations: 317.3 kB / 0.5158 GB, free: 1.191 MB / 382.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.003044/0.9829, allocations: 366.3 kB / 0.5161 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007335/0.9837, allocations: 206.3 kB / 0.5163 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.9837, allocations: 0 / 0.5163 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.984, allocations: 149.9 kB / 0.5165 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.9846, allocations: 11.95 kB / 0.5165 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.9857, allocations: 282.5 kB / 0.5168 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.9861, allocations: 0.7021 MB / 0.5175 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.9862, allocations: 8.656 kB / 0.5175 GB, free: 15.94 MB / 398.1 MB Notification: Performance of SimCode: time 1.333e-06/0.9862, allocations: 0 / 0.5175 GB, free: 15.94 MB / 398.1 MB Notification: Performance of Templates: time 0.03454/1.021, allocations: 5.719 MB / 0.523 GB, free: 14.61 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches