Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.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.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") translateModel(PowerSystems.Examples.AC3ph.Transmission.Tline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001016/0.001016, allocations: 192.1 kB / 8.141 MB, free: 2.18 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.242/1.242, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.001934/0.001934, allocations: 115.5 kB / 247.7 MB, free: 6.406 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1762/0.1762, allocations: 37.92 MB / 330.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.298e-06/9.338e-06, allocations: 4 kB / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 53.24 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.5014, allocations: 101.8 MB / 0.532 GB, free: 5.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.5018, allocations: 90.36 kB / 0.5321 GB, free: 5.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.08842/0.5902, allocations: 29.05 MB / 0.5605 GB, free: 13.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.5904, allocations: 27.98 kB / 0.5605 GB, free: 13.29 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.005491/0.5959, allocations: 1.503 MB / 0.562 GB, free: 11.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.5959, allocations: 8.031 kB / 0.562 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.5984, allocations: 226.2 kB / 0.5622 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006299/0.6047, allocations: 1.609 MB / 0.5638 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.6049, allocations: 50.92 kB / 0.5638 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007235/0.6056, allocations: 67.91 kB / 0.5639 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003591/0.6093, allocations: 1.359 MB / 0.5652 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.6134, allocations: 1.525 MB / 0.5667 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/0.6135, allocations: 11.92 kB / 0.5667 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.6137, allocations: 7.984 kB / 0.5667 GB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003808/0.6141, allocations: 73.33 kB / 0.5668 GB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02045/0.6346, allocations: 7.661 MB / 0.5743 GB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.6368, allocations: 1.302 MB / 0.5756 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.6389, allocations: 1.184 MB / 0.5767 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.639, allocations: 13 kB / 0.5767 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002886/0.6419, allocations: 1.651 MB / 0.5783 GB, free: 14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=177): time 6.001e-06/0.642, allocations: 0 / 0.5783 GB, free: 14 MB / 394.7 MB Notification: Performance of matching and sorting (n=178): time 0.02232/0.6643, allocations: 7.206 MB / 0.5854 GB, free: 6.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.6645, allocations: 250.9 kB / 0.5856 GB, free: 6.414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.6656, allocations: 0.5345 MB / 0.5861 GB, free: 5.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004779/0.6661, allocations: 41.7 kB / 0.5862 GB, free: 5.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.6665, allocations: 384.7 kB / 0.5866 GB, free: 5.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009847/0.6675, allocations: 0.5707 MB / 0.5871 GB, free: 4.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.6678, allocations: 3.938 kB / 0.5871 GB, free: 4.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002943/0.6681, allocations: 434.7 kB / 0.5875 GB, free: 4.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.6702, allocations: 1.23 MB / 0.5887 GB, free: 3.191 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.6725, allocations: 1.487 MB / 0.5902 GB, free: 1.625 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.6748, allocations: 1.36 MB / 0.5915 GB, free: 272 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.6748, allocations: 0 / 0.5915 GB, free: 272 kB / 394.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.02496/0.6998, allocations: 6.764 MB / 0.5981 GB, free: 9.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.6999, allocations: 4.5 kB / 0.5981 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0197/0.7196, allocations: 5.579 MB / 0.6036 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02604/0.7457, allocations: 6.606 MB / 0.61 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.7468, allocations: 159.7 kB / 0.6102 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03929/0.7861, allocations: 20.57 MB / 0.6303 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.7879, allocations: 115.7 kB / 0.6304 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005762/0.7885, allocations: 199.9 kB / 0.6306 GB, free: 8.094 MB / 442.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 () * 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.0007941/0.7893, allocations: 240 kB / 0.6308 GB, free: 7.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.7898, allocations: 114.7 kB / 0.6309 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/0.8064, allocations: 4.846 MB / 0.6356 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.546e-05/0.8066, allocations: 24 kB / 0.6357 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.917e-05/0.8066, allocations: 4 kB / 0.6357 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/0.8067, allocations: 11.97 kB / 0.6357 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/0.8306, allocations: 7.4 MB / 0.6429 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-05/0.8307, allocations: 4 kB / 0.6429 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.8317, allocations: 139.8 kB / 0.643 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02729/0.859, allocations: 6.768 MB / 0.6496 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000748/0.8598, allocations: 255.8 kB / 0.6499 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02174/0.8816, allocations: 19.01 MB / 0.6685 GB, free: 132 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.8816, allocations: 7.938 kB / 0.6685 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1989/1.081, allocations: 6.239 MB / 0.6746 GB, free: 198.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005769/1.081, allocations: 191.6 kB / 0.6747 GB, free: 198 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.082, allocations: 210.1 kB / 0.6749 GB, free: 198 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.084, allocations: 103.6 kB / 0.675 GB, free: 198 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006197/1.085, allocations: 190.6 kB / 0.6752 GB, free: 198 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004476/1.085, allocations: 216.8 kB / 0.6754 GB, free: 198 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006696/1.086, allocations: 402.8 kB / 0.6758 GB, free: 197.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003328/1.089, allocations: 0.5943 MB / 0.6764 GB, free: 197.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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) * 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.0007035/1.09, allocations: 238.9 kB / 0.6766 GB, free: 197.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007506/1.097, allocations: 3.739 MB / 0.6803 GB, free: 197.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.097, allocations: 1.031 kB / 0.6803 GB, free: 197.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005535/1.103, allocations: 3.085 MB / 0.6833 GB, free: 196.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/1.104, allocations: 162.4 kB / 0.6834 GB, free: 196.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009662/1.114, allocations: 4.689 MB / 0.688 GB, free: 195.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.115, allocations: 1.357 MB / 0.6893 GB, free: 194.8 MB / 474.7 MB Notification: Performance of SimCode: time 3.306e-06/1.115, allocations: 0 / 0.6893 GB, free: 194.8 MB / 474.7 MB Notification: Performance of Templates: time 0.06343/1.179, allocations: 42.78 MB / 0.7311 GB, free: 167.5 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.Tline.pipe 2>&1)