Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001687/0.001687, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.321/1.321, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0009089/0.0009089, allocations: 100.1 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1591/0.1591, allocations: 38.06 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002604, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2182, allocations: 56.31 MB / 480.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.3471, allocations: 87.06 MB / 0.5541 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3474, allocations: 79.95 kB / 0.5541 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005341/0.3528, allocations: 1.802 MB / 0.5559 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3528, allocations: 0 / 0.5559 GB, free: 13.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3528, allocations: 0 / 0.5559 GB, free: 13.5 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004292/0.3532, allocations: 476.6 kB / 0.5564 GB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3533, allocations: 8.031 kB / 0.5564 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.3533, allocations: 19.72 kB / 0.5564 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.3535, allocations: 207.2 kB / 0.5566 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3536, allocations: 8 kB / 0.5566 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3536, allocations: 3.984 kB / 0.5566 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.3538, allocations: 126.6 kB / 0.5567 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.3538, allocations: 0 / 0.5567 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3538, allocations: 0 / 0.5567 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.3538, allocations: 0 / 0.5567 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3539, allocations: 96.22 kB / 0.5568 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3541, allocations: 202 kB / 0.557 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3543, allocations: 158.9 kB / 0.5572 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.3543, allocations: 0 / 0.5572 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3544, allocations: 34.59 kB / 0.5572 GB, free: 12.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.072e-06/0.3544, allocations: 0 / 0.5572 GB, free: 12.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.0006434/0.355, allocations: 0.5675 MB / 0.5577 GB, free: 11.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.3551, allocations: 109.1 kB / 0.5578 GB, free: 11.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3552, allocations: 134.1 kB / 0.558 GB, free: 11.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3553, allocations: 29.73 kB / 0.558 GB, free: 11.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.3553, allocations: 96.8 kB / 0.5581 GB, free: 11.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3555, allocations: 126.1 kB / 0.5582 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.3555, allocations: 0 / 0.5582 GB, free: 10.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3556, allocations: 334.8 kB / 0.5585 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3557, allocations: 95.95 kB / 0.5586 GB, free: 10.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.3558, allocations: 91.95 kB / 0.5587 GB, free: 10.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.356, allocations: 194.8 kB / 0.5589 GB, free: 10.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.356, allocations: 3.953 kB / 0.5589 GB, free: 10.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003545/0.3564, allocations: 330.9 kB / 0.5592 GB, free: 9.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/0.3565, allocations: 85.62 kB / 0.5593 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3565, allocations: 4 kB / 0.5593 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3565, allocations: 0 / 0.5593 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.3565, allocations: 0 / 0.5593 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3565, allocations: 0 / 0.5593 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.3566, allocations: 19.75 kB / 0.5593 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.3566, allocations: 8 kB / 0.5593 GB, free: 9.711 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.0001939/0.3568, allocations: 231.4 kB / 0.5595 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3569, allocations: 27.8 kB / 0.5596 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.3569, allocations: 13.95 kB / 0.5596 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3569, allocations: 0 / 0.5596 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3569, allocations: 0 / 0.5596 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3569, allocations: 3.984 kB / 0.5596 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3571, allocations: 229.3 kB / 0.5598 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3571, allocations: 0 / 0.5598 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-06/0.3571, allocations: 3.953 kB / 0.5598 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3571, allocations: 7.938 kB / 0.5598 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3572, allocations: 4 kB / 0.5598 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3572, allocations: 4 kB / 0.5598 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3572, allocations: 0 / 0.5598 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009341/0.3581, allocations: 0.9004 MB / 0.5607 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.3582, allocations: 104.8 kB / 0.5608 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.3582, allocations: 7.953 kB / 0.5608 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.3583, allocations: 8 kB / 0.5608 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.3583, allocations: 4 kB / 0.5608 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.3583, allocations: 12 kB / 0.5608 GB, free: 8.055 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.416e-05/0.3584, allocations: 115.8 kB / 0.5609 GB, free: 7.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3584, allocations: 0 / 0.5609 GB, free: 7.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.3587, allocations: 60 kB / 0.561 GB, free: 7.883 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.0001913/0.3589, allocations: 119.1 kB / 0.5611 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3603, allocations: 1.585 MB / 0.5627 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3603, allocations: 0 / 0.5627 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.3614, allocations: 1.366 MB / 0.564 GB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.3616, allocations: 26.61 kB / 0.564 GB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.3624, allocations: 0.6749 MB / 0.5647 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3628, allocations: 0.752 MB / 0.5654 GB, free: 3.277 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.3628, allocations: 4 kB / 0.5654 GB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.3628, allocations: 7.438 kB / 0.5654 GB, free: 3.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3628, allocations: 0 / 0.5654 GB, free: 3.266 MB / 394.7 MB Notification: Performance of Templates: time 0.005024/0.3679, allocations: 2.314 MB / 0.5677 GB, free: 0.9648 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches