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.001515/0.001515, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001687/0.001687, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1733/0.1733, allocations: 38.04 MB / 329.3 MB, free: 9.059 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.59 kB / 398.1 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 58.06 MB / 456.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003473/0.1121, allocations: 2.096 MB / 458.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.1129, allocations: 0.5415 MB / 458.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.1129, allocations: 0 / 458.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1131, allocations: 11.92 kB / 458.8 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.1132, allocations: 27.89 kB / 458.8 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1135, allocations: 63.84 kB / 458.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1136, allocations: 107.8 kB / 459 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.1137, allocations: 0 / 459 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.1138, allocations: 23.86 kB / 459 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.1139, allocations: 43.77 kB / 459.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1139, allocations: 4 kB / 459.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.114, allocations: 75.83 kB / 459.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.1141, allocations: 4 kB / 459.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.1141, allocations: 19.88 kB / 459.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1143, allocations: 111.9 kB / 459.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1143, allocations: 0 / 459.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1143, allocations: 0 / 459.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1143, allocations: 0 / 459.3 MB, free: 5.395 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.0003804/0.1147, allocations: 385.1 kB / 459.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1148, allocations: 16.02 kB / 459.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.1148, allocations: 4.938 kB / 459.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.115, allocations: 168.3 kB / 459.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.115, allocations: 384 / 459.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.115, allocations: 4.125 kB / 459.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.1152, allocations: 61.61 kB / 459.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1152, allocations: 0 / 459.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1152, allocations: 3.938 kB / 459.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1152, allocations: 0 / 459.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.1152, allocations: 23.98 kB / 459.9 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.1154, allocations: 161.6 kB / 460.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.1155, allocations: 46.56 kB / 460.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.1155, allocations: 36.77 kB / 460.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.1155, allocations: 0 / 460.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1156, allocations: 30.56 kB / 460.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.1156, allocations: 0 / 460.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002571/0.1158, allocations: 151.4 kB / 460.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.1159, allocations: 89.12 kB / 460.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.116, allocations: 113.8 kB / 460.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.116, allocations: 25.7 kB / 460.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.1161, allocations: 88.14 kB / 460.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.1161, allocations: 31.55 kB / 460.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.1162, allocations: 13.72 kB / 460.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1163, allocations: 326.8 kB / 461 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.454e-05/0.1164, allocations: 19.98 kB / 461 MB, free: 3.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.1164, allocations: 20 kB / 461.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1166, allocations: 124.2 kB / 461.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1166, allocations: 0 / 461.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001263/0.1167, allocations: 119.3 kB / 461.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.1168, allocations: 45.69 kB / 461.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1168, allocations: 0 / 461.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1168, allocations: 0 / 461.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.1168, allocations: 4 kB / 461.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1168, allocations: 0 / 461.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.1169, allocations: 3.969 kB / 461.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.117, allocations: 11.94 kB / 461.4 MB, free: 3.043 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.0001032/0.1171, allocations: 155.5 kB / 461.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.1171, allocations: 4 kB / 461.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/0.1171, allocations: 12.38 kB / 461.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1171, allocations: 0 / 461.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1171, allocations: 0 / 461.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1171, allocations: 0 / 461.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1173, allocations: 173.4 kB / 461.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1173, allocations: 3.984 kB / 461.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1173, allocations: 4 kB / 461.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1173, allocations: 4 kB / 461.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1173, allocations: 4 kB / 461.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1173, allocations: 0 / 461.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1173, allocations: 0 / 461.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.1177, allocations: 214.7 kB / 461.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.1177, allocations: 85.02 kB / 462 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1178, allocations: 384 / 462 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.1178, allocations: 8.031 kB / 462 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.1178, allocations: 7.922 kB / 462 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1178, allocations: 8 kB / 462 MB, free: 2.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.465e-05/0.1179, allocations: 91.2 kB / 462.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1179, allocations: 0 / 462.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.1181, allocations: 27.94 kB / 462.1 MB, free: 2.145 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.0001629/0.1183, allocations: 119.2 kB / 462.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1185, allocations: 191.3 kB / 462.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.1185, allocations: 4.062 kB / 462.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1186, allocations: 147.4 kB / 462.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1189, allocations: 15.94 kB / 462.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.1193, allocations: 224.6 kB / 462.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1196, allocations: 0.6927 MB / 463.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.582e-05/0.1196, allocations: 4 kB / 463.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.1196, allocations: 7.438 kB / 463.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1196, allocations: 0 / 463.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of Templates: time 0.003506/0.1231, allocations: 0.9949 MB / 464.5 MB, free: 15.68 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 -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