Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,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_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,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_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001123/0.001123, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.384/1.384, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2028/0.2028, allocations: 38.05 MB / 330.4 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 61.31 kB / 399.5 MB, free: 34.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 58.07 MB / 457.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.00384/0.1102, allocations: 2.1 MB / 459.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.1133, allocations: 2.039 MB / 461.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.1134, allocations: 4 kB / 461.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.1136, allocations: 11.86 kB / 461.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1137, allocations: 31.84 kB / 461.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.1161, allocations: 0.8306 MB / 462.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1162, allocations: 87.62 kB / 462.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.1163, allocations: 4.188 kB / 462.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1164, allocations: 31.91 kB / 462.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.1165, allocations: 51.75 kB / 462.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1165, allocations: 4 kB / 462.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.1184, allocations: 1.267 MB / 464 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.1185, allocations: 43.84 kB / 464 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.1186, allocations: 51.48 kB / 464.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.1204, allocations: 1.368 MB / 465.5 MB, free: 92 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1204, allocations: 0 / 465.5 MB, free: 92 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1204, allocations: 4 kB / 465.5 MB, free: 88 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1205, allocations: 0 / 465.5 MB, free: 88 kB / 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.0009501/0.1214, allocations: 0.6057 MB / 466.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1215, allocations: 8.031 kB / 466.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.1215, allocations: 28.59 kB / 466.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1217, allocations: 220 kB / 466.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-06/0.1218, allocations: 0 / 466.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.1218, allocations: 0 / 466.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.122, allocations: 138.6 kB / 466.5 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.122, allocations: 0 / 466.5 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.122, allocations: 0 / 466.5 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.122, allocations: 4 kB / 466.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1222, allocations: 104.3 kB / 466.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.1224, allocations: 217.5 kB / 466.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1226, allocations: 158.5 kB / 466.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1227, allocations: 144.8 kB / 467.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.1227, allocations: 0 / 467.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1228, allocations: 38.56 kB / 467.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.112e-06/0.1228, allocations: 0 / 467.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.000634/0.1234, allocations: 495.5 kB / 467.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.1235, allocations: 109.1 kB / 467.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1236, allocations: 166.4 kB / 467.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1237, allocations: 33.64 kB / 467.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.1237, allocations: 104.8 kB / 468 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/0.1238, allocations: 126.1 kB / 468.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.1239, allocations: 37.7 kB / 468.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.124, allocations: 338.8 kB / 468.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1242, allocations: 99.98 kB / 468.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1243, allocations: 96.94 kB / 468.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.1246, allocations: 380.3 kB / 469.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1246, allocations: 0 / 469.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003796/0.125, allocations: 338.9 kB / 469.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/0.1251, allocations: 89.62 kB / 469.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1251, allocations: 0 / 469.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1251, allocations: 0 / 469.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/0.1251, allocations: 3.938 kB / 469.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.1251, allocations: 64 / 469.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.1252, allocations: 27.69 kB / 469.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.1253, allocations: 8 kB / 469.5 MB, free: 11.77 MB / 350.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.0001925/0.1255, allocations: 235.4 kB / 469.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.1255, allocations: 23.81 kB / 469.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.1255, allocations: 18.64 kB / 469.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1255, allocations: 0 / 469.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1256, allocations: 0 / 469.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1256, allocations: 0 / 469.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.1257, allocations: 237.2 kB / 470 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1257, allocations: 4 kB / 470 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1258, allocations: 0 / 470 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1258, allocations: 0 / 470 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.1258, allocations: 11.94 kB / 470 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1258, allocations: 0 / 470 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1258, allocations: 0 / 470 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009428/0.1267, allocations: 0.9238 MB / 471 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1268, allocations: 100.7 kB / 471.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.1269, allocations: 15.97 kB / 471.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.1269, allocations: 7.938 kB / 471.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.127, allocations: 8 kB / 471.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.127, allocations: 8 kB / 471.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.619e-05/0.1271, allocations: 128.2 kB / 471.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1271, allocations: 0 / 471.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009768/0.1281, allocations: 344 kB / 471.6 MB, free: 9.621 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.001163/0.1292, allocations: 386.1 kB / 471.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.1306, allocations: 1.597 MB / 473.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1306, allocations: 0 / 473.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.1316, allocations: 1.378 MB / 474.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.1318, allocations: 12 kB / 474.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.1328, allocations: 0.7032 MB / 475.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1331, allocations: 0.7517 MB / 476.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.1331, allocations: 11.44 kB / 476.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1331, allocations: 0 / 476.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of Templates: time 0.01171/0.1448, allocations: 7.111 MB / 483.5 MB, free: 13.58 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches