Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 107.1 kB / 17.06 MB, free: 5.793 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.001046/0.001046, allocations: 200 kB / 18.01 MB, free: 4.918 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.477/1.477, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1749/0.1749, allocations: 38.05 MB / 329.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.91 kB / 458.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4091, allocations: 58.05 MB / 0.5041 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003135/0.4123, allocations: 2.047 MB / 0.5061 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007272/0.413, allocations: 0.5197 MB / 0.5066 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.4131, allocations: 5.438 kB / 0.5066 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.4132, allocations: 9.172 kB / 0.5066 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.4133, allocations: 25.25 kB / 0.5067 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.4137, allocations: 67.98 kB / 0.5067 GB, free: 6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.4138, allocations: 54.88 kB / 0.5068 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.4139, allocations: 2.984 kB / 0.5068 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.414, allocations: 32.62 kB / 0.5068 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.4141, allocations: 36.47 kB / 0.5068 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.4141, allocations: 1.125 kB / 0.5068 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.4143, allocations: 83.7 kB / 0.5069 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-05/0.4144, allocations: 40.67 kB / 0.507 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.4145, allocations: 43.11 kB / 0.507 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.4148, allocations: 147.7 kB / 0.5071 GB, free: 5.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.4148, allocations: 0.5156 kB / 0.5071 GB, free: 5.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4148, allocations: 1.188 kB / 0.5071 GB, free: 5.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.4148, allocations: 0 / 0.5071 GB, free: 5.832 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005135/0.4154, allocations: 497.1 kB / 0.5076 GB, free: 5.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4154, allocations: 12.64 kB / 0.5076 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.4155, allocations: 18.58 kB / 0.5077 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.4157, allocations: 199.4 kB / 0.5078 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4157, allocations: 3.938 kB / 0.5078 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4157, allocations: 1.469 kB / 0.5078 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.416, allocations: 133.8 kB / 0.508 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.416, allocations: 0 / 0.508 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.416, allocations: 1.031 kB / 0.508 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.416, allocations: 4 kB / 0.508 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.4161, allocations: 90.94 kB / 0.5081 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.4163, allocations: 196.5 kB / 0.5083 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.4165, allocations: 161.2 kB / 0.5084 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4167, allocations: 142.5 kB / 0.5085 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.4167, allocations: 0.5156 kB / 0.5085 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4168, allocations: 32.17 kB / 0.5086 GB, free: 4.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 9.82e-07/0.4168, allocations: 4 kB / 0.5086 GB, free: 4.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007823/0.4176, allocations: 474.9 kB / 0.509 GB, free: 4.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.4176, allocations: 108.5 kB / 0.5091 GB, free: 4.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.4178, allocations: 149.6 kB / 0.5093 GB, free: 4.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.4178, allocations: 26.41 kB / 0.5093 GB, free: 4.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.4178, allocations: 98.86 kB / 0.5094 GB, free: 4.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.4179, allocations: 134.8 kB / 0.5095 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.418, allocations: 31.81 kB / 0.5096 GB, free: 4.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.4181, allocations: 340.2 kB / 0.5099 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4182, allocations: 93.75 kB / 0.51 GB, free: 3.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.4183, allocations: 90.47 kB / 0.5101 GB, free: 3.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.4187, allocations: 364.1 kB / 0.5104 GB, free: 3.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4187, allocations: 0 / 0.5104 GB, free: 3.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00038/0.4191, allocations: 327.6 kB / 0.5107 GB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.4192, allocations: 86.38 kB / 0.5108 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4192, allocations: 0 / 0.5108 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4192, allocations: 5.797 kB / 0.5108 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.4192, allocations: 8 kB / 0.5108 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4192, allocations: 1.219 kB / 0.5108 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.4193, allocations: 24.61 kB / 0.5108 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.4193, allocations: 6.375 kB / 0.5108 GB, free: 3.32 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.0001902/0.4195, allocations: 236 kB / 0.5111 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4195, allocations: 20.53 kB / 0.5111 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.4196, allocations: 13.16 kB / 0.5111 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4196, allocations: 1.859 kB / 0.5111 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4196, allocations: 0 / 0.5111 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4196, allocations: 4 kB / 0.5111 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.4198, allocations: 230.7 kB / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.4198, allocations: 0.9688 kB / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.4198, allocations: 0 / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4198, allocations: 1.594 kB / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.4198, allocations: 6.531 kB / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4198, allocations: 4.641 kB / 0.5113 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4198, allocations: 0 / 0.5113 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.4209, allocations: 0.9124 MB / 0.5122 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.4209, allocations: 98.7 kB / 0.5123 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.421, allocations: 6.438 kB / 0.5123 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.719e-05/0.421, allocations: 9.469 kB / 0.5123 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.4211, allocations: 7.531 kB / 0.5123 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4211, allocations: 6.938 kB / 0.5124 GB, free: 2.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.195e-05/0.4212, allocations: 118.3 kB / 0.5125 GB, free: 2.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4212, allocations: 0 / 0.5125 GB, free: 2.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.4215, allocations: 63.39 kB / 0.5125 GB, free: 2.441 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.0002078/0.4217, allocations: 115.1 kB / 0.5126 GB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.4231, allocations: 1.584 MB / 0.5142 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4231, allocations: 0.5625 kB / 0.5142 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.4243, allocations: 1.363 MB / 0.5155 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.4245, allocations: 30.31 kB / 0.5155 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.4254, allocations: 0.6261 MB / 0.5162 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.4257, allocations: 0.7469 MB / 0.5169 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.331e-05/0.4257, allocations: 1.844 kB / 0.5169 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.4257, allocations: 9.375 kB / 0.5169 GB, free: 15.79 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4257, allocations: 0 / 0.5169 GB, free: 15.79 MB / 398.1 MB Notification: Performance of Templates: time 0.006119/0.4319, allocations: 2.71 MB / 0.5195 GB, free: 15.56 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches