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.0009676/0.0009677, allocations: 92.66 kB / 16.65 MB, free: 6.59 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.0012/0.0012, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.435/1.435, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1741/0.1741, allocations: 38.09 MB / 330.8 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 12.88 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09716, allocations: 59.17 MB / 459.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.001993/0.09918, allocations: 1.756 MB / 461.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006943/0.0999, allocations: 0.5221 MB / 462.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.09995, allocations: 0 / 462.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.32e-05/0.1, allocations: 11.92 kB / 462.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.109e-05/0.1001, allocations: 31.89 kB / 462.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.1003, allocations: 55.86 kB / 462.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.1004, allocations: 115.7 kB / 462.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.464e-05/0.1004, allocations: 7.938 kB / 462.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.1005, allocations: 19.92 kB / 462.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.1006, allocations: 39.84 kB / 462.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.1006, allocations: 0 / 462.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1007, allocations: 75.88 kB / 462.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.1008, allocations: 43.78 kB / 462.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.1008, allocations: 69.27 kB / 462.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.101, allocations: 151.7 kB / 462.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.101, allocations: 0 / 462.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.101, allocations: 3.938 kB / 462.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.101, allocations: 0 / 462.8 MB, free: 4.156 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000402/0.1014, allocations: 476.6 kB / 463.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.1015, allocations: 12.03 kB / 463.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.1015, allocations: 16.75 kB / 463.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.1017, allocations: 198.8 kB / 463.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.1017, allocations: 3.938 kB / 463.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1017, allocations: 4 kB / 463.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1019, allocations: 126.6 kB / 463.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1019, allocations: 0 / 463.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.1019, allocations: 0 / 463.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1019, allocations: 0 / 463.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.102, allocations: 100.2 kB / 463.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1022, allocations: 202 kB / 463.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1023, allocations: 154.9 kB / 464 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1025, allocations: 141.2 kB / 464.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.1025, allocations: 0 / 464.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1025, allocations: 30.56 kB / 464.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 8.82e-07/0.1025, allocations: 0 / 464.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005152/0.103, allocations: 479.9 kB / 464.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1031, allocations: 105.1 kB / 464.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1032, allocations: 146.4 kB / 464.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1032, allocations: 29.7 kB / 465 MB, free: 1.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.1033, allocations: 96.78 kB / 465 MB, free: 1.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/0.1034, allocations: 133.9 kB / 465.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1034, allocations: 29.7 kB / 465.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1035, allocations: 342.8 kB / 465.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.1036, allocations: 87.97 kB / 465.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.1037, allocations: 96.95 kB / 465.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.104, allocations: 368.3 kB / 466.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.104, allocations: 4 kB / 466.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003105/0.1044, allocations: 319 kB / 466.4 MB, free: 272 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/0.1044, allocations: 85.62 kB / 466.5 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1045, allocations: 0 / 466.5 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.1045, allocations: 3.938 kB / 466.5 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1045, allocations: 0 / 466.5 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.1045, allocations: 0 / 466.5 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.1045, allocations: 23.75 kB / 466.5 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.1046, allocations: 12.06 kB / 466.5 MB, free: 140 kB / 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.0001877/0.1048, allocations: 231.4 kB / 466.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1048, allocations: 23.81 kB / 466.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.249e-05/0.1048, allocations: 9.969 kB / 466.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1048, allocations: 7.938 kB / 466.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.1048, allocations: 0 / 466.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-06/0.1048, allocations: 0 / 466.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.105, allocations: 229.3 kB / 467 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.105, allocations: 0 / 467 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.105, allocations: 4 kB / 467 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.105, allocations: 0 / 467 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.105, allocations: 8 kB / 467 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.105, allocations: 0 / 467 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.105, allocations: 3.938 kB / 467 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.1059, allocations: 0.9004 MB / 467.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.106, allocations: 104.7 kB / 468 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.106, allocations: 7.984 kB / 468 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.1061, allocations: 8.031 kB / 468 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.1061, allocations: 8 kB / 468.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1061, allocations: 8 kB / 468.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.989e-05/0.1062, allocations: 118 kB / 468.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1062, allocations: 0 / 468.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1065, allocations: 60 kB / 468.2 MB, free: 14.32 MB / 350.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.0001471/0.1066, allocations: 118.7 kB / 468.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.1079, allocations: 1.585 MB / 469.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1079, allocations: 4.062 kB / 469.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.109, allocations: 1.366 MB / 471.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1092, allocations: 27.91 kB / 471.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007504/0.11, allocations: 0.694 MB / 472 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1102, allocations: 0.7481 MB / 472.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.639e-05/0.1103, allocations: 8 kB / 472.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-06/0.1103, allocations: 7.438 kB / 472.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1103, allocations: 0 / 472.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of Templates: time 0.004918/0.1152, allocations: 2.37 MB / 475.2 MB, free: 7.324 MB / 350.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