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.002032/0.002032, allocations: 109.4 kB / 17.28 MB, free: 6.199 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.00244/0.00244, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.56/2.56, allocations: 222.9 MB / 241.9 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.3407/0.3407, allocations: 38.03 MB / 330.1 MB, free: 9.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 65.89 kB / 399 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1189, allocations: 58.06 MB / 457 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.007298/0.1263, allocations: 2.081 MB / 459.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1277, allocations: 0.526 MB / 459.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.195e-05/0.1278, allocations: 0 / 459.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.1281, allocations: 7.922 kB / 459.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.1283, allocations: 27.91 kB / 459.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.1288, allocations: 59.84 kB / 459.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.129, allocations: 67.7 kB / 459.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/0.1291, allocations: 4 kB / 459.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1293, allocations: 31.91 kB / 459.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.1294, allocations: 35.83 kB / 459.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1294, allocations: 0 / 459.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.1296, allocations: 71.84 kB / 459.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.1297, allocations: 19.92 kB / 459.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.1297, allocations: 19.81 kB / 460 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1299, allocations: 76.06 kB / 460 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.13, allocations: 0 / 460 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.13, allocations: 0 / 460 MB, free: 5.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.13, allocations: 0 / 460 MB, free: 5.398 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.0005371/0.1305, allocations: 401 kB / 460.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.1306, allocations: 15.88 kB / 460.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.1307, allocations: 8.844 kB / 460.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1309, allocations: 176.2 kB / 460.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.131, allocations: 4.375 kB / 460.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.131, allocations: 8.109 kB / 460.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1312, allocations: 69.56 kB / 460.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1312, allocations: 0 / 460.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1312, allocations: 0 / 460.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1312, allocations: 4 kB / 460.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.1313, allocations: 27.98 kB / 460.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.1315, allocations: 161.7 kB / 460.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1316, allocations: 58.56 kB / 460.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.1317, allocations: 44.81 kB / 461 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.1317, allocations: 4 kB / 461 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.1318, allocations: 38.48 kB / 461 MB, free: 4.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.1318, allocations: 4 kB / 461 MB, free: 4.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003759/0.1322, allocations: 179.2 kB / 461.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.1323, allocations: 89.31 kB / 461.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1324, allocations: 125.7 kB / 461.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1325, allocations: 25.7 kB / 461.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.1325, allocations: 92.12 kB / 461.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.1326, allocations: 35.38 kB / 461.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.1327, allocations: 21.7 kB / 461.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1329, allocations: 326.9 kB / 461.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.744e-05/0.1329, allocations: 27.98 kB / 461.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.133, allocations: 31.92 kB / 462 MB, free: 3.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1332, allocations: 156.2 kB / 462.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1332, allocations: 0 / 462.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002322/0.1335, allocations: 147.2 kB / 462.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.1335, allocations: 49.67 kB / 462.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1336, allocations: 3.938 kB / 462.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1336, allocations: 0 / 462.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/0.1336, allocations: 4.062 kB / 462.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1336, allocations: 4 kB / 462.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.1337, allocations: 0 / 462.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.1337, allocations: 4 kB / 462.3 MB, free: 2.832 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.0001665/0.1339, allocations: 163.5 kB / 462.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1339, allocations: 19.77 kB / 462.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.1339, allocations: 8.375 kB / 462.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1339, allocations: 3.938 kB / 462.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.134, allocations: 0 / 462.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.134, allocations: 4 kB / 462.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1342, allocations: 185.4 kB / 462.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1342, allocations: 0 / 462.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.1342, allocations: 0 / 462.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1342, allocations: 0 / 462.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1342, allocations: 4 kB / 462.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1342, allocations: 0 / 462.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1342, allocations: 0 / 462.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.1347, allocations: 283.4 kB / 463 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.1347, allocations: 81.11 kB / 463.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1348, allocations: 4 kB / 463.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.723e-05/0.1348, allocations: 3.938 kB / 463.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.1348, allocations: 0 / 463.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1349, allocations: 4 kB / 463.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.135, allocations: 99.2 kB / 463.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.135, allocations: 0 / 463.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.1353, allocations: 32 kB / 463.2 MB, free: 1.844 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.0002654/0.1356, allocations: 123.1 kB / 463.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000471/0.1361, allocations: 291.3 kB / 463.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1361, allocations: 0 / 463.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.1364, allocations: 223.3 kB / 463.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1368, allocations: 15.94 kB / 463.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.1375, allocations: 324.8 kB / 464.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.138, allocations: 0.704 MB / 464.9 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.138, allocations: 11.44 kB / 464.9 MB, free: 84 kB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.138, allocations: 0 / 464.9 MB, free: 84 kB / 334.1 MB Notification: Performance of Templates: time 0.004562/0.1426, allocations: 1.246 MB / 466.1 MB, free: 14.84 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 -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