Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, 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.777/1.777, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008126/0.0008127, allocations: 82.75 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1793/0.1793, allocations: 37.98 MB / 353.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.248e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 56.32 MB / 474.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.5313, allocations: 95.77 MB / 0.5565 GB, free: 6.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.5318, allocations: 86.39 kB / 0.5566 GB, free: 6.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0398/0.5716, allocations: 12.88 MB / 0.5691 GB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5716, allocations: 0 / 0.5691 GB, free: 11.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.426e-05/0.5717, allocations: 11.94 kB / 0.5691 GB, free: 11.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001179/0.5729, allocations: 0.6288 MB / 0.5698 GB, free: 11.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5729, allocations: 8.031 kB / 0.5698 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.5737, allocations: 103.4 kB / 0.5699 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.5759, allocations: 0.866 MB / 0.5707 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.5759, allocations: 20.16 kB / 0.5707 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.576, allocations: 34.25 kB / 0.5708 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007436/0.5768, allocations: 464.3 kB / 0.5712 GB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5768, allocations: 4 kB / 0.5712 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.5768, allocations: 19 kB / 0.5712 GB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/0.5769, allocations: 28.17 kB / 0.5713 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.5775, allocations: 335.5 kB / 0.5716 GB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.5798, allocations: 1.628 MB / 0.5732 GB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.5802, allocations: 179 kB / 0.5733 GB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.5804, allocations: 108.1 kB / 0.5734 GB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.5804, allocations: 11.98 kB / 0.5734 GB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.5804, allocations: 34.31 kB / 0.5735 GB, free: 7.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 2.605e-06/0.5804, allocations: 0 / 0.5735 GB, free: 7.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.00126/0.5817, allocations: 0.709 MB / 0.5742 GB, free: 7.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.5818, allocations: 81.14 kB / 0.5743 GB, free: 7.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.5821, allocations: 272.6 kB / 0.5745 GB, free: 6.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.5821, allocations: 25.7 kB / 0.5745 GB, free: 6.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.5823, allocations: 256.1 kB / 0.5748 GB, free: 6.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.5823, allocations: 72.73 kB / 0.5749 GB, free: 6.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.5824, allocations: 3.438 kB / 0.5749 GB, free: 6.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5825, allocations: 340.7 kB / 0.5752 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.5827, allocations: 91.59 kB / 0.5753 GB, free: 6.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.5829, allocations: 202.8 kB / 0.5755 GB, free: 6.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.5831, allocations: 132.1 kB / 0.5756 GB, free: 5.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5831, allocations: 4 kB / 0.5756 GB, free: 5.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008002/0.5839, allocations: 418 kB / 0.576 GB, free: 5.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.584, allocations: 8.438 kB / 0.576 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004821/0.5845, allocations: 257.3 kB / 0.5762 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/0.5848, allocations: 81.41 kB / 0.5763 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.5851, allocations: 63.02 kB / 0.5764 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.587, allocations: 1.578 MB / 0.5779 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.5873, allocations: 22.89 kB / 0.5779 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.5873, allocations: 11.25 kB / 0.578 GB, free: 3.719 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.5875, allocations: 132.8 kB / 0.5781 GB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.5876, allocations: 23.86 kB / 0.5781 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.5881, allocations: 276.5 kB / 0.5784 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5881, allocations: 0 / 0.5784 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5881, allocations: 4 kB / 0.5784 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5882, allocations: 0 / 0.5784 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.5897, allocations: 0.7547 MB / 0.5791 GB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5897, allocations: 3.938 kB / 0.5791 GB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.59, allocations: 55.22 kB / 0.5792 GB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.59, allocations: 4 kB / 0.5792 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.59, allocations: 7.438 kB / 0.5792 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.59, allocations: 4 kB / 0.5792 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.59, allocations: 4 kB / 0.5792 GB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.5906, allocations: 485.9 kB / 0.5796 GB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5907, allocations: 108.2 kB / 0.5797 GB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.5908, allocations: 7.25 kB / 0.5798 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.591, allocations: 11.28 kB / 0.5798 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.591, allocations: 15.94 kB / 0.5798 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.591, allocations: 7.812 kB / 0.5798 GB, free: 2.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002179/0.5913, allocations: 217.8 kB / 0.58 GB, free: 1.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5913, allocations: 0 / 0.58 GB, free: 1.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004545/0.5917, allocations: 91.62 kB / 0.5801 GB, free: 1.766 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002125/0.5919, allocations: 134.9 kB / 0.5802 GB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006213/0.5926, allocations: 361.2 kB / 0.5806 GB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5926, allocations: 4.125 kB / 0.5806 GB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.5927, allocations: 101 kB / 0.5807 GB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.5931, allocations: 58.88 kB / 0.5807 GB, free: 1.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.5943, allocations: 0.7029 MB / 0.5814 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.5948, allocations: 0.8576 MB / 0.5822 GB, free: 15.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.5951, allocations: 78.84 kB / 0.5823 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.5951, allocations: 30.81 kB / 0.5823 GB, free: 15.57 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5951, allocations: 0 / 0.5823 GB, free: 15.57 MB / 394.7 MB Notification: Performance of Templates: time 0.007927/0.6031, allocations: 3.55 MB / 0.5858 GB, free: 12.04 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches