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.001594/0.001594, allocations: 114.6 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.001685/0.001685, 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.33/1.33, 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.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.00202, allocations: 67.91 kB / 398.3 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1132, allocations: 58.06 MB / 456.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003255/0.1165, allocations: 2.073 MB / 458.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000684/0.1172, allocations: 0.526 MB / 459 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.1173, allocations: 4 kB / 459 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.1174, allocations: 7.984 kB / 459 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.1175, allocations: 31.83 kB / 459 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1178, allocations: 63.8 kB / 459.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1179, allocations: 63.77 kB / 459.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.118, allocations: 4 kB / 459.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.1181, allocations: 35.84 kB / 459.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.1181, allocations: 27.89 kB / 459.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1182, allocations: 4 kB / 459.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1183, allocations: 71.84 kB / 459.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.1184, allocations: 19.91 kB / 459.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.1184, allocations: 23.81 kB / 459.3 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1186, allocations: 103.9 kB / 459.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1186, allocations: 0 / 459.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1186, allocations: 8 kB / 459.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1186, allocations: 0 / 459.4 MB, free: 5.316 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.000357/0.119, allocations: 389 kB / 459.8 MB, free: 4.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.119, allocations: 15.89 kB / 459.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.119, allocations: 4.844 kB / 459.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.1192, allocations: 188.2 kB / 460 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1192, allocations: 384 / 460 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1192, allocations: 8.062 kB / 460 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.1193, allocations: 61.69 kB / 460.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1194, allocations: 0 / 460.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1194, allocations: 3.938 kB / 460.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1194, allocations: 0 / 460.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.152e-05/0.1194, allocations: 31.98 kB / 460.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.1196, allocations: 165.7 kB / 460.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.157e-05/0.1197, allocations: 54.56 kB / 460.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.1197, allocations: 44.81 kB / 460.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.1198, allocations: 4 kB / 460.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1198, allocations: 38.56 kB / 460.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.1198, allocations: 0 / 460.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002936/0.1201, allocations: 183.4 kB / 460.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.1202, allocations: 89.11 kB / 460.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1203, allocations: 126.4 kB / 460.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1203, allocations: 25.7 kB / 460.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.1204, allocations: 88.14 kB / 460.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.1204, allocations: 47.39 kB / 460.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1205, allocations: 13.72 kB / 461 MB, free: 3.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1206, allocations: 322.8 kB / 461.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.1206, allocations: 27.98 kB / 461.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.1207, allocations: 31.98 kB / 461.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1208, allocations: 156.3 kB / 461.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1208, allocations: 0 / 461.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001691/0.121, allocations: 155.1 kB / 461.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.1211, allocations: 53.62 kB / 461.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1211, allocations: 4.062 kB / 461.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1211, allocations: 0 / 461.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-06/0.1211, allocations: 3.984 kB / 461.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1211, allocations: 0 / 461.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.1211, allocations: 4 kB / 461.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1212, allocations: 0 / 461.7 MB, free: 2.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.0001255/0.1213, allocations: 163.5 kB / 461.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.1213, allocations: 15.84 kB / 461.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.378e-05/0.1213, allocations: 4.375 kB / 461.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1213, allocations: 7.984 kB / 461.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1214, allocations: 4 kB / 461.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1214, allocations: 0 / 461.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1215, allocations: 177.4 kB / 462.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1215, allocations: 4 kB / 462.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1215, allocations: 0 / 462.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1215, allocations: 0 / 462.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1215, allocations: 8 kB / 462.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.1216, allocations: 7.922 kB / 462.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1216, allocations: 3.984 kB / 462.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.1219, allocations: 278.6 kB / 462.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.1219, allocations: 77.11 kB / 462.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.122, allocations: 7.938 kB / 462.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.122, allocations: 4 kB / 462.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.122, allocations: 0 / 462.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.122, allocations: 4 kB / 462.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.666e-05/0.1221, allocations: 91.27 kB / 462.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1221, allocations: 0 / 462.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1223, allocations: 40.02 kB / 462.6 MB, free: 1.766 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.0001709/0.1225, allocations: 111.2 kB / 462.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.1228, allocations: 299.2 kB / 463 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1228, allocations: 0 / 463 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.123, allocations: 215.3 kB / 463.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.1233, allocations: 23.92 kB / 463.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.1237, allocations: 291.1 kB / 463.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.124, allocations: 0.7002 MB / 464.2 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.124, allocations: 4 kB / 464.2 MB, free: 60 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.066e-05/0.124, allocations: 7.438 kB / 464.2 MB, free: 52 kB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.124, allocations: 4 kB / 464.2 MB, free: 48 kB / 334.1 MB Notification: Performance of Templates: time 0.003541/0.1276, allocations: 1.298 MB / 465.5 MB, free: 14.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins/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