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.0009941/0.0009941, allocations: 175.5 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.565/1.565, 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.0009858/0.0009861, allocations: 94.69 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.1788/0.1788, allocations: 37.98 MB / 353.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.107e-05, allocations: 0 / 417.7 MB, free: 29.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 56.32 MB / 474.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3808/0.4918, allocations: 86.95 MB / 0.5479 GB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4921, allocations: 81.98 kB / 0.5479 GB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005333/0.4974, allocations: 1.809 MB / 0.5497 GB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4975, allocations: 0 / 0.5497 GB, free: 10.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4975, allocations: 4.828 kB / 0.5497 GB, free: 10.7 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0002821/0.4978, allocations: 456.9 kB / 0.5501 GB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4978, allocations: 7.688 kB / 0.5502 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.4979, allocations: 15.5 kB / 0.5502 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.4981, allocations: 202.4 kB / 0.5504 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.4981, allocations: 0 / 0.5504 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.4981, allocations: 3.875 kB / 0.5504 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.4983, allocations: 131.8 kB / 0.5505 GB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4983, allocations: 0 / 0.5505 GB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4983, allocations: 0 / 0.5505 GB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4983, allocations: 0 / 0.5505 GB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/0.4984, allocations: 95.3 kB / 0.5506 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.4986, allocations: 204.2 kB / 0.5508 GB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.4987, allocations: 155.7 kB / 0.5509 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.4988, allocations: 142.8 kB / 0.5511 GB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-06/0.4988, allocations: 4 kB / 0.5511 GB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.4989, allocations: 34.44 kB / 0.5511 GB, free: 9.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.563e-06/0.4989, allocations: 0 / 0.5511 GB, free: 9.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.00039/0.4993, allocations: 326.8 kB / 0.5514 GB, free: 9.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4993, allocations: 104.2 kB / 0.5515 GB, free: 9.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/0.4994, allocations: 139.4 kB / 0.5516 GB, free: 9.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.4995, allocations: 25.7 kB / 0.5517 GB, free: 9.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.4995, allocations: 99.27 kB / 0.5518 GB, free: 9.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.4996, allocations: 132.2 kB / 0.5519 GB, free: 9.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4996, allocations: 3.938 kB / 0.5519 GB, free: 9.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.4997, allocations: 329.5 kB / 0.5522 GB, free: 8.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.4998, allocations: 97.33 kB / 0.5523 GB, free: 8.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.218e-05/0.4998, allocations: 94.14 kB / 0.5524 GB, free: 8.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.5, allocations: 191.3 kB / 0.5526 GB, free: 8.707 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5, allocations: 0 / 0.5526 GB, free: 8.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003165/0.5003, allocations: 317.7 kB / 0.5529 GB, free: 8.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.5004, allocations: 83.25 kB / 0.553 GB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5004, allocations: 7.875 kB / 0.553 GB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5005, allocations: 0 / 0.553 GB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.5005, allocations: 3.938 kB / 0.553 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.5005, allocations: 0 / 0.553 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.5005, allocations: 27.25 kB / 0.553 GB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.5006, allocations: 11.7 kB / 0.553 GB, free: 8.523 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 0.0001201/0.5007, allocations: 199.6 kB / 0.5532 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.5007, allocations: 19.5 kB / 0.5532 GB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.5008, allocations: 13.73 kB / 0.5532 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.5008, allocations: 4 kB / 0.5532 GB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5008, allocations: 0 / 0.5532 GB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5008, allocations: 0 / 0.5532 GB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.5009, allocations: 229.3 kB / 0.5534 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5009, allocations: 3.953 kB / 0.5534 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.5009, allocations: 0 / 0.5534 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5009, allocations: 0 / 0.5534 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.501, allocations: 7.688 kB / 0.5535 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.501, allocations: 0 / 0.5535 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.501, allocations: 0 / 0.5535 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.5018, allocations: 0.9066 MB / 0.5543 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.5018, allocations: 112.4 kB / 0.5544 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.5019, allocations: 3.844 kB / 0.5545 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.041e-05/0.5019, allocations: 7.688 kB / 0.5545 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.502, allocations: 3.938 kB / 0.5545 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.502, allocations: 11.53 kB / 0.5545 GB, free: 7.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.5021, allocations: 111.2 kB / 0.5546 GB, free: 7.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5021, allocations: 0 / 0.5546 GB, free: 7.648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.5023, allocations: 68.03 kB / 0.5546 GB, free: 7.582 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.000159/0.5025, allocations: 110.9 kB / 0.5548 GB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.5036, allocations: 1.576 MB / 0.5563 GB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.5036, allocations: 0 / 0.5563 GB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008341/0.5044, allocations: 1.371 MB / 0.5576 GB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.5046, allocations: 19.8 kB / 0.5576 GB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.5052, allocations: 0.5257 MB / 0.5582 GB, free: 5.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.5054, allocations: 0.752 MB / 0.5589 GB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.5054, allocations: 4 kB / 0.5589 GB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-06/0.5054, allocations: 7.438 kB / 0.5589 GB, free: 4.684 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5054, allocations: 0 / 0.5589 GB, free: 4.684 MB / 362.7 MB Notification: Performance of Templates: time 0.00405/0.5095, allocations: 2.314 MB / 0.5612 GB, free: 2.402 MB / 362.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