Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.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.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002064/0.002065, allocations: 173.5 kB / 16.76 MB, free: 5.059 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.419/2.419, 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.0008373/0.0008371, allocations: 89.36 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2267/0.2267, allocations: 38.07 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 15.98 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4789, allocations: 56.32 MB / 480.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/0.701, allocations: 107.7 MB / 0.5742 GB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.7014, allocations: 95.95 kB / 0.5742 GB, free: 10.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1241/0.8255, allocations: 29.56 MB / 0.6031 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.33e-06/0.8256, allocations: 0 / 0.6031 GB, free: 12.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002001/0.8258, allocations: 28 kB / 0.6031 GB, free: 12.7 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.008208/0.834, allocations: 1.661 MB / 0.6048 GB, free: 10.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.8341, allocations: 12.03 kB / 0.6048 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.837, allocations: 227.1 kB / 0.605 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/0.8419, allocations: 1.152 MB / 0.6061 GB, free: 9.516 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.8422, allocations: 82.39 kB / 0.6062 GB, free: 9.434 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009133/0.8431, allocations: 120.2 kB / 0.6063 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006261/0.8494, allocations: 1.666 MB / 0.6079 GB, free: 7.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-05/0.8495, allocations: 4.188 kB / 0.6079 GB, free: 7.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004041/0.8499, allocations: 51.92 kB / 0.608 GB, free: 7.512 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003545/0.8503, allocations: 65.97 kB / 0.608 GB, free: 7.445 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004682/0.855, allocations: 1.448 MB / 0.6095 GB, free: 5.996 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02602/0.881, allocations: 7.993 MB / 0.6173 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.8851, allocations: 1.564 MB / 0.6188 GB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002906/0.888, allocations: 1.229 MB / 0.62 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.8882, allocations: 17.12 kB / 0.62 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004396/0.8927, allocations: 1.786 MB / 0.6218 GB, free: 9.191 MB / 458.7 MB Notification: Performance of pre-optimization done (n=177): time 8.126e-06/0.8927, allocations: 0 / 0.6218 GB, free: 9.191 MB / 458.7 MB Notification: Performance of matching and sorting (n=178): time 0.0446/0.9373, allocations: 10.27 MB / 0.6318 GB, free: 14.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002791/0.9377, allocations: 250.9 kB / 0.632 GB, free: 14.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.9395, allocations: 0.6642 MB / 0.6327 GB, free: 13.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006144/0.9401, allocations: 69.69 kB / 0.6327 GB, free: 13.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007664/0.9409, allocations: 480.8 kB / 0.6332 GB, free: 13.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001423/0.9423, allocations: 0.5825 MB / 0.6338 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006741/0.943, allocations: 39.98 kB / 0.6338 GB, free: 12.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005112/0.9436, allocations: 434.7 kB / 0.6342 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003969/0.9476, allocations: 1.265 MB / 0.6355 GB, free: 10.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004122/0.9517, allocations: 1.553 MB / 0.637 GB, free: 9.172 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007917/0.9597, allocations: 2.973 MB / 0.6399 GB, free: 6.094 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/0.9598, allocations: 0 / 0.6399 GB, free: 6.094 MB / 474.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.3232/1.283, allocations: 7.623 MB / 0.6473 GB, free: 130.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/1.283, allocations: 64.47 kB / 0.6474 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02047/1.304, allocations: 6.177 MB / 0.6534 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02597/1.33, allocations: 7.291 MB / 0.6605 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008319/1.33, allocations: 161.3 kB / 0.6607 GB, free: 130.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03477/1.365, allocations: 23.41 MB / 0.6836 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.367, allocations: 159.8 kB / 0.6837 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002844/1.367, allocations: 201.3 kB / 0.6839 GB, free: 123.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {27 48} Notification: Performance of prepare postOptimizeDAE: time 0.0009698/1.368, allocations: 0.4939 MB / 0.6844 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/1.369, allocations: 121.1 kB / 0.6845 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.384, allocations: 5.557 MB / 0.6899 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/1.384, allocations: 37.28 kB / 0.69 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.862e-05/1.384, allocations: 3.938 kB / 0.69 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.605e-05/1.384, allocations: 16.62 kB / 0.69 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0206/1.405, allocations: 8.1 MB / 0.6979 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/1.405, allocations: 0 / 0.6979 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009911/1.406, allocations: 146.2 kB / 0.698 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0242/1.43, allocations: 8.162 MB / 0.706 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007539/1.431, allocations: 260.7 kB / 0.7062 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.451, allocations: 21.52 MB / 0.7273 GB, free: 88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.451, allocations: 0 / 0.7273 GB, free: 88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/1.47, allocations: 6.745 MB / 0.7339 GB, free: 81.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/1.47, allocations: 190.1 kB / 0.734 GB, free: 80.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008234/1.471, allocations: 223.9 kB / 0.7342 GB, free: 80.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.472, allocations: 137.2 kB / 0.7344 GB, free: 80.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/1.473, allocations: 273 kB / 0.7346 GB, free: 80.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004654/1.474, allocations: 199.7 kB / 0.7348 GB, free: 80.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007365/1.475, allocations: 459 kB / 0.7353 GB, free: 79.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.475, allocations: 3.938 kB / 0.7353 GB, free: 79.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00352/1.478, allocations: 0.692 MB / 0.7359 GB, free: 79.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 65 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_b.closed,breaker2.breaker_a.closed,breaker2.breaker_c.closed,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 22 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker2.breaker_a.open,breaker2.breaker_c.open,breaker2.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_c.open,breaker1.breaker_a.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006865/1.479, allocations: 254.6 kB / 0.7362 GB, free: 78.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008085/1.487, allocations: 4.136 MB / 0.7402 GB, free: 74.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/1.487, allocations: 0 / 0.7402 GB, free: 74.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005358/1.492, allocations: 3.186 MB / 0.7433 GB, free: 71.33 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/1.495, allocations: 207.6 kB / 0.7435 GB, free: 71.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/1.503, allocations: 5.85 MB / 0.7493 GB, free: 65.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009684/1.504, allocations: 1.289 MB / 0.7505 GB, free: 64.06 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/1.504, allocations: 91.42 kB / 0.7506 GB, free: 63.97 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/1.504, allocations: 0 / 0.7506 GB, free: 63.97 MB / 474.7 MB Notification: Performance of Templates: time 0.05257/1.557, allocations: 47.75 MB / 0.7972 GB, free: 16.26 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)