Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 175.1 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.401/1.401, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.0008407/0.0008407, allocations: 94.69 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.1544/0.1544, allocations: 37.97 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.563e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 56.31 MB / 474 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.4923, allocations: 104.5 MB / 0.565 GB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4926, allocations: 85.27 kB / 0.5651 GB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0546/0.5472, allocations: 17.46 MB / 0.5822 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5473, allocations: 0 / 0.5822 GB, free: 15.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.914e-05/0.5473, allocations: 19.56 kB / 0.5822 GB, free: 15.32 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00161/0.549, allocations: 0.7641 MB / 0.5829 GB, free: 14.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.549, allocations: 15.97 kB / 0.5829 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.5502, allocations: 155.1 kB / 0.5831 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/0.5535, allocations: 1.199 MB / 0.5843 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.5536, allocations: 33.94 kB / 0.5843 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.5537, allocations: 59.47 kB / 0.5844 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.5549, allocations: 0.8339 MB / 0.5852 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5549, allocations: 3.906 kB / 0.5852 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.555, allocations: 29.25 kB / 0.5852 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.5552, allocations: 32.14 kB / 0.5852 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.5565, allocations: 0.5866 MB / 0.5858 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.5729, allocations: 5.773 MB / 0.5914 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.5743, allocations: 0.7557 MB / 0.5922 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.5755, allocations: 0.6422 MB / 0.5928 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.5756, allocations: 12.36 kB / 0.5928 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.5756, allocations: 45.81 kB / 0.5929 GB, free: 6.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 6.502e-06/0.5757, allocations: 0 / 0.5929 GB, free: 6.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.0165/0.5922, allocations: 5.31 MB / 0.598 GB, free: 1.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.5923, allocations: 81.55 kB / 0.5981 GB, free: 1.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.5927, allocations: 360.2 kB / 0.5985 GB, free: 1.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.5929, allocations: 37.02 kB / 0.5985 GB, free: 1.387 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.5931, allocations: 311.7 kB / 0.5988 GB, free: 1.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.5934, allocations: 268.6 kB / 0.5991 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.5935, allocations: 14.38 kB / 0.5991 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5936, allocations: 368 kB / 0.5994 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.5947, allocations: 0.7889 MB / 0.6002 GB, free: 60 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5958, allocations: 0.9997 MB / 0.6012 GB, free: 15.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.597, allocations: 0.9028 MB / 0.602 GB, free: 14.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.597, allocations: 0 / 0.602 GB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01647/0.6135, allocations: 5.366 MB / 0.6073 GB, free: 10.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.6136, allocations: 10.5 kB / 0.6073 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01214/0.6257, allocations: 4.257 MB / 0.6115 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01818/0.644, allocations: 5.835 MB / 0.6172 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.6446, allocations: 119.8 kB / 0.6173 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/0.6605, allocations: 10.96 MB / 0.628 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/0.6612, allocations: 55.94 kB / 0.628 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.6615, allocations: 167.9 kB / 0.6282 GB, free: 4.977 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002472/0.6617, allocations: 153.4 kB / 0.6283 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.6618, allocations: 51.34 kB / 0.6284 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/0.675, allocations: 4.052 MB / 0.6323 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-05/0.6751, allocations: 8 kB / 0.6323 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6751, allocations: 0 / 0.6323 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.6751, allocations: 7.984 kB / 0.6324 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.6911, allocations: 5.473 MB / 0.6377 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.6912, allocations: 0 / 0.6377 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.6915, allocations: 55.91 kB / 0.6378 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02607/0.7176, allocations: 7.97 MB / 0.6455 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003917/0.718, allocations: 235.8 kB / 0.6458 GB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/0.7354, allocations: 13.65 MB / 0.6591 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.7355, allocations: 0 / 0.6591 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.7489, allocations: 4.527 MB / 0.6635 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.7492, allocations: 116.5 kB / 0.6636 GB, free: 216 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/0.7495, allocations: 195.8 kB / 0.6638 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.75, allocations: 43.94 kB / 0.6639 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004754/0.7505, allocations: 148.1 kB / 0.664 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/0.7507, allocations: 168 kB / 0.6642 GB, free: 15.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003151/0.751, allocations: 269.2 kB / 0.6644 GB, free: 15.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.751, allocations: 4 kB / 0.6644 GB, free: 15.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001225/0.7523, allocations: 388 kB / 0.6648 GB, free: 15.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002934/0.7526, allocations: 171 kB / 0.6649 GB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004268/0.7568, allocations: 2.375 MB / 0.6673 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7568, allocations: 0 / 0.6673 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003091/0.7599, allocations: 1.566 MB / 0.6688 GB, free: 10.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.7605, allocations: 122 kB / 0.6689 GB, free: 10.72 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.7647, allocations: 3.27 MB / 0.6721 GB, free: 7.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.7652, allocations: 0.9813 MB / 0.6731 GB, free: 6.398 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.7656, allocations: 144.9 kB / 0.6732 GB, free: 6.254 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.355e-05/0.7657, allocations: 39.42 kB / 0.6732 GB, free: 6.215 MB / 474.7 MB Notification: Performance of SimCode: time 4.41e-07/0.7657, allocations: 0 / 0.6732 GB, free: 6.215 MB / 474.7 MB Notification: Performance of Templates: time 0.2457/1.011, allocations: 33.12 MB / 0.7056 GB, free: 158.7 MB / 490.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Line.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches