Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.Tline.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001688, allocations: 186.1 kB / 7.804 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002046/0.002046, allocations: 96.12 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2934/0.2934, allocations: 37.98 MB / 347.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.925e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 56.32 MB / 465.6 MB, free: 6.852 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.4627, allocations: 106.9 MB / 0.5591 GB, free: 3.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.4631, allocations: 87.95 kB / 0.5592 GB, free: 3.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1431/0.6062, allocations: 29.06 MB / 0.5875 GB, free: 6.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000139/0.6064, allocations: 28 kB / 0.5876 GB, free: 6.562 MB / 426.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.009491/0.616, allocations: 1.505 MB / 0.589 GB, free: 4.973 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.616, allocations: 8.031 kB / 0.589 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00426/0.6203, allocations: 218.2 kB / 0.5892 GB, free: 4.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.6326, allocations: 1.624 MB / 0.5908 GB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.6328, allocations: 44 kB / 0.5909 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008925/0.6338, allocations: 75.91 kB / 0.5909 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006971/0.6408, allocations: 1.355 MB / 0.5923 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0077/0.6485, allocations: 1.529 MB / 0.5938 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.651e-05/0.6487, allocations: 7.938 kB / 0.5938 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.649, allocations: 7.984 kB / 0.5938 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008232/0.6499, allocations: 69.97 kB / 0.5938 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04702/0.6969, allocations: 7.661 MB / 0.6013 GB, free: 8.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/0.7005, allocations: 1.295 MB / 0.6026 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/0.7036, allocations: 1.193 MB / 0.6038 GB, free: 5.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.7038, allocations: 16.98 kB / 0.6038 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004473/0.7083, allocations: 1.636 MB / 0.6054 GB, free: 3.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 5.26e-06/0.7083, allocations: 0 / 0.6054 GB, free: 3.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=178): time 0.03987/0.7482, allocations: 7.224 MB / 0.6124 GB, free: 12.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/0.7485, allocations: 246.9 kB / 0.6127 GB, free: 12.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.7498, allocations: 0.5306 MB / 0.6132 GB, free: 11.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005409/0.7504, allocations: 45.69 kB / 0.6132 GB, free: 11.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.7508, allocations: 407.2 kB / 0.6136 GB, free: 11.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.7519, allocations: 0.5591 MB / 0.6142 GB, free: 10.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.7522, allocations: 0 / 0.6142 GB, free: 10.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.7524, allocations: 398.7 kB / 0.6145 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003527/0.756, allocations: 1.234 MB / 0.6157 GB, free: 9.105 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004072/0.7601, allocations: 1.496 MB / 0.6172 GB, free: 7.531 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/0.7643, allocations: 1.349 MB / 0.6185 GB, free: 6.184 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.7643, allocations: 4 kB / 0.6185 GB, free: 6.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.04677/0.8111, allocations: 6.726 MB / 0.6251 GB, free: 15.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.8112, allocations: 4 kB / 0.6251 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03637/0.8476, allocations: 5.579 MB / 0.6305 GB, free: 9.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04313/0.8907, allocations: 5.385 MB / 0.6358 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.8921, allocations: 159.7 kB / 0.636 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2126/1.105, allocations: 20.52 MB / 0.656 GB, free: 188.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/1.107, allocations: 105.5 kB / 0.6561 GB, free: 188.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/1.108, allocations: 203.2 kB / 0.6563 GB, free: 188.5 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 () * 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.000687/1.108, allocations: 173.8 kB / 0.6565 GB, free: 188.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006214/1.109, allocations: 113.9 kB / 0.6566 GB, free: 188.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02971/1.139, allocations: 4.841 MB / 0.6613 GB, free: 187.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.159e-05/1.139, allocations: 28.58 kB / 0.6613 GB, free: 187.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.182e-05/1.139, allocations: 3.969 kB / 0.6613 GB, free: 187.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.212e-05/1.139, allocations: 10.56 kB / 0.6613 GB, free: 187.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03761/1.176, allocations: 7.401 MB / 0.6686 GB, free: 185 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/1.177, allocations: 5.594 kB / 0.6686 GB, free: 185 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.178, allocations: 142.8 kB / 0.6687 GB, free: 185 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06165/1.24, allocations: 6.773 MB / 0.6753 GB, free: 184.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001287/1.241, allocations: 246 kB / 0.6755 GB, free: 184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05148/1.293, allocations: 19.01 MB / 0.6941 GB, free: 166.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.293, allocations: 7.234 kB / 0.6941 GB, free: 166.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03236/1.325, allocations: 6.247 MB / 0.7002 GB, free: 161.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/1.326, allocations: 182.2 kB / 0.7004 GB, free: 161.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/1.327, allocations: 215.9 kB / 0.7006 GB, free: 161 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/1.329, allocations: 103.9 kB / 0.7007 GB, free: 161 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009676/1.33, allocations: 187.5 kB / 0.7009 GB, free: 160.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000504/1.331, allocations: 214.4 kB / 0.7011 GB, free: 160.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008271/1.332, allocations: 412 kB / 0.7015 GB, free: 160.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003555/1.335, allocations: 0.5819 MB / 0.702 GB, free: 159.7 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.0009152/1.336, allocations: 245.5 kB / 0.7023 GB, free: 159.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/1.349, allocations: 3.734 MB / 0.7059 GB, free: 156.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.349, allocations: 0 / 0.7059 GB, free: 156.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009502/1.359, allocations: 3.055 MB / 0.7089 GB, free: 153.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/1.361, allocations: 161.6 kB / 0.7091 GB, free: 153.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.376, allocations: 4.767 MB / 0.7137 GB, free: 148.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/1.378, allocations: 1.404 MB / 0.7151 GB, free: 147.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.054e-06/1.378, allocations: 2.25 kB / 0.7151 GB, free: 147.3 MB / 474.7 MB Notification: Performance of Templates: time 0.07468/1.453, allocations: 46.88 MB / 0.7609 GB, free: 100.7 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)