Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1,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_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,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_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 108.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.006722/0.006723, allocations: 191 kB / 18.67 MB, free: 4.434 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.859/2.859, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4617/0.4617, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 60.14 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9113, allocations: 58.06 MB / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.007846/0.9193, allocations: 2.088 MB / 0.5068 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006922/0.9263, allocations: 2.043 MB / 0.5088 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.9266, allocations: 0 / 0.5088 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.9269, allocations: 10.61 kB / 0.5088 GB, free: 4.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.9272, allocations: 28.28 kB / 0.5089 GB, free: 4.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006957/0.9342, allocations: 0.8376 MB / 0.5097 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.9346, allocations: 72.75 kB / 0.5097 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.9347, allocations: 8.766 kB / 0.5097 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.935, allocations: 38.55 kB / 0.5098 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.9352, allocations: 37.44 kB / 0.5098 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.9352, allocations: 2.344 kB / 0.5098 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007018/0.9422, allocations: 1.407 MB / 0.5112 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.9424, allocations: 13.83 kB / 0.5112 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.9426, allocations: 29.3 kB / 0.5112 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006852/0.9494, allocations: 1.327 MB / 0.5125 GB, free: 3.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.9495, allocations: 0.5625 kB / 0.5125 GB, free: 3.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.9495, allocations: 0 / 0.5125 GB, free: 3.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.9496, allocations: 1.219 kB / 0.5125 GB, free: 3.875 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002025/0.9516, allocations: 0.5173 MB / 0.513 GB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.372e-05/0.9517, allocations: 16.64 kB / 0.5131 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.9519, allocations: 8.875 kB / 0.5131 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.9522, allocations: 204.3 kB / 0.5133 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.9523, allocations: 1.156 kB / 0.5133 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.9523, allocations: 1.219 kB / 0.5133 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.9527, allocations: 65.97 kB / 0.5133 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.9527, allocations: 0 / 0.5133 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.9528, allocations: 0 / 0.5133 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.9528, allocations: 1.062 kB / 0.5133 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.9529, allocations: 31.94 kB / 0.5134 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.9532, allocations: 179 kB / 0.5135 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.9534, allocations: 58.19 kB / 0.5136 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.9535, allocations: 46.41 kB / 0.5136 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.9536, allocations: 0 / 0.5136 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.9536, allocations: 32.17 kB / 0.5137 GB, free: 2.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.364e-06/0.9537, allocations: 0.9375 kB / 0.5137 GB, free: 2.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006891/0.9544, allocations: 198.7 kB / 0.5138 GB, free: 2.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.9544, allocations: 91.62 kB / 0.5139 GB, free: 2.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.9547, allocations: 131.1 kB / 0.5141 GB, free: 2.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.9547, allocations: 25.7 kB / 0.5141 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.9548, allocations: 93.3 kB / 0.5142 GB, free: 2.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.402e-05/0.9549, allocations: 43.47 kB / 0.5142 GB, free: 2.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.955, allocations: 23.62 kB / 0.5142 GB, free: 2.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9551, allocations: 325.7 kB / 0.5145 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.9552, allocations: 35.23 kB / 0.5146 GB, free: 2.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.9553, allocations: 32.25 kB / 0.5146 GB, free: 2.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.9557, allocations: 157.5 kB / 0.5148 GB, free: 1.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9557, allocations: 0 / 0.5148 GB, free: 1.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004113/0.9561, allocations: 165.2 kB / 0.5149 GB, free: 1.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.9563, allocations: 48.77 kB / 0.515 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.9563, allocations: 5.438 kB / 0.515 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.9563, allocations: 0 / 0.515 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.296e-06/0.9563, allocations: 0.75 kB / 0.515 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.9564, allocations: 1.312 kB / 0.515 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.9565, allocations: 6.094 kB / 0.515 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.9565, allocations: 9.266 kB / 0.515 GB, free: 1.793 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.0001964/0.9567, allocations: 161.8 kB / 0.5151 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.9568, allocations: 12.97 kB / 0.5152 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.9568, allocations: 12.52 kB / 0.5152 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.9568, allocations: 1.562 kB / 0.5152 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9569, allocations: 0 / 0.5152 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9569, allocations: 0.6094 kB / 0.5152 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.9571, allocations: 183 kB / 0.5153 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.9571, allocations: 5.656 kB / 0.5153 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-06/0.9571, allocations: 0 / 0.5153 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.9571, allocations: 1.219 kB / 0.5153 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.9572, allocations: 3.609 kB / 0.5154 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.9572, allocations: 1.406 kB / 0.5154 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9572, allocations: 0 / 0.5154 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000686/0.9579, allocations: 297 kB / 0.5156 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.958, allocations: 88.48 kB / 0.5157 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.958, allocations: 7.375 kB / 0.5157 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.853e-05/0.9581, allocations: 2.594 kB / 0.5157 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.9581, allocations: 1.969 kB / 0.5157 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.9582, allocations: 4.891 kB / 0.5157 GB, free: 1.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.9583, allocations: 109.3 kB / 0.5158 GB, free: 1.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9583, allocations: 0 / 0.5158 GB, free: 1.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002674/0.961, allocations: 322.9 kB / 0.5161 GB, free: 1.047 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.003247/0.9643, allocations: 371.5 kB / 0.5165 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009342/0.9652, allocations: 298.3 kB / 0.5168 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.9653, allocations: 0 / 0.5168 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.9657, allocations: 226.3 kB / 0.517 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.9662, allocations: 13.23 kB / 0.517 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.9673, allocations: 333.7 kB / 0.5173 GB, free: 440 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.9677, allocations: 0.7069 MB / 0.518 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.9678, allocations: 8.938 kB / 0.518 GB, free: 15.73 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.9678, allocations: 0 / 0.518 GB, free: 15.73 MB / 398.1 MB Notification: Performance of Templates: time 0.02907/0.9969, allocations: 5.953 MB / 0.5238 GB, free: 14.3 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches