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.001439/0.001439, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.349/1.349, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001495/0.001495, allocations: 112.6 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.17/0.17, allocations: 37.93 MB / 330.9 MB, free: 7.293 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.59e-05, allocations: 5.562 kB / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07762/0.07765, allocations: 53.23 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.4004, allocations: 92.83 MB / 0.5238 GB, free: 10.09 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4007, allocations: 91.44 kB / 0.5239 GB, free: 10.08 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02901/0.4297, allocations: 10.94 MB / 0.5346 GB, free: 5.137 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4297, allocations: 0 / 0.5346 GB, free: 5.137 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.4298, allocations: 16.16 kB / 0.5346 GB, free: 5.121 MB / 347.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.001227/0.431, allocations: 0.7613 MB / 0.5354 GB, free: 4.34 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4311, allocations: 8.031 kB / 0.5354 GB, free: 4.332 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.4312, allocations: 59.33 kB / 0.5354 GB, free: 4.273 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.4339, allocations: 1.253 MB / 0.5367 GB, free: 3.211 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4339, allocations: 15.98 kB / 0.5367 GB, free: 3.195 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.434, allocations: 40.19 kB / 0.5367 GB, free: 3.156 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004912/0.4345, allocations: 413.1 kB / 0.5371 GB, free: 2.867 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.4353, allocations: 0.7259 MB / 0.5378 GB, free: 2.258 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4354, allocations: 4 kB / 0.5378 GB, free: 2.254 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.4354, allocations: 7.938 kB / 0.5378 GB, free: 2.246 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4355, allocations: 8 kB / 0.5378 GB, free: 2.238 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.4387, allocations: 2.671 MB / 0.5405 GB, free: 15.94 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.4393, allocations: 465.7 kB / 0.5409 GB, free: 15.61 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006745/0.44, allocations: 429.1 kB / 0.5413 GB, free: 15.32 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.44, allocations: 8.281 kB / 0.5413 GB, free: 15.31 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.44, allocations: 42.31 kB / 0.5414 GB, free: 15.27 MB / 363.1 MB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.4401, allocations: 0 / 0.5414 GB, free: 15.27 MB / 363.1 MB Notification: Performance of matching and sorting (n=33): time 0.006708/0.4468, allocations: 3.022 MB / 0.5443 GB, free: 12.59 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.4468, allocations: 84.36 kB / 0.5444 GB, free: 12.5 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.4471, allocations: 307.8 kB / 0.5447 GB, free: 12.25 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.4472, allocations: 25.7 kB / 0.5447 GB, free: 12.21 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.4474, allocations: 245.6 kB / 0.5449 GB, free: 12.03 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.4475, allocations: 154 kB / 0.5451 GB, free: 11.9 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.4475, allocations: 4.781 kB / 0.5451 GB, free: 11.9 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4477, allocations: 362.5 kB / 0.5454 GB, free: 11.55 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.4482, allocations: 426.4 kB / 0.5458 GB, free: 11.26 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.4487, allocations: 0.5225 MB / 0.5464 GB, free: 10.82 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.4493, allocations: 473.1 kB / 0.5468 GB, free: 10.49 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4493, allocations: 0 / 0.5468 GB, free: 10.49 MB / 363.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005787/0.4551, allocations: 2.429 MB / 0.5492 GB, free: 8.41 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.4552, allocations: 8 kB / 0.5492 GB, free: 8.402 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4552, allocations: 11.88 kB / 0.5492 GB, free: 8.391 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007043/0.4622, allocations: 2.07 MB / 0.5512 GB, free: 6.41 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.4627, allocations: 87.47 kB / 0.5513 GB, free: 6.328 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/0.4769, allocations: 8.627 MB / 0.5597 GB, free: 14.93 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.4775, allocations: 27.86 kB / 0.5598 GB, free: 14.9 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.4777, allocations: 67.14 kB / 0.5598 GB, free: 14.84 MB / 379.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): 0 * Non-linear Jacobian: 2 {8,6} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.4779, allocations: 115.8 kB / 0.5599 GB, free: 14.73 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.4781, allocations: 39.53 kB / 0.56 GB, free: 14.69 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007419/0.4855, allocations: 2.176 MB / 0.5621 GB, free: 12.8 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.4856, allocations: 4 kB / 0.5621 GB, free: 12.79 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.4856, allocations: 0 / 0.5621 GB, free: 12.79 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4856, allocations: 3.984 kB / 0.5621 GB, free: 12.79 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009021/0.4946, allocations: 2.908 MB / 0.5649 GB, free: 10.26 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.4947, allocations: 4.031 kB / 0.5649 GB, free: 10.26 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.495, allocations: 47.59 kB / 0.565 GB, free: 10.21 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01263/0.5077, allocations: 3.213 MB / 0.5681 GB, free: 7.148 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.5079, allocations: 107.2 kB / 0.5682 GB, free: 7.059 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.5183, allocations: 8.711 MB / 0.5767 GB, free: 15.58 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.5184, allocations: 4 kB / 0.5767 GB, free: 15.57 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006208/0.5246, allocations: 2.594 MB / 0.5793 GB, free: 12.94 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.5248, allocations: 116.6 kB / 0.5794 GB, free: 12.81 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.525, allocations: 79.95 kB / 0.5795 GB, free: 12.73 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.5253, allocations: 23.95 kB / 0.5795 GB, free: 12.71 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.5256, allocations: 71.84 kB / 0.5795 GB, free: 12.64 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.5257, allocations: 63.97 kB / 0.5796 GB, free: 12.57 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.526, allocations: 232.6 kB / 0.5798 GB, free: 12.35 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.526, allocations: 0 / 0.5798 GB, free: 12.35 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0009555/0.527, allocations: 223.9 kB / 0.58 GB, free: 12.13 MB / 395.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.000259/0.5272, allocations: 149.4 kB / 0.5802 GB, free: 11.98 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.5297, allocations: 1.302 MB / 0.5815 GB, free: 10.66 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5297, allocations: 0 / 0.5815 GB, free: 10.66 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.5315, allocations: 0.8879 MB / 0.5823 GB, free: 9.742 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.5321, allocations: 109.1 kB / 0.5824 GB, free: 9.641 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.535, allocations: 1.99 MB / 0.5844 GB, free: 7.613 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.5355, allocations: 0.8976 MB / 0.5852 GB, free: 6.688 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0003026/0.5358, allocations: 76.33 kB / 0.5853 GB, free: 6.613 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.5359, allocations: 35.44 kB / 0.5854 GB, free: 6.578 MB / 395.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5359, allocations: 0 / 0.5854 GB, free: 6.578 MB / 395.1 MB Notification: Performance of Templates: time 0.02319/0.5591, allocations: 15.86 MB / 0.6008 GB, free: 6.742 MB / 411.1 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)