Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001736/0.001736, 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.729/2.729, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.001337/0.001337, allocations: 82.44 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.4428/0.4428, allocations: 38.08 MB / 357.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005776/0.0005778, allocations: 16 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5712/0.5719, allocations: 56.33 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2485/0.8204, allocations: 104.7 MB / 0.5712 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005101/0.821, allocations: 99.94 kB / 0.5713 GB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07856/0.8996, allocations: 17.45 MB / 0.5884 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.8997, allocations: 0 / 0.5884 GB, free: 11.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.743e-05/0.8998, allocations: 19.94 kB / 0.5884 GB, free: 11.94 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.003377/0.9032, allocations: 0.84 MB / 0.5892 GB, free: 11.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.906e-05/0.9033, allocations: 12.03 kB / 0.5892 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.9051, allocations: 148 kB / 0.5893 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/0.908, allocations: 0.7849 MB / 0.5901 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.9081, allocations: 38.12 kB / 0.5902 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.9084, allocations: 55.91 kB / 0.5902 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.9104, allocations: 0.8547 MB / 0.591 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.9105, allocations: 4 kB / 0.591 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.9106, allocations: 16 kB / 0.5911 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000246/0.9108, allocations: 32.98 kB / 0.5911 GB, free: 9.008 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.9123, allocations: 0.6009 MB / 0.5917 GB, free: 8.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0173/0.9296, allocations: 5.784 MB / 0.5973 GB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.9314, allocations: 0.7607 MB / 0.5981 GB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.9327, allocations: 0.6501 MB / 0.5987 GB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.9329, allocations: 28.23 kB / 0.5987 GB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.9329, allocations: 42.98 kB / 0.5988 GB, free: 0.957 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 4.879e-06/0.933, allocations: 0 / 0.5988 GB, free: 0.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.03328/0.9662, allocations: 6.408 MB / 0.605 GB, free: 10.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.892e-05/0.9664, allocations: 85.58 kB / 0.6051 GB, free: 10.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.9673, allocations: 401.8 kB / 0.6055 GB, free: 9.938 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/0.9676, allocations: 37.7 kB / 0.6055 GB, free: 9.895 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.968, allocations: 315.8 kB / 0.6058 GB, free: 9.582 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/0.9685, allocations: 257 kB / 0.6061 GB, free: 9.328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.9687, allocations: 16 kB / 0.6061 GB, free: 9.312 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000273/0.969, allocations: 370.7 kB / 0.6064 GB, free: 8.941 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.9709, allocations: 0.8059 MB / 0.6072 GB, free: 8.137 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.9733, allocations: 1.017 MB / 0.6082 GB, free: 7.039 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004887/0.9782, allocations: 1.93 MB / 0.6101 GB, free: 5.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.9783, allocations: 0 / 0.6101 GB, free: 5.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.02865/1.007, allocations: 5.387 MB / 0.6154 GB, free: 15.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/1.007, allocations: 10.34 kB / 0.6154 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02209/1.029, allocations: 4.275 MB / 0.6196 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03479/1.064, allocations: 5.835 MB / 0.6253 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009085/1.065, allocations: 119.8 kB / 0.6254 GB, free: 5.352 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03132/1.096, allocations: 10.96 MB / 0.6361 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.098, allocations: 59.84 kB / 0.6361 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000403/1.098, allocations: 163.9 kB / 0.6363 GB, free: 10.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009084/1.099, allocations: 253.5 kB / 0.6365 GB, free: 9.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/1.099, allocations: 51.42 kB / 0.6366 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/1.121, allocations: 4.087 MB / 0.6406 GB, free: 5.621 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.73e-05/1.122, allocations: 8 kB / 0.6406 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.122, allocations: 0 / 0.6406 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/1.122, allocations: 3.984 kB / 0.6406 GB, free: 5.609 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02732/1.149, allocations: 5.485 MB / 0.6459 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/1.149, allocations: 3.938 kB / 0.6459 GB, free: 40 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4264/1.575, allocations: 57.61 kB / 0.646 GB, free: 141.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05125/1.627, allocations: 7.976 MB / 0.6538 GB, free: 141.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/1.628, allocations: 236.6 kB / 0.654 GB, free: 141.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03648/1.664, allocations: 13.65 MB / 0.6673 GB, free: 137.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.665, allocations: 4.5 kB / 0.6673 GB, free: 137.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02146/1.686, allocations: 4.491 MB / 0.6717 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/1.686, allocations: 125.5 kB / 0.6718 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005674/1.687, allocations: 193.9 kB / 0.672 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/1.688, allocations: 43.81 kB / 0.6721 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009541/1.689, allocations: 144.3 kB / 0.6722 GB, free: 136.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/1.689, allocations: 171.5 kB / 0.6724 GB, free: 136.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004623/1.69, allocations: 271.4 kB / 0.6726 GB, free: 136.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.69, allocations: 0 / 0.6726 GB, free: 136.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002351/1.692, allocations: 385.4 kB / 0.673 GB, free: 136.4 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * 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 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004678/1.693, allocations: 161.1 kB / 0.6732 GB, free: 136.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007001/1.7, allocations: 2.435 MB / 0.6755 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.7, allocations: 3.844 kB / 0.6755 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00525/1.705, allocations: 1.588 MB / 0.6771 GB, free: 134.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.706, allocations: 123.8 kB / 0.6772 GB, free: 134.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008691/1.715, allocations: 4.043 MB / 0.6812 GB, free: 132.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/1.716, allocations: 0.9749 MB / 0.6821 GB, free: 132 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/1.716, allocations: 47.05 kB / 0.6822 GB, free: 132 MB / 474.7 MB Notification: Performance of SimCode: time 1.914e-06/1.716, allocations: 0 / 0.6822 GB, free: 132 MB / 474.7 MB Notification: Performance of Templates: time 0.05165/1.768, allocations: 23.73 MB / 0.7053 GB, free: 114.3 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)