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.001525/0.001525, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001702/0.001702, allocations: 191 kB / 18.63 MB, free: 4.379 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.406/1.406, allocations: 222.9 MB / 242.3 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.1736/0.1736, allocations: 38.03 MB / 330.5 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.16 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1042, allocations: 58.06 MB / 458.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.0033/0.1075, allocations: 2.039 MB / 460.4 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007867/0.1083, allocations: 0.5375 MB / 460.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.1084, allocations: 0 / 460.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.1085, allocations: 7.922 kB / 460.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.1086, allocations: 35.83 kB / 460.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1089, allocations: 63.83 kB / 461 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.1091, allocations: 63.77 kB / 461.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.1091, allocations: 8 kB / 461.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.1092, allocations: 23.91 kB / 461.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.1093, allocations: 39.78 kB / 461.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.1093, allocations: 0 / 461.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1094, allocations: 67.84 kB / 461.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.1095, allocations: 27.97 kB / 461.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.1095, allocations: 11.88 kB / 461.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1097, allocations: 99.69 kB / 461.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1097, allocations: 0 / 461.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1097, allocations: 0 / 461.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1097, allocations: 0 / 461.3 MB, free: 4.301 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003548/0.1101, allocations: 384.1 kB / 461.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1101, allocations: 15.89 kB / 461.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.1101, allocations: 0.9375 kB / 461.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1103, allocations: 184.2 kB / 461.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.1103, allocations: 4.375 kB / 461.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1103, allocations: 4.125 kB / 461.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1104, allocations: 53.67 kB / 462 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.1104, allocations: 4 kB / 462 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1105, allocations: 0 / 462 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1105, allocations: 3.938 kB / 462 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.1105, allocations: 23.98 kB / 462 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.1108, allocations: 157.6 kB / 462.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.137e-05/0.1109, allocations: 54.5 kB / 462.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.1109, allocations: 36.81 kB / 462.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.1109, allocations: 0 / 462.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.111, allocations: 30.56 kB / 462.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.111, allocations: 0 / 462.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002386/0.1112, allocations: 143.3 kB / 462.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1113, allocations: 85.11 kB / 462.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.1113, allocations: 117.8 kB / 462.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1114, allocations: 29.7 kB / 462.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.1114, allocations: 92.12 kB / 462.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.1114, allocations: 27.56 kB / 462.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1115, allocations: 17.7 kB / 462.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.1116, allocations: 318.8 kB / 463.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.1116, allocations: 19.98 kB / 463.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.1116, allocations: 19.98 kB / 463.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1118, allocations: 124.4 kB / 463.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1118, allocations: 4.031 kB / 463.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001223/0.1119, allocations: 123.2 kB / 463.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.112, allocations: 45.69 kB / 463.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.112, allocations: 0 / 463.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.112, allocations: 0 / 463.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.112, allocations: 0 / 463.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.112, allocations: 4 kB / 463.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.1121, allocations: 7.891 kB / 463.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1121, allocations: 4 kB / 463.4 MB, free: 1.941 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 9.167e-05/0.1122, allocations: 155.5 kB / 463.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.1122, allocations: 4 kB / 463.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.51e-05/0.1122, allocations: 12.38 kB / 463.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1122, allocations: 0 / 463.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1122, allocations: 3.984 kB / 463.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1122, allocations: 0 / 463.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.612e-05/0.1123, allocations: 173.5 kB / 463.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1123, allocations: 3.938 kB / 463.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1123, allocations: 0 / 463.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1123, allocations: 0 / 463.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1124, allocations: 8 kB / 463.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1124, allocations: 0 / 463.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1124, allocations: 0 / 463.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.1126, allocations: 210.6 kB / 464 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.1126, allocations: 92.98 kB / 464.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1126, allocations: 384 / 464.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.1127, allocations: 4 kB / 464.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.1127, allocations: 4 kB / 464.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1127, allocations: 8.031 kB / 464.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.75e-05/0.1128, allocations: 95.2 kB / 464.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1128, allocations: 0 / 464.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.113, allocations: 31.94 kB / 464.2 MB, free: 1.039 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.000145/0.1132, allocations: 111.2 kB / 464.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1134, allocations: 195.3 kB / 464.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1134, allocations: 0 / 464.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1135, allocations: 151.3 kB / 464.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1137, allocations: 12.06 kB / 464.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.114, allocations: 217.3 kB / 464.9 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.1143, allocations: 0.6923 MB / 465.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.325e-05/0.1143, allocations: 4 kB / 465.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.048e-05/0.1143, allocations: 7.438 kB / 465.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1143, allocations: 0 / 465.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of Templates: time 0.003196/0.1175, allocations: 1.063 MB / 466.7 MB, free: 14.53 MB / 350.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins1/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