Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json 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) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.483/2.483, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 188.6 kB / 325.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.439/2.439, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 103.3 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004682, allocations: 17 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2138, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9038/1.118, allocations: 179.5 MB / 1.074 GB, free: 65.87 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/1.118, allocations: 99.64 kB / 1.074 GB, free: 65.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.952/3.07, allocations: 320.8 MB / 1.388 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.715e-06/3.07, allocations: 0 / 1.388 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006712/3.071, allocations: 173.8 kB / 1.388 GB, free: 153.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03046/3.102, allocations: 6.132 MB / 1.394 GB, free: 151 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/3.102, allocations: 9.156 kB / 1.394 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0231/3.125, allocations: 1.774 MB / 1.396 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02393/3.149, allocations: 5.044 MB / 1.4 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008773/3.15, allocations: 454.5 kB / 1.401 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004049/3.154, allocations: 0.5965 MB / 1.401 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03658/3.19, allocations: 9.99 MB / 1.411 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004101/3.191, allocations: 29.56 kB / 1.411 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/3.194, allocations: 268.5 kB / 1.412 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005545/3.194, allocations: 381.5 kB / 1.412 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/3.219, allocations: 7.832 MB / 1.42 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08537/3.304, allocations: 46.38 MB / 1.465 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/3.318, allocations: 4.193 MB / 1.469 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009057/3.319, allocations: 35.53 kB / 1.469 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.476e-05/3.319, allocations: 69.06 kB / 1.469 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=353): time 1.119e-05/3.319, allocations: 0 / 1.469 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 1.066/4.385, allocations: 106.4 MB / 1.573 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/4.385, allocations: 115.9 kB / 1.573 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004538/4.39, allocations: 2.145 MB / 1.575 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001445/4.391, allocations: 117.7 kB / 1.575 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/4.393, allocations: 2.702 MB / 1.578 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002961/4.396, allocations: 1.953 MB / 1.58 GB, free: 96.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009957/4.397, allocations: 112 kB / 1.58 GB, free: 96.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003807/4.398, allocations: 0.5277 MB / 1.58 GB, free: 95.92 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009324/4.407, allocations: 3.785 MB / 1.584 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/4.418, allocations: 4.915 MB / 1.589 GB, free: 87.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/4.428, allocations: 4.575 MB / 1.593 GB, free: 83.75 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.488e-05/4.428, allocations: 12 kB / 1.593 GB, free: 83.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06038/4.489, allocations: 15.99 MB / 1.609 GB, free: 70.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/4.489, allocations: 20 kB / 1.609 GB, free: 70.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-05/4.489, allocations: 28 kB / 1.609 GB, free: 70.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04337/4.532, allocations: 7.745 MB / 1.617 GB, free: 64.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004554/4.537, allocations: 0.5576 MB / 1.617 GB, free: 64.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1542/4.691, allocations: 70.52 MB / 1.686 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007904/4.699, allocations: 243 kB / 1.686 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/4.701, allocations: 200 kB / 1.686 GB, free: 0.5195 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01569/4.716, allocations: 2.901 MB / 1.689 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002098/4.719, allocations: 466.5 kB / 1.69 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07361/4.792, allocations: 15.91 MB / 1.705 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.211e-05/4.792, allocations: 59.61 kB / 1.705 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002525/4.793, allocations: 72 kB / 1.705 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001595/4.793, allocations: 27.89 kB / 1.705 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8384/5.631, allocations: 23.98 MB / 1.729 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.695e-05/5.631, allocations: 6.938 kB / 1.729 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003596/5.635, allocations: 327.5 kB / 1.729 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04233/5.677, allocations: 6.876 MB / 1.736 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001608/5.679, allocations: 103.5 kB / 1.736 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2009/5.88, allocations: 67.36 MB / 1.802 GB, free: 147 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/5.88, allocations: 11.75 kB / 1.802 GB, free: 147 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08685/5.967, allocations: 20.95 MB / 1.822 GB, free: 144.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01011/5.977, allocations: 1.255 MB / 1.823 GB, free: 144.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003005/5.98, allocations: 116 kB / 1.824 GB, free: 144.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02521/6.005, allocations: 231.9 kB / 1.824 GB, free: 144.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004228/6.01, allocations: 0.5231 MB / 1.824 GB, free: 144.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001532/6.011, allocations: 137.4 kB / 1.824 GB, free: 144.6 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.005373/6.017, allocations: 1.623 MB / 1.826 GB, free: 144.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.82e-07/6.017, allocations: 0 / 1.826 GB, free: 144.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01478/6.031, allocations: 2.314 MB / 1.828 GB, free: 144.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/6.033, allocations: 237.6 kB / 1.828 GB, free: 144.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04976/6.083, allocations: 13.81 MB / 1.842 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/6.083, allocations: 0 / 1.842 GB, free: 139.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.02864/6.112, allocations: 9.067 MB / 1.851 GB, free: 134.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009039/6.121, allocations: 1.1 MB / 1.852 GB, free: 134.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.048/6.169, allocations: 17.93 MB / 1.869 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01196/6.181, allocations: 5.016 MB / 1.874 GB, free: 124 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004998/6.186, allocations: 0.743 MB / 1.875 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/6.187, allocations: 194.6 kB / 1.875 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of SimCode: time 1.243e-06/6.187, allocations: 3.688 kB / 1.875 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of Templates: time 0.2904/6.478, allocations: 125 MB / 1.997 GB, free: 55.77 MB / 0.9011 GB