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.001635/0.001635, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009997/0.001, allocations: 89.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1927/0.1927, allocations: 38 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.424e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 56.33 MB / 466.9 MB, free: 6.566 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3597/0.4688, allocations: 97.85 MB / 0.5515 GB, free: 13.08 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.4692, allocations: 87.95 kB / 0.5516 GB, free: 13 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03406/0.5033, allocations: 11.01 MB / 0.5623 GB, free: 1.887 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5033, allocations: 0 / 0.5623 GB, free: 1.887 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.5034, allocations: 11.98 kB / 0.5624 GB, free: 1.875 MB / 395.1 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.00155/0.5049, allocations: 0.7807 MB / 0.5631 GB, free: 1.047 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.505, allocations: 15.97 kB / 0.5631 GB, free: 1.031 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.5051, allocations: 51.34 kB / 0.5632 GB, free: 0.9805 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.5085, allocations: 1.249 MB / 0.5644 GB, free: 15.69 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5086, allocations: 12 kB / 0.5644 GB, free: 15.68 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.5087, allocations: 43.84 kB / 0.5645 GB, free: 15.63 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000653/0.5094, allocations: 405.4 kB / 0.5648 GB, free: 15.24 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.5104, allocations: 0.7333 MB / 0.5656 GB, free: 14.47 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5105, allocations: 0 / 0.5656 GB, free: 14.47 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.705e-05/0.5105, allocations: 3.953 kB / 0.5656 GB, free: 14.46 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5106, allocations: 12 kB / 0.5656 GB, free: 14.45 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.5144, allocations: 2.636 MB / 0.5682 GB, free: 11.75 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.5151, allocations: 465.3 kB / 0.5686 GB, free: 11.27 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/0.5158, allocations: 430.1 kB / 0.569 GB, free: 10.85 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.5158, allocations: 7.984 kB / 0.569 GB, free: 10.84 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.5159, allocations: 42.55 kB / 0.5691 GB, free: 10.79 MB / 411.1 MB Notification: Performance of pre-optimization done (n=32): time 2.766e-06/0.5159, allocations: 0 / 0.5691 GB, free: 10.79 MB / 411.1 MB Notification: Performance of matching and sorting (n=33): time 0.007203/0.5231, allocations: 3.024 MB / 0.572 GB, free: 7.695 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.5232, allocations: 81.11 kB / 0.5721 GB, free: 7.598 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.5237, allocations: 302.3 kB / 0.5724 GB, free: 7.301 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.5238, allocations: 29.7 kB / 0.5724 GB, free: 7.266 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.524, allocations: 248.2 kB / 0.5726 GB, free: 7.016 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.5242, allocations: 154.1 kB / 0.5728 GB, free: 6.863 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.5242, allocations: 0 / 0.5728 GB, free: 6.863 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5244, allocations: 354.8 kB / 0.5731 GB, free: 6.508 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.5249, allocations: 417 kB / 0.5735 GB, free: 6.098 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.5256, allocations: 0.5131 MB / 0.574 GB, free: 5.539 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.5262, allocations: 453.4 kB / 0.5745 GB, free: 5.098 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.5262, allocations: 8 kB / 0.5745 GB, free: 5.09 MB / 411.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003857/0.5301, allocations: 2.075 MB / 0.5765 GB, free: 3 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.5302, allocations: 4 kB / 0.5765 GB, free: 2.996 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.5302, allocations: 4 kB / 0.5765 GB, free: 2.992 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006132/0.5364, allocations: 2.691 MB / 0.5791 GB, free: 300 kB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.5369, allocations: 95.83 kB / 0.5792 GB, free: 204 kB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.537, allocations: 4 kB / 0.5792 GB, free: 200 kB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.5375, allocations: 23.95 kB / 0.5792 GB, free: 176 kB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.5376, allocations: 71.88 kB / 0.5793 GB, free: 104 kB / 411.1 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 (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.0002724/0.5379, allocations: 121.1 kB / 0.5794 GB, free: 15.98 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.538, allocations: 43.47 kB / 0.5795 GB, free: 15.93 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005832/0.5438, allocations: 2.172 MB / 0.5816 GB, free: 13.75 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.5439, allocations: 7.953 kB / 0.5816 GB, free: 13.74 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5439, allocations: 8 kB / 0.5816 GB, free: 13.73 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5439, allocations: 3.938 kB / 0.5816 GB, free: 13.73 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006892/0.5508, allocations: 2.904 MB / 0.5844 GB, free: 10.77 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.5509, allocations: 0 / 0.5844 GB, free: 10.77 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.5512, allocations: 39.92 kB / 0.5845 GB, free: 10.73 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009711/0.5609, allocations: 3.213 MB / 0.5876 GB, free: 7.5 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003/0.5613, allocations: 103.9 kB / 0.5877 GB, free: 7.398 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.5727, allocations: 8.732 MB / 0.5962 GB, free: 14.43 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.5728, allocations: 0 / 0.5962 GB, free: 14.43 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006394/0.5792, allocations: 2.586 MB / 0.5988 GB, free: 11.8 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.5795, allocations: 112.6 kB / 0.5989 GB, free: 11.67 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.5797, allocations: 87.94 kB / 0.599 GB, free: 11.59 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.58, allocations: 19.97 kB / 0.599 GB, free: 11.57 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.5803, allocations: 71.83 kB / 0.599 GB, free: 11.5 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.5804, allocations: 67.95 kB / 0.5991 GB, free: 11.43 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.5807, allocations: 236.5 kB / 0.5993 GB, free: 11.2 MB / 443.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5807, allocations: 0 / 0.5993 GB, free: 11.2 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.0007401/0.5815, allocations: 176 kB / 0.5995 GB, free: 11.03 MB / 443.1 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 () * 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.000286/0.5818, allocations: 137.2 kB / 0.5996 GB, free: 10.89 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.5834, allocations: 1.039 MB / 0.6007 GB, free: 9.805 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5835, allocations: 4.062 kB / 0.6007 GB, free: 9.801 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.5852, allocations: 0.8874 MB / 0.6015 GB, free: 8.887 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.5858, allocations: 109.8 kB / 0.6016 GB, free: 8.781 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.5889, allocations: 1.972 MB / 0.6036 GB, free: 6.777 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.5895, allocations: 0.8937 MB / 0.6044 GB, free: 5.859 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.5898, allocations: 72.34 kB / 0.6045 GB, free: 5.785 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.5899, allocations: 31.44 kB / 0.6045 GB, free: 5.754 MB / 443.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5899, allocations: 4 kB / 0.6045 GB, free: 5.75 MB / 443.1 MB Notification: Performance of Templates: time 0.02803/0.6179, allocations: 18.09 MB / 0.6222 GB, free: 3.648 MB / 459.1 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