Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 117.1 kB / 16.63 MB, free: 6.812 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.001626/0.001626, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.393/1.393, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1718/0.1718, allocations: 38.03 MB / 329.4 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.94 kB / 398.3 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1021, allocations: 58.06 MB / 456.3 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003391/0.1055, allocations: 2.084 MB / 458.4 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.1063, allocations: 0.5299 MB / 459 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.1064, allocations: 0 / 459 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1065, allocations: 7.938 kB / 459 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.405e-05/0.1066, allocations: 23.89 kB / 459 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1069, allocations: 63.84 kB / 459.1 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.107, allocations: 71.77 kB / 459.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.1071, allocations: 4 kB / 459.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.1072, allocations: 31.84 kB / 459.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.1072, allocations: 23.91 kB / 459.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.1073, allocations: 4 kB / 459.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1074, allocations: 75.83 kB / 459.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.1075, allocations: 31.86 kB / 459.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.1075, allocations: 27.75 kB / 459.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1077, allocations: 131.8 kB / 459.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1077, allocations: 0 / 459.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1077, allocations: 0 / 459.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1077, allocations: 4 kB / 459.5 MB, free: 5.27 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003998/0.1081, allocations: 428.8 kB / 459.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1082, allocations: 12.03 kB / 459.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.1082, allocations: 12.75 kB / 459.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1084, allocations: 192.1 kB / 460.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.1084, allocations: 384 / 460.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1084, allocations: 8.062 kB / 460.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1086, allocations: 89.67 kB / 460.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1086, allocations: 4 kB / 460.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1086, allocations: 0 / 460.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1086, allocations: 3.984 kB / 460.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.1087, allocations: 55.98 kB / 460.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.1088, allocations: 177.5 kB / 460.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.932e-05/0.1089, allocations: 102.5 kB / 460.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/0.109, allocations: 88.81 kB / 460.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.1091, allocations: 0 / 460.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1091, allocations: 42.56 kB / 460.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 9.82e-07/0.1091, allocations: 0 / 460.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003972/0.1095, allocations: 302.2 kB / 460.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.1096, allocations: 105 kB / 461 MB, free: 3.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1097, allocations: 132.2 kB / 461.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1097, allocations: 29.64 kB / 461.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.1098, allocations: 96.56 kB / 461.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.1098, allocations: 74.81 kB / 461.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.1099, allocations: 29.75 kB / 461.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.11, allocations: 322.8 kB / 461.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.1101, allocations: 59.97 kB / 461.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.204e-05/0.1101, allocations: 51.98 kB / 461.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1103, allocations: 250.5 kB / 462.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1104, allocations: 0 / 462.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002212/0.1106, allocations: 219.2 kB / 462.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/0.1107, allocations: 65.66 kB / 462.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1107, allocations: 64 / 462.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1107, allocations: 4 kB / 462.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-06/0.1107, allocations: 3.938 kB / 462.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1107, allocations: 4 kB / 462.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.1107, allocations: 11.84 kB / 462.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1108, allocations: 4 kB / 462.4 MB, free: 2.09 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.0001432/0.1109, allocations: 199.4 kB / 462.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1109, allocations: 15.81 kB / 462.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.375e-05/0.111, allocations: 9.188 kB / 462.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.111, allocations: 4 kB / 462.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.111, allocations: 4 kB / 462.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.111, allocations: 0 / 462.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.1111, allocations: 197.4 kB / 462.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1111, allocations: 4 kB / 462.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1111, allocations: 0 / 462.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1111, allocations: 0 / 462.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1112, allocations: 7.938 kB / 462.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1112, allocations: 0 / 462.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1112, allocations: 0 / 462.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.1117, allocations: 0.5172 MB / 463.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1118, allocations: 88.95 kB / 463.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1118, allocations: 7.938 kB / 463.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.768e-05/0.1118, allocations: 4 kB / 463.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.1118, allocations: 3.938 kB / 463.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1119, allocations: 4 kB / 463.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.027e-05/0.1119, allocations: 107.2 kB / 463.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1119, allocations: 0 / 463.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1122, allocations: 48 kB / 463.6 MB, free: 0.7773 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.0001595/0.1124, allocations: 115.2 kB / 463.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000629/0.113, allocations: 0.7062 MB / 464.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.113, allocations: 0 / 464.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.1134, allocations: 0.5655 MB / 465 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.1137, allocations: 30.27 kB / 465 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.1143, allocations: 476 kB / 465.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1146, allocations: 0.7239 MB / 466.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.86e-05/0.1146, allocations: 0 / 466.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.191e-05/0.1147, allocations: 11.44 kB / 466.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1147, allocations: 0 / 466.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Templates: time 0.00467/0.1193, allocations: 1.904 MB / 468.1 MB, free: 12.19 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches