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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.000969/0.0009691, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.502/1.502, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.000848/0.0008481, allocations: 93.72 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1652/0.1652, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.6e-05, allocations: 3.984 kB / 417.7 MB, free: 29.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1331, allocations: 56.32 MB / 474.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.5344, allocations: 86.99 MB / 0.5479 GB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.5347, allocations: 75.69 kB / 0.548 GB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004311/0.539, allocations: 1.561 MB / 0.5495 GB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.539, allocations: 0 / 0.5495 GB, free: 10.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.5391, allocations: 0 / 0.5495 GB, free: 10.61 MB / 362.7 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.0002335/0.5393, allocations: 383.1 kB / 0.5499 GB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5393, allocations: 11.48 kB / 0.5499 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.5394, allocations: 15.73 kB / 0.5499 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.5395, allocations: 189.7 kB / 0.5501 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.5396, allocations: 0 / 0.5501 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.5396, allocations: 3.812 kB / 0.5501 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.5397, allocations: 59.39 kB / 0.5501 GB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5397, allocations: 0 / 0.5501 GB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.5397, allocations: 0 / 0.5501 GB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5397, allocations: 0 / 0.5501 GB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.5398, allocations: 32.98 kB / 0.5502 GB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.5399, allocations: 172.8 kB / 0.5503 GB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.54, allocations: 63.69 kB / 0.5504 GB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.54, allocations: 42.88 kB / 0.5504 GB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.54, allocations: 0 / 0.5504 GB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.54, allocations: 30.56 kB / 0.5505 GB, free: 9.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.54, allocations: 0 / 0.5505 GB, free: 9.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001909/0.5402, allocations: 142.3 kB / 0.5506 GB, free: 9.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.5403, allocations: 96.7 kB / 0.5507 GB, free: 9.473 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.308e-05/0.5404, allocations: 108.8 kB / 0.5508 GB, free: 9.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.5404, allocations: 25.7 kB / 0.5508 GB, free: 9.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.5404, allocations: 87.39 kB / 0.5509 GB, free: 9.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.5404, allocations: 38.86 kB / 0.5509 GB, free: 9.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.5404, allocations: 3.938 kB / 0.5509 GB, free: 9.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.5405, allocations: 321.6 kB / 0.5512 GB, free: 8.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/0.5405, allocations: 33.58 kB / 0.5513 GB, free: 8.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.5406, allocations: 28 kB / 0.5513 GB, free: 8.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.5406, allocations: 85.41 kB / 0.5514 GB, free: 8.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5406, allocations: 0 / 0.5514 GB, free: 8.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001189/0.5408, allocations: 142.7 kB / 0.5515 GB, free: 8.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.5408, allocations: 48.31 kB / 0.5516 GB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5408, allocations: 3.938 kB / 0.5516 GB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5408, allocations: 3.984 kB / 0.5516 GB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.5408, allocations: 0 / 0.5516 GB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5409, allocations: 0 / 0.5516 GB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.5409, allocations: 11.72 kB / 0.5516 GB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.5409, allocations: 3.844 kB / 0.5516 GB, free: 8.73 MB / 362.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 () * 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 6.689e-05/0.541, allocations: 150.2 kB / 0.5517 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.541, allocations: 18.8 kB / 0.5517 GB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.541, allocations: 8.562 kB / 0.5518 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.541, allocations: 0 / 0.5518 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.541, allocations: 0 / 0.5518 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.541, allocations: 0 / 0.5518 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.24e-05/0.5411, allocations: 172.1 kB / 0.5519 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5411, allocations: 7.953 kB / 0.5519 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.5411, allocations: 3.969 kB / 0.5519 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.5411, allocations: 4 kB / 0.5519 GB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.5412, allocations: 0 / 0.5519 GB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.5412, allocations: 3.719 kB / 0.5519 GB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5412, allocations: 0 / 0.5519 GB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.5414, allocations: 270.4 kB / 0.5522 GB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.5414, allocations: 84.97 kB / 0.5523 GB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.5415, allocations: 3.844 kB / 0.5523 GB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.725e-05/0.5415, allocations: 7.844 kB / 0.5523 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.5415, allocations: 7.844 kB / 0.5523 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.5415, allocations: 3.812 kB / 0.5523 GB, free: 8.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.5416, allocations: 98.77 kB / 0.5524 GB, free: 8.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.5416, allocations: 0 / 0.5524 GB, free: 8.031 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.5418, allocations: 34.81 kB / 0.5524 GB, free: 8.023 MB / 362.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 () * 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.0001489/0.5419, allocations: 114.2 kB / 0.5525 GB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.5421, allocations: 286.8 kB / 0.5528 GB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5422, allocations: 0 / 0.5528 GB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.5423, allocations: 228.6 kB / 0.553 GB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.5424, allocations: 3.969 kB / 0.553 GB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.5427, allocations: 194.3 kB / 0.5532 GB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.5429, allocations: 0.7111 MB / 0.5539 GB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.333e-05/0.5429, allocations: 0 / 0.5539 GB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-06/0.5429, allocations: 7.438 kB / 0.5539 GB, free: 6.938 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5429, allocations: 0 / 0.5539 GB, free: 6.938 MB / 362.7 MB Notification: Performance of Templates: time 0.003046/0.5459, allocations: 1.179 MB / 0.5551 GB, free: 6.367 MB / 362.7 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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches