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.001038/0.001038, allocations: 179.8 kB / 16.38 MB, free: 5.762 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.262/1.262, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001613/0.001613, allocations: 111.1 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1591/0.1591, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000424/0.000424, allocations: 12 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.08999, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3118/0.4018, allocations: 93.58 MB / 0.5377 GB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4021, allocations: 90.02 kB / 0.5378 GB, free: 1.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03013/0.4323, allocations: 11.07 MB / 0.5486 GB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4323, allocations: 0 / 0.5486 GB, free: 8.039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.413e-05/0.4324, allocations: 16 kB / 0.5486 GB, free: 8.023 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.001724/0.4341, allocations: 0.8805 MB / 0.5495 GB, free: 7.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4341, allocations: 12.02 kB / 0.5495 GB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.4343, allocations: 55.34 kB / 0.5495 GB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.4374, allocations: 1.266 MB / 0.5508 GB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.4374, allocations: 32.67 kB / 0.5508 GB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.4376, allocations: 49.02 kB / 0.5508 GB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4386, allocations: 0.7891 MB / 0.5516 GB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4386, allocations: 0 / 0.5516 GB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.4387, allocations: 16.75 kB / 0.5516 GB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4387, allocations: 8 kB / 0.5516 GB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.4393, allocations: 455.8 kB / 0.5521 GB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.4433, allocations: 2.762 MB / 0.5548 GB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.444, allocations: 483.9 kB / 0.5552 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.4441, allocations: 8.047 kB / 0.5552 GB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4441, allocations: 38.53 kB / 0.5553 GB, free: 2.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.4441, allocations: 0 / 0.5553 GB, free: 2.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.008893/0.453, allocations: 3.794 MB / 0.559 GB, free: 14.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.4531, allocations: 89.08 kB / 0.5591 GB, free: 14.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.4535, allocations: 331.9 kB / 0.5594 GB, free: 14.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.4535, allocations: 31.83 kB / 0.5594 GB, free: 14.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.4537, allocations: 251.4 kB / 0.5596 GB, free: 14.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.4539, allocations: 150.5 kB / 0.5598 GB, free: 14.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.4539, allocations: 11.25 kB / 0.5598 GB, free: 14.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4541, allocations: 363.8 kB / 0.5601 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.4546, allocations: 440.9 kB / 0.5606 GB, free: 13.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.4553, allocations: 0.5379 MB / 0.5611 GB, free: 12.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.4558, allocations: 498.6 kB / 0.5616 GB, free: 12.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4558, allocations: 0 / 0.5616 GB, free: 12.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005697/0.4615, allocations: 2.488 MB / 0.564 GB, free: 10.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4616, allocations: 8 kB / 0.564 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4616, allocations: 4 kB / 0.564 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006609/0.4682, allocations: 2.077 MB / 0.566 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.4686, allocations: 90.89 kB / 0.5661 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.4791, allocations: 9.436 MB / 0.5753 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.4796, allocations: 43.55 kB / 0.5754 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.4797, allocations: 74.23 kB / 0.5755 GB, free: 292 kB / 378.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.0003672/0.4801, allocations: 202.2 kB / 0.5756 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.4802, allocations: 43.48 kB / 0.5757 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/0.4856, allocations: 2.213 MB / 0.5778 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4856, allocations: 4 kB / 0.5779 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4856, allocations: 4 kB / 0.5779 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4856, allocations: 3.984 kB / 0.5779 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006307/0.4919, allocations: 2.995 MB / 0.5808 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.492, allocations: 7.938 kB / 0.5808 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.4922, allocations: 39.97 kB / 0.5808 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008992/0.5012, allocations: 3.24 MB / 0.584 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.5014, allocations: 111 kB / 0.5841 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.5121, allocations: 9.482 MB / 0.5934 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5121, allocations: 0 / 0.5934 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/0.518, allocations: 2.645 MB / 0.5959 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.5182, allocations: 120.5 kB / 0.5961 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.5183, allocations: 87.94 kB / 0.5961 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.5186, allocations: 23.97 kB / 0.5962 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.5188, allocations: 71.89 kB / 0.5962 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/0.5189, allocations: 67.95 kB / 0.5963 GB, free: 12.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002957/0.5192, allocations: 263.1 kB / 0.5965 GB, free: 12.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5192, allocations: 0 / 0.5965 GB, free: 12.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008369/0.5201, allocations: 224 kB / 0.5968 GB, free: 12.09 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.0002457/0.5203, allocations: 137.5 kB / 0.5969 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.5227, allocations: 1.374 MB / 0.5982 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5227, allocations: 384 / 0.5982 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.5243, allocations: 0.9126 MB / 0.5991 GB, free: 9.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.5248, allocations: 113.4 kB / 0.5992 GB, free: 9.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.5281, allocations: 2.62 MB / 0.6018 GB, free: 6.836 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.5285, allocations: 0.9015 MB / 0.6027 GB, free: 5.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000254/0.5288, allocations: 72.34 kB / 0.6027 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.5289, allocations: 35.42 kB / 0.6028 GB, free: 5.797 MB / 410.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5289, allocations: 0 / 0.6028 GB, free: 5.797 MB / 410.7 MB Notification: Performance of Templates: time 0.02252/0.5514, allocations: 16.75 MB / 0.6191 GB, free: 5.027 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)