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.0009163/0.0009164, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.319/1.319, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.0008369/0.0008369, allocations: 100.1 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1589/0.1589, allocations: 38.06 MB / 357.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 15.98 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.318, allocations: 56.3 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.4578, allocations: 95.87 MB / 0.5627 GB, free: 6.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4581, allocations: 91.95 kB / 0.5628 GB, free: 6.465 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03472/0.4929, allocations: 12.9 MB / 0.5754 GB, free: 9.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4929, allocations: 0 / 0.5754 GB, free: 9.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.4929, allocations: 8 kB / 0.5754 GB, free: 9.391 MB / 410.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.001087/0.494, allocations: 0.6878 MB / 0.576 GB, free: 8.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4941, allocations: 12.03 kB / 0.576 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.4947, allocations: 91.38 kB / 0.5761 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.4967, allocations: 0.8808 MB / 0.577 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.4967, allocations: 29 kB / 0.577 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.4968, allocations: 28 kB / 0.577 GB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.4975, allocations: 476.8 kB / 0.5775 GB, free: 7.082 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.4975, allocations: 7.875 kB / 0.5775 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.4975, allocations: 12 kB / 0.5775 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.4976, allocations: 28.95 kB / 0.5775 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.4981, allocations: 335.7 kB / 0.5779 GB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.5002, allocations: 1.633 MB / 0.5795 GB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.5005, allocations: 173 kB / 0.5796 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.5006, allocations: 4.062 kB / 0.5796 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.5006, allocations: 38.89 kB / 0.5797 GB, free: 4.738 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.5006, allocations: 0 / 0.5797 GB, free: 4.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001275/0.5019, allocations: 0.7878 MB / 0.5804 GB, free: 3.898 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.5019, allocations: 85.05 kB / 0.5805 GB, free: 3.797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.5022, allocations: 267.6 kB / 0.5808 GB, free: 3.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.5023, allocations: 33.7 kB / 0.5808 GB, free: 3.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.5025, allocations: 254.5 kB / 0.581 GB, free: 3.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.5025, allocations: 67 kB / 0.5811 GB, free: 3.172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.5025, allocations: 8 kB / 0.5811 GB, free: 3.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5027, allocations: 342.8 kB / 0.5814 GB, free: 2.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.5029, allocations: 95.97 kB / 0.5815 GB, free: 2.727 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.5031, allocations: 200.5 kB / 0.5817 GB, free: 2.484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.5033, allocations: 135.8 kB / 0.5819 GB, free: 2.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.5033, allocations: 8 kB / 0.5819 GB, free: 2.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007965/0.5041, allocations: 422.5 kB / 0.5823 GB, free: 1.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5041, allocations: 8.422 kB / 0.5823 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004952/0.5046, allocations: 260.7 kB / 0.5825 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.505, allocations: 84.77 kB / 0.5826 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.5053, allocations: 59.91 kB / 0.5827 GB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.5068, allocations: 1.616 MB / 0.5842 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.507, allocations: 15.98 kB / 0.5843 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.5071, allocations: 16 kB / 0.5843 GB, free: 15.73 MB / 426.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 () * Number of clocked 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.0001963/0.5073, allocations: 193.7 kB / 0.5845 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.5073, allocations: 35.58 kB / 0.5845 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.5077, allocations: 262.7 kB / 0.5847 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5078, allocations: 4 kB / 0.5847 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.5078, allocations: 3.984 kB / 0.5848 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5078, allocations: 0 / 0.5848 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.5089, allocations: 0.7537 MB / 0.5855 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5089, allocations: 3.938 kB / 0.5855 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.5092, allocations: 47.97 kB / 0.5855 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5092, allocations: 0 / 0.5855 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.5092, allocations: 11.98 kB / 0.5855 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5092, allocations: 4 kB / 0.5856 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5092, allocations: 3.938 kB / 0.5856 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.5098, allocations: 494.3 kB / 0.586 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.5099, allocations: 112.7 kB / 0.5861 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.5099, allocations: 12 kB / 0.5861 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.5101, allocations: 3.984 kB / 0.5861 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.5101, allocations: 19.94 kB / 0.5862 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.5102, allocations: 8 kB / 0.5862 GB, free: 13.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001942/0.5104, allocations: 223 kB / 0.5864 GB, free: 13.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5104, allocations: 0 / 0.5864 GB, free: 13.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.5108, allocations: 92 kB / 0.5865 GB, free: 13.33 MB / 426.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 () * Number of clocked 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.000187/0.511, allocations: 123.2 kB / 0.5866 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000595/0.5116, allocations: 371.8 kB / 0.5869 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5116, allocations: 0 / 0.5869 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.5117, allocations: 99.83 kB / 0.587 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.5121, allocations: 69.3 kB / 0.5871 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.5135, allocations: 1.126 MB / 0.5882 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.514, allocations: 0.8619 MB / 0.5891 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.5142, allocations: 70.91 kB / 0.5891 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.5142, allocations: 35.42 kB / 0.5892 GB, free: 10.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5142, allocations: 0 / 0.5892 GB, free: 10.51 MB / 426.7 MB Notification: Performance of Templates: time 0.006932/0.5212, allocations: 3.457 MB / 0.5925 GB, free: 7.066 MB / 426.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