Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001065/0.001065, allocations: 179.1 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.721/1.721, allocations: 194.5 MB / 212.6 MB, free: 2.945 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00158/0.00158, allocations: 121.8 kB / 257.9 MB, free: 4.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1939/0.1939, allocations: 38.01 MB / 341.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 16 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1048, allocations: 53.24 MB / 458.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3742/0.4791, allocations: 93.61 MB / 0.5389 GB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.4795, allocations: 103.2 kB / 0.539 GB, free: 1.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03144/0.5109, allocations: 11.03 MB / 0.5498 GB, free: 7.648 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.511, allocations: 7.938 kB / 0.5498 GB, free: 7.641 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.931e-05/0.511, allocations: 19.94 kB / 0.5498 GB, free: 7.621 MB / 362.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.002142/0.5132, allocations: 0.8679 MB / 0.5507 GB, free: 6.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5132, allocations: 12.03 kB / 0.5507 GB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.5135, allocations: 56.28 kB / 0.5507 GB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.5155, allocations: 0.8456 MB / 0.5516 GB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.5155, allocations: 28.62 kB / 0.5516 GB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.5157, allocations: 48.66 kB / 0.5516 GB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.517, allocations: 0.7956 MB / 0.5524 GB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.5171, allocations: 0 / 0.5524 GB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.334e-05/0.5172, allocations: 18.81 kB / 0.5524 GB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.5172, allocations: 8 kB / 0.5524 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.5179, allocations: 449 kB / 0.5529 GB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.5222, allocations: 2.763 MB / 0.5556 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.523, allocations: 481.2 kB / 0.556 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006867/0.5237, allocations: 447.1 kB / 0.5565 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.5237, allocations: 4 kB / 0.5565 GB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/0.5238, allocations: 42.36 kB / 0.5565 GB, free: 1.777 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 5.18e-06/0.5238, allocations: 4 kB / 0.5565 GB, free: 1.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.009366/0.5332, allocations: 3.8 MB / 0.5602 GB, free: 14.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.5333, allocations: 85.09 kB / 0.5603 GB, free: 14.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.5338, allocations: 378.3 kB / 0.5607 GB, free: 14.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-05/0.5339, allocations: 36.86 kB / 0.5607 GB, free: 13.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.5341, allocations: 255.2 kB / 0.5609 GB, free: 13.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.5343, allocations: 152.9 kB / 0.5611 GB, free: 13.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.5344, allocations: 10.62 kB / 0.5611 GB, free: 13.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.5346, allocations: 360.5 kB / 0.5614 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.5352, allocations: 439.3 kB / 0.5619 GB, free: 13.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.5359, allocations: 0.5458 MB / 0.5624 GB, free: 12.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.5372, allocations: 0.9944 MB / 0.5634 GB, free: 11.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5372, allocations: 0 / 0.5634 GB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005778/0.543, allocations: 2.493 MB / 0.5658 GB, free: 9.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.543, allocations: 8.25 kB / 0.5658 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5431, allocations: 4 kB / 0.5658 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006594/0.5497, allocations: 2.079 MB / 0.5678 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.5501, allocations: 87.83 kB / 0.5679 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.561, allocations: 8.91 MB / 0.5766 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.5615, allocations: 34.89 kB / 0.5767 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.5617, allocations: 67.05 kB / 0.5767 GB, free: 15.86 MB / 394.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): 0 * Non-linear Jacobian: 2 {8,6} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004235/0.5621, allocations: 194.2 kB / 0.5769 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.5623, allocations: 51.5 kB / 0.577 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005229/0.5675, allocations: 2.216 MB / 0.5791 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.5676, allocations: 7.938 kB / 0.5791 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5676, allocations: 3.938 kB / 0.5791 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.5676, allocations: 7.984 kB / 0.5791 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006656/0.5743, allocations: 3.005 MB / 0.5821 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.5743, allocations: 0 / 0.5821 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.5745, allocations: 39.48 kB / 0.5821 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008606/0.5832, allocations: 3.244 MB / 0.5853 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/0.5834, allocations: 112.4 kB / 0.5854 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.5948, allocations: 8.945 MB / 0.5941 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5949, allocations: 0 / 0.5941 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006035/0.6009, allocations: 2.621 MB / 0.5967 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.6012, allocations: 116.6 kB / 0.5968 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.6014, allocations: 87.94 kB / 0.5969 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.6018, allocations: 27.97 kB / 0.5969 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/0.6021, allocations: 75.83 kB / 0.597 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.6022, allocations: 67.95 kB / 0.597 GB, free: 12.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003746/0.6026, allocations: 259.2 kB / 0.5973 GB, free: 12.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6026, allocations: 3.938 kB / 0.5973 GB, free: 12.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001063/0.6037, allocations: 228 kB / 0.5975 GB, free: 12.14 MB / 410.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.0003046/0.604, allocations: 149.6 kB / 0.5976 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.6065, allocations: 1.366 MB / 0.599 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6066, allocations: 0 / 0.599 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.6083, allocations: 0.9205 MB / 0.5999 GB, free: 9.633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.609, allocations: 109.5 kB / 0.6 GB, free: 9.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.6125, allocations: 2.618 MB / 0.6025 GB, free: 6.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.6131, allocations: 0.886 MB / 0.6034 GB, free: 5.961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002941/0.6134, allocations: 80.33 kB / 0.6035 GB, free: 5.883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.6135, allocations: 31.44 kB / 0.6035 GB, free: 5.852 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6135, allocations: 0 / 0.6035 GB, free: 5.852 MB / 410.7 MB Notification: Performance of Templates: time 0.03172/0.6452, allocations: 16.83 MB / 0.6199 GB, free: 5 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)