Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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.003076/0.003076, allocations: 172.7 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.629/2.629, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.00112, allocations: 91.39 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3625/0.3625, allocations: 38.08 MB / 357.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006111/0.0006113, allocations: 8 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4668, allocations: 56.32 MB / 480.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/0.6857, allocations: 98.65 MB / 0.5653 GB, free: 3.707 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004663/0.6862, allocations: 91.94 kB / 0.5654 GB, free: 3.617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05827/0.7445, allocations: 11.12 MB / 0.5763 GB, free: 8.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.7446, allocations: 0 / 0.5763 GB, free: 8.379 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.584e-05/0.7447, allocations: 8 kB / 0.5763 GB, free: 8.371 MB / 410.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.003298/0.748, allocations: 0.8633 MB / 0.5771 GB, free: 7.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.7481, allocations: 12.03 kB / 0.5772 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.7484, allocations: 56.28 kB / 0.5772 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003573/0.752, allocations: 0.8467 MB / 0.578 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.7521, allocations: 29 kB / 0.5781 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/0.7524, allocations: 59.89 kB / 0.5781 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.7546, allocations: 0.7881 MB / 0.5789 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.7547, allocations: 0 / 0.5789 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.7548, allocations: 12 kB / 0.5789 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.7548, allocations: 16 kB / 0.5789 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.7561, allocations: 446.2 kB / 0.5793 GB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006908/0.763, allocations: 2.722 MB / 0.582 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.7643, allocations: 485.1 kB / 0.5825 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.7655, allocations: 445.5 kB / 0.5829 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.7656, allocations: 8 kB / 0.5829 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.7657, allocations: 30.56 kB / 0.5829 GB, free: 1.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 5.671e-06/0.7657, allocations: 0 / 0.5829 GB, free: 1.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.01634/0.7821, allocations: 3.809 MB / 0.5866 GB, free: 13.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.7823, allocations: 89.03 kB / 0.5867 GB, free: 13.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009174/0.7832, allocations: 381.6 kB / 0.5871 GB, free: 12.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.7834, allocations: 33.7 kB / 0.5871 GB, free: 12.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.7837, allocations: 252.2 kB / 0.5874 GB, free: 12.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/0.7841, allocations: 154.1 kB / 0.5875 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.7842, allocations: 16.03 kB / 0.5875 GB, free: 12.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.7845, allocations: 362.7 kB / 0.5879 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.7856, allocations: 424.9 kB / 0.5883 GB, free: 11.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.7869, allocations: 0.5299 MB / 0.5888 GB, free: 11.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.7894, allocations: 0.9786 MB / 0.5897 GB, free: 10.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.7894, allocations: 0 / 0.5897 GB, free: 10.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.007325/0.7968, allocations: 2.133 MB / 0.5918 GB, free: 7.953 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.7969, allocations: 8 kB / 0.5918 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.7969, allocations: 11.97 kB / 0.5919 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/0.8086, allocations: 2.788 MB / 0.5946 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.8094, allocations: 87.83 kB / 0.5947 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/0.8095, allocations: 4 kB / 0.5947 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.8103, allocations: 35.95 kB / 0.5947 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/0.8105, allocations: 67.92 kB / 0.5948 GB, free: 4.945 MB / 426.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): 2 {(7,32.7%),(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007208/0.8113, allocations: 209.6 kB / 0.595 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.8115, allocations: 43.47 kB / 0.595 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.8224, allocations: 2.222 MB / 0.5972 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/0.8225, allocations: 4 kB / 0.5972 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.8226, allocations: 4 kB / 0.5972 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.8226, allocations: 0 / 0.5972 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.8356, allocations: 3.005 MB / 0.6001 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/0.8357, allocations: 3.938 kB / 0.6001 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.8362, allocations: 35.98 kB / 0.6002 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01796/0.8542, allocations: 3.244 MB / 0.6033 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004412/0.8547, allocations: 107.9 kB / 0.6034 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/0.8744, allocations: 8.933 MB / 0.6121 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-05/0.8745, allocations: 7.875 kB / 0.6122 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/0.8856, allocations: 2.621 MB / 0.6147 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.8861, allocations: 120.6 kB / 0.6148 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005383/0.8867, allocations: 83.95 kB / 0.6149 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007191/0.8874, allocations: 27.95 kB / 0.6149 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/0.888, allocations: 75.77 kB / 0.615 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/0.8882, allocations: 71.89 kB / 0.6151 GB, free: 15.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005944/0.8888, allocations: 259.2 kB / 0.6153 GB, free: 15.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8888, allocations: 4 kB / 0.6153 GB, free: 15.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001502/0.8903, allocations: 184 kB / 0.6155 GB, free: 15.28 MB / 458.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.000431/0.8908, allocations: 145.9 kB / 0.6156 GB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.8941, allocations: 1.087 MB / 0.6167 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.8942, allocations: 0 / 0.6167 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003134/0.8973, allocations: 0.9128 MB / 0.6176 GB, free: 13.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.899, allocations: 114.1 kB / 0.6177 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00644/0.9055, allocations: 2.584 MB / 0.6202 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009417/0.9065, allocations: 0.8742 MB / 0.6211 GB, free: 9.418 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.9068, allocations: 43.42 kB / 0.6211 GB, free: 9.375 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/0.9068, allocations: 0 / 0.6211 GB, free: 9.375 MB / 458.7 MB Notification: Performance of Templates: time 0.04119/0.948, allocations: 16.73 MB / 0.6375 GB, free: 8.621 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)