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.001571/0.001571, allocations: 112.3 kB / 17.69 MB, free: 5.309 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.001864/0.001864, allocations: 192 kB / 18.63 MB, free: 4.375 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.488/1.488, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1983/0.1983, allocations: 38.05 MB / 330.5 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.48 kB / 400.3 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1042, allocations: 58.06 MB / 458.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003381/0.1076, allocations: 2.036 MB / 460.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007069/0.1083, allocations: 0.5258 MB / 460.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.1084, allocations: 4 kB / 460.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.1086, allocations: 7.922 kB / 460.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1087, allocations: 39.83 kB / 460.9 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.109, allocations: 63.83 kB / 461 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1091, allocations: 59.77 kB / 461.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.1092, allocations: 0 / 461.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.1093, allocations: 35.91 kB / 461.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.1093, allocations: 31.78 kB / 461.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.1093, allocations: 0 / 461.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.1096, allocations: 71.84 kB / 461.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.1096, allocations: 15.98 kB / 461.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.1097, allocations: 31.8 kB / 461.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1098, allocations: 103.7 kB / 461.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1098, allocations: 0 / 461.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1098, allocations: 0 / 461.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1099, allocations: 0 / 461.3 MB, free: 4.32 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.0003639/0.1102, allocations: 393 kB / 461.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1103, allocations: 15.83 kB / 461.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1103, allocations: 12.83 kB / 461.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1105, allocations: 184.1 kB / 461.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1105, allocations: 4.375 kB / 461.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.1105, allocations: 16.06 kB / 461.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1106, allocations: 61.67 kB / 462 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1106, allocations: 0 / 462 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1107, allocations: 0 / 462 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1107, allocations: 3.938 kB / 462 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.1107, allocations: 27.98 kB / 462 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1109, allocations: 157.7 kB / 462.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.1109, allocations: 58.56 kB / 462.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.111, allocations: 52.75 kB / 462.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.111, allocations: 4 kB / 462.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.111, allocations: 30.56 kB / 462.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.111, allocations: 0 / 462.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002568/0.1113, allocations: 183.4 kB / 462.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.1114, allocations: 89.09 kB / 462.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.1115, allocations: 121.8 kB / 462.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1115, allocations: 25.73 kB / 462.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.1115, allocations: 92.14 kB / 462.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1116, allocations: 39.36 kB / 462.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1116, allocations: 25.7 kB / 462.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1117, allocations: 322.8 kB / 463.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.1118, allocations: 31.94 kB / 463.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.1118, allocations: 27.98 kB / 463.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1119, allocations: 156.2 kB / 463.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.112, allocations: 0 / 463.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000146/0.1121, allocations: 156.1 kB / 463.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.1122, allocations: 45.67 kB / 463.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1122, allocations: 0 / 463.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1122, allocations: 0 / 463.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.1122, allocations: 0 / 463.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1122, allocations: 4 kB / 463.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.1122, allocations: 0 / 463.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1123, allocations: 4 kB / 463.6 MB, free: 1.758 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.0001179/0.1124, allocations: 167.5 kB / 463.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.1124, allocations: 23.86 kB / 463.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.1124, allocations: 8.375 kB / 463.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1124, allocations: 0 / 463.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1124, allocations: 0 / 463.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1124, allocations: 0 / 463.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1126, allocations: 181.4 kB / 464 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1126, allocations: 0 / 464 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1126, allocations: 0 / 464 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1126, allocations: 0 / 464 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1126, allocations: 4 kB / 464 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1126, allocations: 0 / 464 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1126, allocations: 4 kB / 464 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.1129, allocations: 282.5 kB / 464.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.1129, allocations: 89.03 kB / 464.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.113, allocations: 4 kB / 464.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.694e-05/0.113, allocations: 0 / 464.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.113, allocations: 8 kB / 464.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.113, allocations: 3.938 kB / 464.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.1131, allocations: 99.3 kB / 464.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1131, allocations: 0 / 464.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1133, allocations: 28 kB / 464.5 MB, free: 0.7617 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.0001846/0.1135, allocations: 119.1 kB / 464.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.1138, allocations: 287.3 kB / 464.9 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1139, allocations: 0 / 464.9 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.114, allocations: 227.3 kB / 465.1 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1143, allocations: 22.98 kB / 465.2 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.1148, allocations: 270.9 kB / 465.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.115, allocations: 0.7002 MB / 466.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.608e-05/0.1151, allocations: 7.922 kB / 466.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.324e-05/0.1151, allocations: 11.44 kB / 466.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1151, allocations: 0 / 466.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Templates: time 0.003745/0.1188, allocations: 1.297 MB / 467.4 MB, free: 13.77 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (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 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches