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.00108/0.00108, allocations: 175.6 kB / 17.4 MB, free: 4.426 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.628/1.628, 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.0007589/0.0007589, allocations: 83.88 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.2274/0.2274, allocations: 38.07 MB / 358.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004164, allocations: 8 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3341, allocations: 56.31 MB / 481.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.463, allocations: 87.11 MB / 0.5553 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4633, allocations: 87.81 kB / 0.5554 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004616/0.468, allocations: 1.566 MB / 0.557 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.468, allocations: 0 / 0.557 GB, free: 13.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.468, allocations: 4 kB / 0.557 GB, free: 13.52 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004003/0.4684, allocations: 397.2 kB / 0.5573 GB, free: 13.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4685, allocations: 15.98 kB / 0.5574 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.4685, allocations: 4.844 kB / 0.5574 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.4687, allocations: 184.2 kB / 0.5575 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4687, allocations: 384 / 0.5575 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.4688, allocations: 8.375 kB / 0.5575 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.4689, allocations: 58.25 kB / 0.5576 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4689, allocations: 4.172 kB / 0.5576 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4689, allocations: 3.938 kB / 0.5576 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.469, allocations: 0 / 0.5576 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.606e-05/0.469, allocations: 27.98 kB / 0.5576 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.4692, allocations: 165.6 kB / 0.5578 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.759e-05/0.4693, allocations: 54.56 kB / 0.5578 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.4693, allocations: 48.88 kB / 0.5579 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-06/0.4694, allocations: 0 / 0.5579 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4694, allocations: 38.55 kB / 0.5579 GB, free: 12.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 8.12e-07/0.4694, allocations: 0 / 0.5579 GB, free: 12.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003356/0.4697, allocations: 191.3 kB / 0.5581 GB, free: 12.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.4698, allocations: 85.11 kB / 0.5582 GB, free: 12.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.4699, allocations: 121.8 kB / 0.5583 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.47, allocations: 25.7 kB / 0.5583 GB, free: 11.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.47, allocations: 88.17 kB / 0.5584 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.4701, allocations: 39.36 kB / 0.5585 GB, free: 11.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.4701, allocations: 4 kB / 0.5585 GB, free: 11.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4703, allocations: 318.8 kB / 0.5588 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.4703, allocations: 31.98 kB / 0.5588 GB, free: 11.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.4703, allocations: 27.98 kB / 0.5588 GB, free: 11.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.4705, allocations: 153 kB / 0.559 GB, free: 11.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4705, allocations: 0 / 0.559 GB, free: 11.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001684/0.4707, allocations: 163.2 kB / 0.5591 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.815e-05/0.4708, allocations: 44.03 kB / 0.5592 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.4708, allocations: 7.938 kB / 0.5592 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4708, allocations: 0 / 0.5592 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-06/0.4708, allocations: 0 / 0.5592 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.4709, allocations: 0 / 0.5592 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.4709, allocations: 7.938 kB / 0.5592 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.4709, allocations: 11.98 kB / 0.5592 GB, free: 10.97 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.0001429/0.4711, allocations: 163.5 kB / 0.5593 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.4711, allocations: 7.938 kB / 0.5594 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.4711, allocations: 20.25 kB / 0.5594 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4711, allocations: 4 kB / 0.5594 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.4711, allocations: 0 / 0.5594 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4712, allocations: 0 / 0.5594 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.4713, allocations: 173.5 kB / 0.5595 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4713, allocations: 0 / 0.5595 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.4713, allocations: 0 / 0.5595 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.4713, allocations: 0 / 0.5595 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.4714, allocations: 7.938 kB / 0.5595 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4714, allocations: 0 / 0.5595 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4714, allocations: 4 kB / 0.5596 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.4717, allocations: 282.5 kB / 0.5598 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.4718, allocations: 84.95 kB / 0.5599 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4718, allocations: 19.92 kB / 0.5599 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.4719, allocations: 0 / 0.5599 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.4719, allocations: 4 kB / 0.5599 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4719, allocations: 4 kB / 0.5599 GB, free: 10.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.926e-05/0.472, allocations: 91.27 kB / 0.56 GB, free: 10.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.472, allocations: 4.031 kB / 0.56 GB, free: 10.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.4722, allocations: 28 kB / 0.56 GB, free: 9.988 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.0002554/0.4725, allocations: 115.2 kB / 0.5602 GB, free: 9.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.4729, allocations: 287.3 kB / 0.5604 GB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4729, allocations: 0 / 0.5604 GB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.4732, allocations: 231.2 kB / 0.5606 GB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.4734, allocations: 7.984 kB / 0.5607 GB, free: 9.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.474, allocations: 289.6 kB / 0.5609 GB, free: 9.016 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4743, allocations: 0.7004 MB / 0.5616 GB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.937e-05/0.4743, allocations: 8 kB / 0.5616 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.4743, allocations: 7.438 kB / 0.5616 GB, free: 8.273 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4743, allocations: 0 / 0.5616 GB, free: 8.273 MB / 394.7 MB Notification: Performance of Templates: time 0.003617/0.478, allocations: 1.185 MB / 0.5628 GB, free: 7.102 MB / 394.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/jenkins1/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