Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001298/0.001298, allocations: 176.4 kB / 17.4 MB, free: 4.297 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.616/1.616, allocations: 205.4 MB / 223.5 MB, free: 8.938 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.0007309/0.0007309, allocations: 79.88 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1705/0.1705, allocations: 38.08 MB / 358.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004332, allocations: 12 kB / 425.3 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3367, allocations: 56.31 MB / 481.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.5129, allocations: 98.65 MB / 0.5666 GB, free: 3.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.5132, allocations: 95.8 kB / 0.5667 GB, free: 3.512 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04755/0.5608, allocations: 11.12 MB / 0.5776 GB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5609, allocations: 0 / 0.5776 GB, free: 8.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.347e-05/0.561, allocations: 12 kB / 0.5776 GB, free: 8.262 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002867/0.5638, allocations: 0.8633 MB / 0.5784 GB, free: 7.344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5639, allocations: 8.031 kB / 0.5784 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.5641, allocations: 56.28 kB / 0.5785 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.5668, allocations: 0.8467 MB / 0.5793 GB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.5669, allocations: 28.98 kB / 0.5793 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.5671, allocations: 55.91 kB / 0.5794 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.5688, allocations: 0.7881 MB / 0.5802 GB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.5689, allocations: 4 kB / 0.5802 GB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.569, allocations: 19.94 kB / 0.5802 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.569, allocations: 8 kB / 0.5802 GB, free: 5.457 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.5701, allocations: 454.2 kB / 0.5806 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/0.5758, allocations: 2.714 MB / 0.5833 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.5769, allocations: 485.2 kB / 0.5837 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.578, allocations: 445.5 kB / 0.5842 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.578, allocations: 4 kB / 0.5842 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.5781, allocations: 34.56 kB / 0.5842 GB, free: 1.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.757e-06/0.5781, allocations: 0 / 0.5842 GB, free: 1.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.01422/0.5923, allocations: 3.81 MB / 0.5879 GB, free: 13.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.5926, allocations: 89.03 kB / 0.588 GB, free: 13.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.5936, allocations: 377.6 kB / 0.5884 GB, free: 12.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.5939, allocations: 33.7 kB / 0.5884 GB, free: 12.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.5943, allocations: 252.2 kB / 0.5886 GB, free: 12.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.5946, allocations: 158.1 kB / 0.5888 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.5947, allocations: 12 kB / 0.5888 GB, free: 12.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.5949, allocations: 358.7 kB / 0.5891 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009815/0.5959, allocations: 428.9 kB / 0.5895 GB, free: 11.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.597, allocations: 0.5338 MB / 0.5901 GB, free: 11.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.5991, allocations: 0.9747 MB / 0.591 GB, free: 9.996 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.5991, allocations: 4 kB / 0.591 GB, free: 9.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005926/0.6051, allocations: 2.129 MB / 0.5931 GB, free: 7.848 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.6052, allocations: 10.19 kB / 0.5931 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.6052, allocations: 11.98 kB / 0.5931 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009284/0.6145, allocations: 2.78 MB / 0.5958 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.6151, allocations: 87.83 kB / 0.5959 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.6151, allocations: 4 kB / 0.5959 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.6157, allocations: 35.95 kB / 0.596 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.6159, allocations: 71.91 kB / 0.596 GB, free: 4.844 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 2 {(7,32.7%),(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005482/0.6165, allocations: 209.5 kB / 0.5962 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.6167, allocations: 47.47 kB / 0.5963 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008591/0.6253, allocations: 2.222 MB / 0.5984 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.6254, allocations: 8 kB / 0.5985 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.6254, allocations: 0 / 0.5985 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6254, allocations: 0 / 0.5985 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.6355, allocations: 3.005 MB / 0.6014 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.6356, allocations: 3.938 kB / 0.6014 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.6359, allocations: 35.98 kB / 0.6014 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01459/0.6505, allocations: 3.244 MB / 0.6046 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002993/0.6509, allocations: 107.9 kB / 0.6047 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.6686, allocations: 8.941 MB / 0.6134 GB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-06/0.6686, allocations: 11.88 kB / 0.6134 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009361/0.678, allocations: 2.621 MB / 0.616 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.6783, allocations: 112.6 kB / 0.6161 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.6787, allocations: 87.95 kB / 0.6162 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.6793, allocations: 27.95 kB / 0.6162 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/0.6797, allocations: 71.83 kB / 0.6163 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.6798, allocations: 71.89 kB / 0.6164 GB, free: 15.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004719/0.6803, allocations: 259.2 kB / 0.6166 GB, free: 15.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6803, allocations: 4 kB / 0.6166 GB, free: 15.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001253/0.6816, allocations: 184 kB / 0.6168 GB, free: 15.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (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.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]) * 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 (24): * Single equations (assignments): 21 * Array equations: 0 * 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 {8,6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003461/0.682, allocations: 146 kB / 0.6169 GB, free: 15.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.6846, allocations: 1.075 MB / 0.618 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6846, allocations: 4 kB / 0.618 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002675/0.6873, allocations: 0.9126 MB / 0.6189 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6886, allocations: 114 kB / 0.619 GB, free: 12.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.6937, allocations: 2.536 MB / 0.6214 GB, free: 10.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.6944, allocations: 0.8859 MB / 0.6223 GB, free: 9.363 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003668/0.6947, allocations: 72.34 kB / 0.6224 GB, free: 9.293 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.6949, allocations: 43.36 kB / 0.6224 GB, free: 9.25 MB / 458.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6949, allocations: 0 / 0.6224 GB, free: 9.25 MB / 458.7 MB Notification: Performance of Templates: time 0.03073/0.7256, allocations: 19.13 MB / 0.6411 GB, free: 6.098 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches