Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,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_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,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_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001052/0.001052, allocations: 192 kB / 18 MB, free: 4.977 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.416/1.416, allocations: 222.9 MB / 241.7 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.1757/0.1757, allocations: 38.04 MB / 329.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 55.91 kB / 458.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.504, allocations: 58.05 MB / 0.5041 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004742/0.5088, allocations: 2.035 MB / 0.5061 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.5098, allocations: 0.53 MB / 0.5066 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.5099, allocations: 0 / 0.5066 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.5102, allocations: 11.03 kB / 0.5066 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.5103, allocations: 36.19 kB / 0.5067 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.5107, allocations: 59.42 kB / 0.5067 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.5109, allocations: 63.89 kB / 0.5068 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.617e-05/0.511, allocations: 3.734 kB / 0.5068 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.5111, allocations: 34.14 kB / 0.5068 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.5112, allocations: 34.62 kB / 0.5068 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.5112, allocations: 0 / 0.5068 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.5115, allocations: 79.52 kB / 0.5069 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.5115, allocations: 7.516 kB / 0.5069 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.5116, allocations: 13.02 kB / 0.5069 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.5119, allocations: 101.9 kB / 0.507 GB, free: 6.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5119, allocations: 0 / 0.507 GB, free: 6.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5119, allocations: 4 kB / 0.507 GB, free: 6.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.5119, allocations: 0 / 0.507 GB, free: 6.07 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.0004244/0.5123, allocations: 385.4 kB / 0.5074 GB, free: 5.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5124, allocations: 14.05 kB / 0.5074 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.5125, allocations: 6.469 kB / 0.5074 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.5126, allocations: 185.7 kB / 0.5076 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5126, allocations: 0.9375 kB / 0.5076 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.5127, allocations: 5.938 kB / 0.5076 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.5128, allocations: 51.17 kB / 0.5077 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5128, allocations: 4 kB / 0.5077 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5129, allocations: 1.062 kB / 0.5077 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5129, allocations: 0 / 0.5077 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.17e-05/0.5129, allocations: 22.47 kB / 0.5077 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.5131, allocations: 161.2 kB / 0.5078 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.5132, allocations: 47.17 kB / 0.5079 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.5133, allocations: 39.97 kB / 0.5079 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.5133, allocations: 4.656 kB / 0.5079 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.5134, allocations: 31.69 kB / 0.508 GB, free: 5.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 2.214e-06/0.5134, allocations: 1.156 kB / 0.508 GB, free: 5.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003661/0.5137, allocations: 140.6 kB / 0.5081 GB, free: 5.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.5138, allocations: 84.36 kB / 0.5082 GB, free: 4.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.5139, allocations: 114.4 kB / 0.5083 GB, free: 4.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.5139, allocations: 27.05 kB / 0.5083 GB, free: 4.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.514, allocations: 90.84 kB / 0.5084 GB, free: 4.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.514, allocations: 30.02 kB / 0.5084 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.5141, allocations: 21.7 kB / 0.5084 GB, free: 4.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.5142, allocations: 314.2 kB / 0.5087 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-05/0.5142, allocations: 22.12 kB / 0.5088 GB, free: 4.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.5143, allocations: 24.97 kB / 0.5088 GB, free: 4.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.5145, allocations: 122.2 kB / 0.5089 GB, free: 4.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5145, allocations: 1.188 kB / 0.5089 GB, free: 4.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001964/0.5147, allocations: 127.8 kB / 0.509 GB, free: 4.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.249e-05/0.5148, allocations: 41.31 kB / 0.5091 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5148, allocations: 4.75 kB / 0.5091 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5148, allocations: 1.094 kB / 0.5091 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.5148, allocations: 0 / 0.5091 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.5148, allocations: 1.766 kB / 0.5091 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/0.5149, allocations: 2.781 kB / 0.5091 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.5149, allocations: 5.391 kB / 0.5091 GB, free: 4.148 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.0001363/0.515, allocations: 163.1 kB / 0.5092 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.5151, allocations: 8.172 kB / 0.5092 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.5151, allocations: 15.23 kB / 0.5093 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5151, allocations: 0 / 0.5093 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5151, allocations: 0.7969 kB / 0.5093 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5151, allocations: 1.062 kB / 0.5093 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.5153, allocations: 170.1 kB / 0.5094 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5153, allocations: 0 / 0.5094 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.5153, allocations: 1.922 kB / 0.5094 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5153, allocations: 0 / 0.5094 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5153, allocations: 2.922 kB / 0.5094 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5153, allocations: 1.094 kB / 0.5094 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5153, allocations: 0 / 0.5094 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.5157, allocations: 224.3 kB / 0.5096 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.5158, allocations: 80.05 kB / 0.5097 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.5158, allocations: 2.344 kB / 0.5097 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.683e-05/0.5158, allocations: 2.188 kB / 0.5097 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.5159, allocations: 1.188 kB / 0.5097 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.5159, allocations: 4.156 kB / 0.5097 GB, free: 3.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.364e-05/0.516, allocations: 89.66 kB / 0.5098 GB, free: 3.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.516, allocations: 4.031 kB / 0.5098 GB, free: 3.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004026/0.5164, allocations: 28.59 kB / 0.5098 GB, free: 3.465 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.0002088/0.5166, allocations: 123.3 kB / 0.51 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.517, allocations: 198.8 kB / 0.5102 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.517, allocations: 0 / 0.5102 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.5172, allocations: 147.8 kB / 0.5103 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.5176, allocations: 9.844 kB / 0.5103 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.5181, allocations: 220.5 kB / 0.5105 GB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.5183, allocations: 0.6907 MB / 0.5112 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.052e-05/0.5183, allocations: 2.078 kB / 0.5112 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.5183, allocations: 9.031 kB / 0.5112 GB, free: 2.324 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5184, allocations: 0 / 0.5112 GB, free: 2.324 MB / 382.1 MB Notification: Performance of Templates: time 0.005612/0.524, allocations: 1.088 MB / 0.5123 GB, free: 2.199 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches