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.001025/0.001025, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.391/1.391, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001645/0.001645, allocations: 122.3 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1763/0.1763, allocations: 37.93 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.351e-05, allocations: 0 / 397.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2917, allocations: 53.23 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.6468, allocations: 93.48 MB / 0.5315 GB, free: 87.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.6472, allocations: 88.47 kB / 0.5316 GB, free: 87.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03335/0.6805, allocations: 11.08 MB / 0.5424 GB, free: 85.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6806, allocations: 0 / 0.5424 GB, free: 85.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.028e-05/0.6806, allocations: 11.88 kB / 0.5424 GB, free: 85.06 MB / 378.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.001291/0.6819, allocations: 0.7678 MB / 0.5432 GB, free: 84.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.682, allocations: 11.53 kB / 0.5432 GB, free: 84.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.6821, allocations: 58.06 kB / 0.5432 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.6852, allocations: 1.261 MB / 0.5445 GB, free: 83.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.6853, allocations: 27.34 kB / 0.5445 GB, free: 83.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.6854, allocations: 56.94 kB / 0.5445 GB, free: 83.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6866, allocations: 0.7804 MB / 0.5453 GB, free: 83.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.6866, allocations: 0 / 0.5453 GB, free: 83.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.6867, allocations: 15.94 kB / 0.5453 GB, free: 83.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.6867, allocations: 11.88 kB / 0.5453 GB, free: 83.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006748/0.6874, allocations: 433.1 kB / 0.5457 GB, free: 82.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.6912, allocations: 2.758 MB / 0.5484 GB, free: 80.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.692, allocations: 481.2 kB / 0.5489 GB, free: 79.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.6927, allocations: 438.1 kB / 0.5493 GB, free: 79.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.6927, allocations: 4 kB / 0.5493 GB, free: 79.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.6927, allocations: 46.53 kB / 0.5494 GB, free: 79.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.544e-06/0.6928, allocations: 0 / 0.5494 GB, free: 79.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.006401/0.6992, allocations: 3.098 MB / 0.5524 GB, free: 76.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.6992, allocations: 85.14 kB / 0.5525 GB, free: 75.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.6996, allocations: 330.8 kB / 0.5528 GB, free: 75.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.6996, allocations: 37.7 kB / 0.5528 GB, free: 75.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.6997, allocations: 248.2 kB / 0.553 GB, free: 75.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.6998, allocations: 158 kB / 0.5532 GB, free: 75.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.6999, allocations: 12 kB / 0.5532 GB, free: 75.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.7, allocations: 358.7 kB / 0.5536 GB, free: 74.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.7005, allocations: 432.9 kB / 0.554 GB, free: 74.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.701, allocations: 0.5378 MB / 0.5545 GB, free: 73.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.7015, allocations: 489.3 kB / 0.555 GB, free: 73.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7015, allocations: 0 / 0.555 GB, free: 73.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.005226/0.7067, allocations: 2.48 MB / 0.5574 GB, free: 70.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.7068, allocations: 4 kB / 0.5574 GB, free: 70.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7068, allocations: 11.94 kB / 0.5574 GB, free: 70.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006276/0.7131, allocations: 2.081 MB / 0.5594 GB, free: 68.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.7135, allocations: 83.89 kB / 0.5595 GB, free: 68.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008516/0.722, allocations: 8.898 MB / 0.5682 GB, free: 59.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.7225, allocations: 31.97 kB / 0.5682 GB, free: 59.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.7226, allocations: 71.91 kB / 0.5683 GB, free: 59.34 MB / 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 () * 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.0001688/0.7228, allocations: 136.6 kB / 0.5684 GB, free: 59.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.7229, allocations: 43.48 kB / 0.5685 GB, free: 59.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005187/0.7281, allocations: 2.208 MB / 0.5706 GB, free: 56.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.7281, allocations: 4 kB / 0.5706 GB, free: 56.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.7281, allocations: 0 / 0.5706 GB, free: 56.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.7282, allocations: 3.984 kB / 0.5706 GB, free: 56.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/0.7342, allocations: 2.989 MB / 0.5736 GB, free: 53.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.7342, allocations: 0 / 0.5736 GB, free: 53.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.7345, allocations: 47.91 kB / 0.5736 GB, free: 53.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008575/0.743, allocations: 3.241 MB / 0.5768 GB, free: 50.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.7432, allocations: 115.8 kB / 0.5769 GB, free: 50.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008681/0.7519, allocations: 8.929 MB / 0.5856 GB, free: 41.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.752, allocations: 4 kB / 0.5856 GB, free: 41.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005702/0.7577, allocations: 2.629 MB / 0.5882 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.7579, allocations: 112.6 kB / 0.5883 GB, free: 38.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.758, allocations: 92.25 kB / 0.5884 GB, free: 38.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.7584, allocations: 31.95 kB / 0.5884 GB, free: 38.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.7586, allocations: 75.83 kB / 0.5885 GB, free: 38.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/0.7587, allocations: 67.91 kB / 0.5885 GB, free: 38.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000284/0.759, allocations: 257.2 kB / 0.5888 GB, free: 37.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.759, allocations: 0 / 0.5888 GB, free: 37.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008431/0.7598, allocations: 220 kB / 0.589 GB, free: 37.74 MB / 378.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 () * 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.0002587/0.7601, allocations: 151 kB / 0.5891 GB, free: 37.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.7622, allocations: 1.338 MB / 0.5904 GB, free: 36.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7622, allocations: 0 / 0.5904 GB, free: 36.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.7637, allocations: 0.9083 MB / 0.5913 GB, free: 35.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.7643, allocations: 109.5 kB / 0.5914 GB, free: 35.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.7666, allocations: 2.009 MB / 0.5934 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.7669, allocations: 0.9054 MB / 0.5943 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.7671, allocations: 76.33 kB / 0.5943 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.7672, allocations: 31.44 kB / 0.5944 GB, free: 32.09 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.7672, allocations: 0 / 0.5944 GB, free: 32.09 MB / 378.7 MB Notification: Performance of Templates: time 0.02694/0.7941, allocations: 16.85 MB / 0.6108 GB, free: 15.24 MB / 378.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)