Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.529/2.529, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002254/0.002254, allocations: 177.1 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 102.2 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004652, allocations: 12.06 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01219/0.1673, allocations: 10.36 MB / 0.9889 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007989/0.1753, allocations: 4.94 MB / 0.9937 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009966/0.1763, allocations: 23.94 kB / 0.9937 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1774, allocations: 318.2 kB / 0.994 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.1792, allocations: 0.5296 MB / 0.9945 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.1811, allocations: 0.5751 MB / 0.9951 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.1828, allocations: 1.131 MB / 0.9962 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005601/0.1884, allocations: 3.621 MB / 0.9997 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009594/0.1894, allocations: 0.6035 MB / 1 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008482/0.1902, allocations: 0.6696 MB / 1.001 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.1905, allocations: 92 kB / 1.001 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008664/0.1913, allocations: 307.7 kB / 1.001 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005688/0.1919, allocations: 0.6627 MB / 1.002 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.1923, allocations: 344.9 kB / 1.002 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.1949, allocations: 3.004 MB / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.372e-06/0.195, allocations: 0 / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.08e-06/0.195, allocations: 0 / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.668e-05/0.195, allocations: 0 / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003441/0.1985, allocations: 1.632 MB / 1.007 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1985, allocations: 19.95 kB / 1.007 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/0.2019, allocations: 0.4936 MB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.2049, allocations: 1.131 MB / 1.008 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.2051, allocations: 115.1 kB / 1.009 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004746/0.2056, allocations: 155.9 kB / 1.009 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006816/0.2124, allocations: 2.723 MB / 1.011 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/0.2125, allocations: 4 kB / 1.011 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.2127, allocations: 63.98 kB / 1.011 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004703/0.2132, allocations: 174.9 kB / 1.012 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006204/0.2195, allocations: 2.288 MB / 1.014 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02254/0.242, allocations: 10.54 MB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.2446, allocations: 0.588 MB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.2449, allocations: 85.11 kB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/0.245, allocations: 38.56 kB / 1.025 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 6.599e-06/0.245, allocations: 0 / 1.025 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.04876/0.2938, allocations: 6.29 MB / 1.031 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.2939, allocations: 81.55 kB / 1.031 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.297, allocations: 0.8984 MB / 1.032 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.2973, allocations: 33.7 kB / 1.032 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.2984, allocations: 0.7538 MB / 1.033 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.2989, allocations: 185.4 kB / 1.033 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.2991, allocations: 20 kB / 1.033 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003853/0.2995, allocations: 394.8 kB / 1.033 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002847/0.3024, allocations: 0.6382 MB / 1.034 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003047/0.3054, allocations: 1.007 MB / 1.035 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.3074, allocations: 0.8179 MB / 1.036 GB, free: 384 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.3074, allocations: 4 kB / 1.036 GB, free: 380 kB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01197/0.3194, allocations: 3.221 MB / 1.039 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002482/0.3219, allocations: 4.529 MB / 1.043 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/0.322, allocations: 12 kB / 1.043 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009952/0.332, allocations: 1.852 MB / 1.045 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.3332, allocations: 227.6 kB / 1.045 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02594/0.3592, allocations: 10.5 MB / 1.056 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/0.3622, allocations: 183.6 kB / 1.056 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/0.3625, allocations: 47.94 kB / 1.056 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3626, allocations: 4 kB / 1.056 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0167/0.3793, allocations: 2.63 MB / 1.058 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.531e-05/0.3794, allocations: 16.09 kB / 1.058 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.3902, allocations: 1.203 MB / 1.06 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/0.3926, allocations: 255.5 kB / 1.06 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/0.4116, allocations: 5.692 MB / 1.065 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.414, allocations: 147.8 kB / 1.065 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.4142, allocations: 47.98 kB / 1.066 GB, free: 0.6133 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.5586/0.9729, allocations: 0.8306 MB / 1.066 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/0.9734, allocations: 77.25 kB / 1.066 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02321/0.9967, allocations: 2.7 MB / 1.069 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/0.9968, allocations: 6.812 kB / 1.069 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/0.9968, allocations: 2.344 kB / 1.069 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-05/0.9969, allocations: 2.953 kB / 1.069 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03169/1.029, allocations: 4.526 MB / 1.073 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/1.029, allocations: 2.984 kB / 1.073 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.03, allocations: 96.27 kB / 1.074 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01677/1.047, allocations: 1.709 MB / 1.075 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.047, allocations: 12.97 kB / 1.075 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/1.064, allocations: 10.06 MB / 1.085 GB, free: 74.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.439e-06/1.064, allocations: 2.75 kB / 1.085 GB, free: 74.28 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.074, allocations: 2.751 MB / 1.088 GB, free: 73.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/1.075, allocations: 283.2 kB / 1.088 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.075, allocations: 16.86 kB / 1.088 GB, free: 73.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.076, allocations: 130.8 kB / 1.088 GB, free: 73.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/1.077, allocations: 48.64 kB / 1.088 GB, free: 73.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/1.077, allocations: 16.66 kB / 1.088 GB, free: 73.22 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001267/1.078, allocations: 0.6353 MB / 1.089 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-06/1.078, allocations: 0 / 1.089 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002891/1.081, allocations: 0.5914 MB / 1.089 GB, free: 72.92 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002917/1.081, allocations: 130.7 kB / 1.09 GB, free: 72.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006722/1.088, allocations: 3.26 MB / 1.093 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.299e-06/1.088, allocations: 1.656 kB / 1.093 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.09, allocations: 1.28 MB / 1.094 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.092, allocations: 213.9 kB / 1.094 GB, free: 70.58 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006147/1.098, allocations: 3.544 MB / 1.098 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/1.1, allocations: 1.646 MB / 1.099 GB, free: 67.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00169/1.101, allocations: 493.2 kB / 1.1 GB, free: 67.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/1.102, allocations: 58.45 kB / 1.1 GB, free: 67.78 MB / 0.6823 GB Notification: Performance of SimCode: time 1.531e-06/1.102, allocations: 0 / 1.1 GB, free: 67.78 MB / 0.6823 GB Notification: Performance of Templates: time 0.04816/1.15, allocations: 23.36 MB / 1.123 GB, free: 56.75 MB / 0.6823 GB