Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002617/0.002623, allocations: 362.5 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.694/3.694, allocations: 388.9 MB / 406.8 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003565/0.003565, allocations: 221.6 kB / 452.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7542/0.7542, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004544, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08875, allocations: 53.22 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5383, allocations: 99.58 MB / 0.7715 GB, free: 81.55 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.5386, allocations: 99.92 kB / 0.7716 GB, free: 81.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.071/0.6096, allocations: 17.4 MB / 0.7885 GB, free: 76.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6097, allocations: 0 / 0.7885 GB, free: 76.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.151e-05/0.6097, allocations: 23.28 kB / 0.7886 GB, free: 76.85 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00249/0.6122, allocations: 0.847 MB / 0.7894 GB, free: 76.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.307e-05/0.6123, allocations: 15.25 kB / 0.7894 GB, free: 76.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.6144, allocations: 149.8 kB / 0.7896 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.6169, allocations: 0.7735 MB / 0.7903 GB, free: 75.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.617, allocations: 29.22 kB / 0.7903 GB, free: 75.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.6172, allocations: 56.56 kB / 0.7904 GB, free: 75.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.619, allocations: 0.8564 MB / 0.7912 GB, free: 75.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.619, allocations: 0 / 0.7912 GB, free: 75.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.6191, allocations: 23.09 kB / 0.7913 GB, free: 75.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002984/0.6195, allocations: 31.45 kB / 0.7913 GB, free: 75.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.6209, allocations: 0.6005 MB / 0.7919 GB, free: 75.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01834/0.6392, allocations: 5.782 MB / 0.7975 GB, free: 72.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.6409, allocations: 0.7621 MB / 0.7983 GB, free: 72.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.6422, allocations: 0.662 MB / 0.7989 GB, free: 71.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.6423, allocations: 13.19 kB / 0.7989 GB, free: 71.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.6424, allocations: 38.78 kB / 0.799 GB, free: 71.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 3.697e-06/0.6424, allocations: 0 / 0.799 GB, free: 71.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.03495/0.6773, allocations: 6.417 MB / 0.8052 GB, free: 69.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.6774, allocations: 84.61 kB / 0.8053 GB, free: 69.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006388/0.6781, allocations: 404.3 kB / 0.8057 GB, free: 69.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002474/0.6783, allocations: 33.45 kB / 0.8057 GB, free: 69.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.6786, allocations: 321 kB / 0.806 GB, free: 69.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.6789, allocations: 257.9 kB / 0.8063 GB, free: 69.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6791, allocations: 14.94 kB / 0.8063 GB, free: 69.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6792, allocations: 366.7 kB / 0.8066 GB, free: 68.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.681, allocations: 0.8067 MB / 0.8074 GB, free: 68.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.6828, allocations: 1.006 MB / 0.8084 GB, free: 68.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.6848, allocations: 0.9016 MB / 0.8093 GB, free: 68.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6848, allocations: 0 / 0.8093 GB, free: 68.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0287/0.7135, allocations: 5.382 MB / 0.8145 GB, free: 64.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.7136, allocations: 8 kB / 0.8145 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02094/0.7346, allocations: 4.272 MB / 0.8187 GB, free: 61.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03223/0.7668, allocations: 5.846 MB / 0.8244 GB, free: 55.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008213/0.7677, allocations: 115.8 kB / 0.8245 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02485/0.7926, allocations: 10.98 MB / 0.8353 GB, free: 44.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.7937, allocations: 55.94 kB / 0.8353 GB, free: 44.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/0.794, allocations: 171.7 kB / 0.8355 GB, free: 44.3 MB / 442.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.0006549/0.7947, allocations: 256.2 kB / 0.8357 GB, free: 44.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.7949, allocations: 51.34 kB / 0.8358 GB, free: 43.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02387/0.8188, allocations: 4.08 MB / 0.8398 GB, free: 39.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.655e-05/0.8189, allocations: 11.98 kB / 0.8398 GB, free: 39.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8189, allocations: 0 / 0.8398 GB, free: 39.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.8189, allocations: 0 / 0.8398 GB, free: 39.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02762/0.8466, allocations: 5.487 MB / 0.8451 GB, free: 34.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.8466, allocations: 4 kB / 0.8451 GB, free: 34.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.8471, allocations: 54.59 kB / 0.8452 GB, free: 34.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04533/0.8925, allocations: 7.981 MB / 0.853 GB, free: 26.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005348/0.8931, allocations: 235.8 kB / 0.8532 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02718/0.9203, allocations: 13.65 MB / 0.8665 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9203, allocations: 4 kB / 0.8665 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02466/0.945, allocations: 4.496 MB / 0.8709 GB, free: 7.602 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.9453, allocations: 128.4 kB / 0.8711 GB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/0.9458, allocations: 194.4 kB / 0.8712 GB, free: 7.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009809/0.9468, allocations: 43.94 kB / 0.8713 GB, free: 7.227 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006268/0.9474, allocations: 144.2 kB / 0.8714 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/0.9478, allocations: 167.2 kB / 0.8716 GB, free: 6.926 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000403/0.9482, allocations: 275.1 kB / 0.8718 GB, free: 6.656 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9482, allocations: 0 / 0.8718 GB, free: 6.656 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001819/0.95, allocations: 392 kB / 0.8722 GB, free: 6.273 MB / 442.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.0003917/0.9504, allocations: 161.6 kB / 0.8724 GB, free: 6.109 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007036/0.9575, allocations: 2.424 MB / 0.8747 GB, free: 3.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9575, allocations: 0 / 0.8747 GB, free: 3.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00539/0.9629, allocations: 1.593 MB / 0.8763 GB, free: 2.035 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.9641, allocations: 113.6 kB / 0.8764 GB, free: 1.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008418/0.9725, allocations: 3.983 MB / 0.8803 GB, free: 13.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008584/0.9734, allocations: 0.9837 MB / 0.8812 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007495/0.9742, allocations: 139.5 kB / 0.8814 GB, free: 12.85 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.9744, allocations: 39.44 kB / 0.8814 GB, free: 12.81 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/0.9744, allocations: 0 / 0.8814 GB, free: 12.81 MB / 458.7 MB Notification: Performance of Templates: time 0.3686/1.343, allocations: 33.03 MB / 0.9137 GB, free: 139.4 MB / 474.7 MB