Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.803/4.803, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002856/0.002855, allocations: 363.6 kB / 0.6446 GB, free: 21.57 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.214/4.214, allocations: 410.7 MB / 1.113 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001914/0.001914, allocations: 184.9 kB / 1.226 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006627/0.0006629, allocations: 12.38 kB / 1.349 GB, free: 320.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2211, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.4954, allocations: 209.4 MB / 1.666 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/0.4958, allocations: 111.9 kB / 1.666 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.9541/1.45, allocations: 85.33 MB / 1.749 GB, free: 168.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.665e-06/1.45, allocations: 0 / 1.749 GB, free: 168.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001449/1.45, allocations: 43.98 kB / 1.749 GB, free: 168.8 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.007056/1.457, allocations: 1.859 MB / 1.751 GB, free: 166.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/1.457, allocations: 12.75 kB / 1.751 GB, free: 166.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0243/1.482, allocations: 1.967 MB / 1.753 GB, free: 164.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005803/1.488, allocations: 1.529 MB / 1.755 GB, free: 163.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/1.488, allocations: 82.31 kB / 1.755 GB, free: 163.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006127/1.488, allocations: 116 kB / 1.755 GB, free: 163.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/1.499, allocations: 2.736 MB / 1.757 GB, free: 160.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.29e-05/1.499, allocations: 11.84 kB / 1.757 GB, free: 160.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/1.499, allocations: 59.97 kB / 1.758 GB, free: 160.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/1.5, allocations: 94.23 kB / 1.758 GB, free: 160.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/1.514, allocations: 2.838 MB / 1.76 GB, free: 157.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02522/1.539, allocations: 10.73 MB / 1.771 GB, free: 145.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/1.552, allocations: 2.401 MB / 1.773 GB, free: 143.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005873/1.558, allocations: 1.308 MB / 1.774 GB, free: 142.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/1.558, allocations: 9 kB / 1.774 GB, free: 142.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.558, allocations: 51.52 kB / 1.775 GB, free: 142.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 5.009e-06/1.558, allocations: 0 / 1.775 GB, free: 142.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.1151/1.673, allocations: 17.34 MB / 1.791 GB, free: 124.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.141e-05/1.673, allocations: 222.9 kB / 1.792 GB, free: 124.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/1.675, allocations: 1.176 MB / 1.793 GB, free: 123.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004472/1.676, allocations: 53.7 kB / 1.793 GB, free: 123.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/1.677, allocations: 0.7322 MB / 1.794 GB, free: 122.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006807/1.677, allocations: 0.5121 MB / 1.794 GB, free: 121.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/1.677, allocations: 28 kB / 1.794 GB, free: 121.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.678, allocations: 365.9 kB / 1.794 GB, free: 121.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006362/1.684, allocations: 1.538 MB / 1.796 GB, free: 119.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006693/1.691, allocations: 1.833 MB / 1.798 GB, free: 118 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006727/1.698, allocations: 1.66 MB / 1.799 GB, free: 116.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.698, allocations: 4 kB / 1.799 GB, free: 116.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02572/1.723, allocations: 5.409 MB / 1.805 GB, free: 110.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/1.723, allocations: 8 kB / 1.805 GB, free: 110.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/1.723, allocations: 8 kB / 1.805 GB, free: 110.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/1.738, allocations: 2.138 MB / 1.807 GB, free: 108.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/1.742, allocations: 419.2 kB / 1.807 GB, free: 108.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04263/1.785, allocations: 22.59 MB / 1.829 GB, free: 84.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005083/1.79, allocations: 323.5 kB / 1.83 GB, free: 84.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004714/1.791, allocations: 63.97 kB / 1.83 GB, free: 84.24 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001599/1.792, allocations: 467 kB / 1.83 GB, free: 83.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008337/1.793, allocations: 181.9 kB / 1.83 GB, free: 83.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02619/1.819, allocations: 5.465 MB / 1.836 GB, free: 78.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/1.819, allocations: 16 kB / 1.836 GB, free: 78.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.048e-05/1.819, allocations: 23.95 kB / 1.836 GB, free: 78.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-05/1.819, allocations: 7.969 kB / 1.836 GB, free: 78.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03176/1.851, allocations: 7.68 MB / 1.843 GB, free: 70.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/1.851, allocations: 4 kB / 1.843 GB, free: 70.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/1.855, allocations: 363.7 kB / 1.843 GB, free: 69.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0142/1.869, allocations: 1.998 MB / 1.845 GB, free: 67.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004177/1.869, allocations: 39.97 kB / 1.845 GB, free: 67.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03889/1.908, allocations: 21.76 MB / 1.867 GB, free: 44.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.908, allocations: 3.938 kB / 1.867 GB, free: 44.99 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02495/1.933, allocations: 5.077 MB / 1.872 GB, free: 39.83 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.935, allocations: 0.5066 MB / 1.872 GB, free: 39.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000731/1.936, allocations: 32.09 kB / 1.872 GB, free: 39.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004601/1.94, allocations: 331.4 kB / 1.872 GB, free: 38.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000859/1.941, allocations: 153 kB / 1.873 GB, free: 38.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003226/1.942, allocations: 47.97 kB / 1.873 GB, free: 38.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001756/1.943, allocations: 0.7977 MB / 1.873 GB, free: 37.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.01e-07/1.944, allocations: 0 / 1.873 GB, free: 37.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003858/1.947, allocations: 0.7148 MB / 1.874 GB, free: 37.24 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009159/1.948, allocations: 234.8 kB / 1.874 GB, free: 37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01959/1.968, allocations: 5.198 MB / 1.879 GB, free: 31.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.968, allocations: 0 / 1.879 GB, free: 31.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01227/1.98, allocations: 3.394 MB / 1.883 GB, free: 28.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/1.985, allocations: 0.5251 MB / 1.883 GB, free: 27.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/2, allocations: 4.875 MB / 1.888 GB, free: 22.76 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/2.002, allocations: 1.604 MB / 1.89 GB, free: 21.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00307/2.005, allocations: 402.7 kB / 1.89 GB, free: 20.72 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/2.006, allocations: 115.4 kB / 1.89 GB, free: 20.61 MB / 0.8073 GB Notification: Performance of SimCode: time 1.543e-06/2.006, allocations: 0 / 1.89 GB, free: 20.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.1346/2.141, allocations: 44.25 MB / 1.933 GB, free: 8.848 MB / 0.8386 GB