Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,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_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,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_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007944/0.0007946, allocations: 92.41 kB / 16.65 MB, free: 6.535 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.0008016/0.000802, allocations: 173.3 kB / 17.56 MB, free: 6.18 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.261/1.261, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1602/0.1602, allocations: 38.09 MB / 330.8 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 11.98 kB / 400.7 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08416/0.08445, allocations: 59.16 MB / 459.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.001932/0.08642, allocations: 1.756 MB / 461.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005919/0.08702, allocations: 0.5221 MB / 462.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.08706, allocations: 0 / 462.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.08717, allocations: 11.92 kB / 462.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.864e-05/0.08728, allocations: 27.89 kB / 462.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.0875, allocations: 63.86 kB / 462.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.08762, allocations: 111.7 kB / 462.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.08767, allocations: 0 / 462.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.08774, allocations: 31.84 kB / 462.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.08779, allocations: 27.91 kB / 462.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-06/0.08781, allocations: 0 / 462.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.08794, allocations: 75.84 kB / 462.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.08799, allocations: 15.92 kB / 462.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.08803, allocations: 49.5 kB / 462.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.08817, allocations: 115.9 kB / 462.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.08819, allocations: 8 kB / 462.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08819, allocations: 0 / 462.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.0882, allocations: 0 / 462.7 MB, free: 4.242 MB / 334.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.0002856/0.0885, allocations: 389 kB / 463.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.08853, allocations: 12.03 kB / 463.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.08857, allocations: 4.844 kB / 463.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.0887, allocations: 180.3 kB / 463.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.08872, allocations: 4.359 kB / 463.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.08873, allocations: 4.125 kB / 463.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.08884, allocations: 69.56 kB / 463.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.08886, allocations: 0 / 463.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.08887, allocations: 0 / 463.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.08889, allocations: 4 kB / 463.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.08894, allocations: 27.98 kB / 463.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.08907, allocations: 169.6 kB / 463.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.08914, allocations: 54.56 kB / 463.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.08919, allocations: 48.81 kB / 463.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-06/0.0892, allocations: 4 kB / 463.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.08923, allocations: 34.5 kB / 463.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.08923, allocations: 0 / 463.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002301/0.08946, allocations: 187.2 kB / 463.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.08952, allocations: 85.11 kB / 463.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.08961, allocations: 129.9 kB / 464.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.08962, allocations: 25.7 kB / 464.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.08967, allocations: 88.17 kB / 464.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.08971, allocations: 39.45 kB / 464.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.08974, allocations: 13.72 kB / 464.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.08984, allocations: 318.8 kB / 464.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.08988, allocations: 31.98 kB / 464.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.08993, allocations: 27.98 kB / 464.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.09005, allocations: 160.2 kB / 464.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09005, allocations: 0 / 464.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001376/0.0902, allocations: 143.2 kB / 464.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.09025, allocations: 53.75 kB / 464.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.09026, allocations: 0 / 464.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.09027, allocations: 3.938 kB / 465 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.09028, allocations: 0 / 465 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.09028, allocations: 0 / 465 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.09031, allocations: 7.906 kB / 465 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.09033, allocations: 7.984 kB / 465 MB, free: 1.695 MB / 334.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.0001105/0.09045, allocations: 163.5 kB / 465.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.09047, allocations: 11.84 kB / 465.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.358e-05/0.09049, allocations: 12.38 kB / 465.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.09049, allocations: 0 / 465.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.0905, allocations: 0 / 465.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09051, allocations: 3.938 kB / 465.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.09062, allocations: 189.5 kB / 465.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.09063, allocations: 0 / 465.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.09063, allocations: 0 / 465.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.09064, allocations: 0 / 465.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.09065, allocations: 4 kB / 465.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.09065, allocations: 0 / 465.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.09066, allocations: 0 / 465.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.09093, allocations: 283.4 kB / 465.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.09098, allocations: 85.02 kB / 465.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.091, allocations: 0 / 465.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.09102, allocations: 4 kB / 465.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.09104, allocations: 3.938 kB / 465.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.09105, allocations: 4 kB / 465.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.0911, allocations: 95.2 kB / 465.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09111, allocations: 4 kB / 465.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.09133, allocations: 36.03 kB / 465.8 MB, free: 0.7031 MB / 334.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.0001328/0.09146, allocations: 111.2 kB / 466 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.09174, allocations: 299.2 kB / 466.2 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.09175, allocations: 0 / 466.2 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.09192, allocations: 219.3 kB / 466.5 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.09212, allocations: 11.94 kB / 466.5 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.09251, allocations: 293.1 kB / 466.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.09274, allocations: 0.7004 MB / 467.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.476e-05/0.09276, allocations: 4 kB / 467.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.022e-05/0.09278, allocations: 11.38 kB / 467.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09278, allocations: 7.938 kB / 467.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Templates: time 0.003118/0.09591, allocations: 1.196 MB / 468.7 MB, free: 13.79 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches