Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 175.7 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007889/0.0007888, allocations: 82.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2048/0.2048, allocations: 38.07 MB / 358.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003773, allocations: 16 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3029, allocations: 56.31 MB / 481.6 MB, free: 9.602 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4298, allocations: 87.09 MB / 0.5553 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.4301, allocations: 87.81 kB / 0.5554 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004802/0.4349, allocations: 1.664 MB / 0.557 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4349, allocations: 0 / 0.557 GB, free: 13.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.435, allocations: 4 kB / 0.557 GB, free: 13.44 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004177/0.4354, allocations: 425.1 kB / 0.5574 GB, free: 12.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4354, allocations: 11.97 kB / 0.5575 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.4355, allocations: 12.75 kB / 0.5575 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.4357, allocations: 196.1 kB / 0.5576 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4357, allocations: 4.375 kB / 0.5577 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.4357, allocations: 384 / 0.5577 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.4359, allocations: 94.22 kB / 0.5577 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.4359, allocations: 192 / 0.5577 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.4359, allocations: 3.938 kB / 0.5577 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4359, allocations: 0 / 0.5577 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.436, allocations: 59.92 kB / 0.5578 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.4362, allocations: 185.5 kB / 0.558 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.4363, allocations: 102.5 kB / 0.5581 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.4364, allocations: 80.88 kB / 0.5582 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.4364, allocations: 0 / 0.5582 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4364, allocations: 38.55 kB / 0.5582 GB, free: 12.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 9.22e-07/0.4364, allocations: 0 / 0.5582 GB, free: 12.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.000392/0.4368, allocations: 315.1 kB / 0.5585 GB, free: 11.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.4369, allocations: 93.11 kB / 0.5586 GB, free: 11.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.437, allocations: 135.5 kB / 0.5587 GB, free: 11.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.437, allocations: 33.73 kB / 0.5587 GB, free: 11.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.4371, allocations: 88.58 kB / 0.5588 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.4371, allocations: 82.75 kB / 0.5589 GB, free: 11.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.4371, allocations: 0 / 0.5589 GB, free: 11.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4373, allocations: 322.8 kB / 0.5592 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.4373, allocations: 59.97 kB / 0.5593 GB, free: 10.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.085e-05/0.4374, allocations: 59.91 kB / 0.5593 GB, free: 10.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.4376, allocations: 244.8 kB / 0.5596 GB, free: 10.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4376, allocations: 32 / 0.5596 GB, free: 10.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002306/0.4379, allocations: 231 kB / 0.5598 GB, free: 10.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.4379, allocations: 69.59 kB / 0.5599 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4379, allocations: 0 / 0.5599 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.438, allocations: 0 / 0.5599 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.438, allocations: 3.938 kB / 0.5599 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.438, allocations: 0 / 0.5599 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.438, allocations: 11.84 kB / 0.5599 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.4381, allocations: 11.98 kB / 0.5599 GB, free: 10.26 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.4382, allocations: 191.4 kB / 0.5601 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.4382, allocations: 23.78 kB / 0.5601 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.71e-05/0.4383, allocations: 13.19 kB / 0.5601 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.4383, allocations: 0 / 0.5601 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4383, allocations: 0 / 0.5601 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-06/0.4383, allocations: 0 / 0.5601 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.4384, allocations: 197.5 kB / 0.5603 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4384, allocations: 0 / 0.5603 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.4384, allocations: 0 / 0.5603 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4384, allocations: 7.938 kB / 0.5603 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4385, allocations: 4 kB / 0.5603 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4385, allocations: 4 kB / 0.5603 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4385, allocations: 0 / 0.5603 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.439, allocations: 0.5061 MB / 0.5608 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.4391, allocations: 92.86 kB / 0.5609 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.4391, allocations: 7.938 kB / 0.5609 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.596e-05/0.4392, allocations: 4 kB / 0.5609 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.4392, allocations: 4 kB / 0.5609 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.4392, allocations: 7.984 kB / 0.5609 GB, free: 9.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.09e-05/0.4393, allocations: 110.1 kB / 0.561 GB, free: 9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4393, allocations: 0 / 0.561 GB, free: 9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00022/0.4395, allocations: 40 kB / 0.561 GB, free: 8.961 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.4397, allocations: 111.2 kB / 0.5612 GB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006218/0.4403, allocations: 0.7022 MB / 0.5618 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4403, allocations: 0 / 0.5618 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.4407, allocations: 0.5696 MB / 0.5624 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.4409, allocations: 16.12 kB / 0.5624 GB, free: 7.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.4415, allocations: 466.7 kB / 0.5629 GB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.4418, allocations: 0.7279 MB / 0.5636 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.033e-05/0.4418, allocations: 11.98 kB / 0.5636 GB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.047e-05/0.4418, allocations: 7.438 kB / 0.5636 GB, free: 6.27 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4418, allocations: 0 / 0.5636 GB, free: 6.27 MB / 394.7 MB Notification: Performance of Templates: time 0.004206/0.4461, allocations: 1.701 MB / 0.5652 GB, free: 4.582 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches