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.001091/0.001091, allocations: 181.1 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.518/1.518, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008454/0.0008455, allocations: 104.1 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.198/0.198, allocations: 38.06 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 8 kB / 424 MB, free: 37.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3081, allocations: 56.32 MB / 480.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.4536, allocations: 98.61 MB / 0.5653 GB, free: 3.801 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.4539, allocations: 95.94 kB / 0.5654 GB, free: 3.707 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03051/0.4844, allocations: 11.14 MB / 0.5763 GB, free: 8.438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4845, allocations: 0 / 0.5763 GB, free: 8.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.496e-05/0.4845, allocations: 8 kB / 0.5763 GB, free: 8.43 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.00171/0.4862, allocations: 0.8825 MB / 0.5772 GB, free: 7.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4863, allocations: 12.03 kB / 0.5772 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.4864, allocations: 55.34 kB / 0.5773 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.4896, allocations: 1.266 MB / 0.5785 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/0.4897, allocations: 29 kB / 0.5785 GB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.4898, allocations: 55.89 kB / 0.5786 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.4909, allocations: 0.7842 MB / 0.5793 GB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.491, allocations: 11.92 kB / 0.5794 GB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.4911, allocations: 16 kB / 0.5794 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4911, allocations: 11.95 kB / 0.5794 GB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006491/0.4917, allocations: 446.2 kB / 0.5798 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004003/0.4957, allocations: 2.702 MB / 0.5824 GB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/0.4964, allocations: 489.2 kB / 0.5829 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.4965, allocations: 8.062 kB / 0.5829 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.4965, allocations: 46.45 kB / 0.583 GB, free: 1.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.4965, allocations: 0 / 0.583 GB, free: 1.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.009046/0.5056, allocations: 3.791 MB / 0.5867 GB, free: 13.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.5056, allocations: 81.11 kB / 0.5867 GB, free: 13.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.506, allocations: 336.7 kB / 0.5871 GB, free: 13.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.506, allocations: 29.7 kB / 0.5871 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.5062, allocations: 252.2 kB / 0.5873 GB, free: 12.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.5064, allocations: 158 kB / 0.5875 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.5064, allocations: 12 kB / 0.5875 GB, free: 12.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5066, allocations: 354.8 kB / 0.5878 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005469/0.5071, allocations: 432.9 kB / 0.5882 GB, free: 11.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/0.5077, allocations: 0.5331 MB / 0.5888 GB, free: 11.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.5083, allocations: 485.3 kB / 0.5892 GB, free: 10.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5083, allocations: 8 kB / 0.5892 GB, free: 10.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003726/0.5121, allocations: 2.126 MB / 0.5913 GB, free: 8.633 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5121, allocations: 8 kB / 0.5913 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5121, allocations: 4 kB / 0.5913 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006332/0.5185, allocations: 2.78 MB / 0.594 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.5188, allocations: 91.83 kB / 0.5941 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5188, allocations: 7.984 kB / 0.5941 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.5191, allocations: 35.92 kB / 0.5942 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.5192, allocations: 75.95 kB / 0.5942 GB, free: 5.625 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.0002854/0.5195, allocations: 197.7 kB / 0.5944 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.5196, allocations: 39.53 kB / 0.5945 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00559/0.5252, allocations: 2.223 MB / 0.5966 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.5252, allocations: 4 kB / 0.5966 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5252, allocations: 4 kB / 0.5966 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5253, allocations: 11.92 kB / 0.5967 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006887/0.5322, allocations: 2.998 MB / 0.5996 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5322, allocations: 0 / 0.5996 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.5324, allocations: 39.94 kB / 0.5996 GB, free: 20 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009597/0.542, allocations: 3.252 MB / 0.6028 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/0.5422, allocations: 111.9 kB / 0.6029 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.5531, allocations: 9.473 MB / 0.6122 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5532, allocations: 4 kB / 0.6122 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006081/0.5593, allocations: 2.629 MB / 0.6147 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.5594, allocations: 116.6 kB / 0.6148 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.5596, allocations: 87.94 kB / 0.6149 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.5599, allocations: 27.92 kB / 0.6149 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.5601, allocations: 71.83 kB / 0.615 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/0.5602, allocations: 67.95 kB / 0.6151 GB, free: 15.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002861/0.5605, allocations: 263.2 kB / 0.6153 GB, free: 15.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5605, allocations: 0 / 0.6153 GB, free: 15.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006422/0.5612, allocations: 192 kB / 0.6155 GB, free: 15.41 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.0002245/0.5614, allocations: 131.4 kB / 0.6156 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.5631, allocations: 1.082 MB / 0.6167 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.5631, allocations: 0 / 0.6167 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.5647, allocations: 0.9169 MB / 0.6176 GB, free: 13.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.5652, allocations: 111.9 kB / 0.6177 GB, free: 13.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.5682, allocations: 2.543 MB / 0.6202 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.5687, allocations: 0.8976 MB / 0.6211 GB, free: 9.586 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.5689, allocations: 72.34 kB / 0.6211 GB, free: 9.512 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.569, allocations: 31.44 kB / 0.6212 GB, free: 9.48 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.569, allocations: 0 / 0.6212 GB, free: 9.48 MB / 458.7 MB Notification: Performance of Templates: time 0.02469/0.5937, allocations: 19.06 MB / 0.6398 GB, free: 6.41 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/jenkins/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