Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.002903/0.002903, allocations: 188.5 kB / 18.67 MB, free: 4.41 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.749/2.749, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4927/0.4927, allocations: 38.04 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 67.91 kB / 458.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8015/0.804, allocations: 58.05 MB / 0.5048 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.006175/0.8103, allocations: 2.107 MB / 0.5068 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00535/0.8157, allocations: 2.044 MB / 0.5088 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.8159, allocations: 4 kB / 0.5088 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.8162, allocations: 11.5 kB / 0.5088 GB, free: 4.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.8164, allocations: 32.16 kB / 0.5089 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004538/0.8209, allocations: 0.8293 MB / 0.5097 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.8212, allocations: 74.94 kB / 0.5098 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.8213, allocations: 11.77 kB / 0.5098 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.8215, allocations: 36.16 kB / 0.5098 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.8216, allocations: 43.86 kB / 0.5098 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.8217, allocations: 6.344 kB / 0.5098 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005164/0.8268, allocations: 1.4 MB / 0.5112 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.827, allocations: 30.11 kB / 0.5112 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.8271, allocations: 36.64 kB / 0.5113 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.8319, allocations: 1.356 MB / 0.5126 GB, free: 3.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.832, allocations: 4.969 kB / 0.5126 GB, free: 3.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.832, allocations: 0 / 0.5126 GB, free: 3.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.8321, allocations: 0 / 0.5126 GB, free: 3.852 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001748/0.8338, allocations: 0.5668 MB / 0.5132 GB, free: 3.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.8339, allocations: 9.812 kB / 0.5132 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.169e-05/0.834, allocations: 13.88 kB / 0.5132 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.8343, allocations: 196.5 kB / 0.5134 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.8343, allocations: 1.5 kB / 0.5134 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.8344, allocations: 1.312 kB / 0.5134 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.8347, allocations: 101.8 kB / 0.5135 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.8347, allocations: 0 / 0.5135 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.8348, allocations: 5.125 kB / 0.5135 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.8348, allocations: 0 / 0.5135 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.835, allocations: 61.98 kB / 0.5135 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.8352, allocations: 191.6 kB / 0.5137 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.8355, allocations: 102.1 kB / 0.5138 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.8357, allocations: 86.47 kB / 0.5139 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.8357, allocations: 1.125 kB / 0.5139 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.8357, allocations: 43.47 kB / 0.5139 GB, free: 2.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.8357, allocations: 3.938 kB / 0.5139 GB, free: 2.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009673/0.8367, allocations: 321.3 kB / 0.5143 GB, free: 2.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.8368, allocations: 94.66 kB / 0.5143 GB, free: 2.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.8371, allocations: 150.6 kB / 0.5145 GB, free: 2.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.8371, allocations: 26.89 kB / 0.5145 GB, free: 2.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.8372, allocations: 99 kB / 0.5146 GB, free: 2.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.8373, allocations: 80.16 kB / 0.5147 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.8374, allocations: 31.89 kB / 0.5147 GB, free: 2.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8375, allocations: 338 kB / 0.515 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.8377, allocations: 60.12 kB / 0.5151 GB, free: 1.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.8379, allocations: 65.31 kB / 0.5152 GB, free: 1.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.8384, allocations: 251.8 kB / 0.5154 GB, free: 1.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8384, allocations: 0 / 0.5154 GB, free: 1.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000601/0.839, allocations: 238.6 kB / 0.5156 GB, free: 1.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.8392, allocations: 63.09 kB / 0.5157 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.8392, allocations: 1.312 kB / 0.5157 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.8393, allocations: 0.5625 kB / 0.5157 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-06/0.8393, allocations: 4.594 kB / 0.5157 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.8393, allocations: 0 / 0.5157 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.8395, allocations: 14.19 kB / 0.5157 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.8396, allocations: 5.781 kB / 0.5157 GB, free: 1.566 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.0003806/0.84, allocations: 195.9 kB / 0.5159 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.8401, allocations: 17.5 kB / 0.5159 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.8401, allocations: 14.47 kB / 0.5159 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8401, allocations: 4.438 kB / 0.5159 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.8402, allocations: 4.531 kB / 0.5159 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.8402, allocations: 0.5625 kB / 0.5159 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.8405, allocations: 208.7 kB / 0.5161 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8405, allocations: 0.5625 kB / 0.5161 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-06/0.8405, allocations: 0.5625 kB / 0.5161 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.8406, allocations: 1.109 kB / 0.5161 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.8406, allocations: 5.703 kB / 0.5161 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.8406, allocations: 0 / 0.5161 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8406, allocations: 0.8125 kB / 0.5161 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.8421, allocations: 0.5268 MB / 0.5167 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.8422, allocations: 94.8 kB / 0.5167 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.8423, allocations: 3.781 kB / 0.5168 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.8424, allocations: 3.969 kB / 0.5168 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.8425, allocations: 6.781 kB / 0.5168 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.8425, allocations: 6.969 kB / 0.5168 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.8427, allocations: 112.5 kB / 0.5169 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.8427, allocations: 1.062 kB / 0.5169 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003085/0.8458, allocations: 341 kB / 0.5172 GB, free: 0.7539 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.003087/0.8489, allocations: 377.5 kB / 0.5176 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.8509, allocations: 0.7108 MB / 0.5183 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.8509, allocations: 0 / 0.5183 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.8521, allocations: 0.5712 MB / 0.5188 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.8527, allocations: 12.25 kB / 0.5188 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.8549, allocations: 0.4922 MB / 0.5193 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009186/0.8559, allocations: 0.7257 MB / 0.52 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.8559, allocations: 9.562 kB / 0.52 GB, free: 15 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.856, allocations: 0 / 0.52 GB, free: 15 MB / 398.1 MB Notification: Performance of Templates: time 0.03091/0.8869, allocations: 6.469 MB / 0.5263 GB, free: 13.07 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches