Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadModel(Buildings): time 3.54/3.54, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.33e-05, allocations: 4 kB / 0.499 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.5462, allocations: 92.68 MB / 0.5895 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2654/0.8117, allocations: 173.8 MB / 0.7593 GB, free: 484 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000474/0.8122, allocations: 99.94 kB / 0.7593 GB, free: 384 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.699/1.511, allocations: 63.17 MB / 0.821 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.327e-06/1.511, allocations: 0 / 0.821 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.309e-05/1.511, allocations: 40 kB / 0.8211 GB, free: 146.1 MB / 0.6511 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.003641/1.515, allocations: 1.549 MB / 0.8226 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.515, allocations: 12.03 kB / 0.8226 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/1.519, allocations: 489.4 kB / 0.8231 GB, free: 144 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/1.522, allocations: 1.145 MB / 0.8242 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/1.522, allocations: 118.8 kB / 0.8243 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/1.522, allocations: 158.7 kB / 0.8245 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005442/1.528, allocations: 2.428 MB / 0.8268 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.334e-05/1.528, allocations: 0 / 0.8268 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/1.528, allocations: 67.05 kB / 0.8269 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/1.528, allocations: 83.06 kB / 0.827 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/1.532, allocations: 1.984 MB / 0.8289 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/1.545, allocations: 8.013 MB / 0.8367 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/1.546, allocations: 0.5571 MB / 0.8373 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/1.547, allocations: 376.6 kB / 0.8376 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/1.547, allocations: 97.08 kB / 0.8377 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/1.547, allocations: 38.52 kB / 0.8378 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.383e-06/1.547, allocations: 0 / 0.8378 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.01621/1.563, allocations: 4.789 MB / 0.8424 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/1.563, allocations: 89.53 kB / 0.8425 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/1.564, allocations: 0.8001 MB / 0.8433 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/1.565, allocations: 37.7 kB / 0.8433 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/1.565, allocations: 0.7538 MB / 0.8441 GB, free: 122 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/1.565, allocations: 193.4 kB / 0.8443 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/1.565, allocations: 16 kB / 0.8443 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.565, allocations: 390.8 kB / 0.8446 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.566, allocations: 0.5876 MB / 0.8452 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/1.568, allocations: 0.9644 MB / 0.8462 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.569, allocations: 0.7643 MB / 0.8469 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.516e-06/1.569, allocations: 4 kB / 0.8469 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007474/1.576, allocations: 2.777 MB / 0.8496 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009254/1.577, allocations: 4.524 MB / 0.854 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/1.577, allocations: 19.88 kB / 0.8541 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005922/1.583, allocations: 1.427 MB / 0.8555 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.584, allocations: 223.6 kB / 0.8557 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008734/1.593, allocations: 6.824 MB / 0.8623 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.595, allocations: 159.8 kB / 0.8625 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/1.595, allocations: 47.98 kB / 0.8625 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.595, allocations: 4 kB / 0.8625 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005804/1.601, allocations: 2.243 MB / 0.8647 GB, free: 99.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/1.601, allocations: 12 kB / 0.8647 GB, free: 99.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003514/1.604, allocations: 0.8603 MB / 0.8656 GB, free: 99.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.606, allocations: 259.5 kB / 0.8658 GB, free: 98.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007576/1.613, allocations: 5.376 MB / 0.8711 GB, free: 93.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.615, allocations: 135.7 kB / 0.8712 GB, free: 93.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.615, allocations: 44 kB / 0.8712 GB, free: 93 MB / 0.6511 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 () * 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.0002925/1.615, allocations: 160.8 kB / 0.8714 GB, free: 92.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/1.615, allocations: 79.05 kB / 0.8715 GB, free: 92.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006696/1.622, allocations: 2.317 MB / 0.8737 GB, free: 90.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.622, allocations: 8 kB / 0.8737 GB, free: 90.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.627e-06/1.622, allocations: 0 / 0.8737 GB, free: 90.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/1.622, allocations: 4.172 kB / 0.8738 GB, free: 90.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/1.632, allocations: 4.163 MB / 0.8778 GB, free: 86.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.632, allocations: 4.188 kB / 0.8778 GB, free: 86.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/1.633, allocations: 103.9 kB / 0.8779 GB, free: 86.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00568/1.638, allocations: 1.361 MB / 0.8792 GB, free: 84.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.639, allocations: 11.98 kB / 0.8793 GB, free: 84.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.651, allocations: 9.497 MB / 0.8885 GB, free: 74.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.234e-06/1.651, allocations: 7.938 kB / 0.8885 GB, free: 74.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006559/1.658, allocations: 2.373 MB / 0.8909 GB, free: 72.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006978/1.658, allocations: 288 kB / 0.8911 GB, free: 71.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/1.658, allocations: 12 kB / 0.8911 GB, free: 71.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000918/1.659, allocations: 123.8 kB / 0.8913 GB, free: 71.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/1.66, allocations: 47.88 kB / 0.8913 GB, free: 71.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/1.66, allocations: 20 kB / 0.8913 GB, free: 71.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009953/1.661, allocations: 0.6279 MB / 0.8919 GB, free: 71.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.12e-07/1.661, allocations: 0 / 0.8919 GB, free: 71.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002499/1.663, allocations: 0.5859 MB / 0.8925 GB, free: 70.43 MB / 0.6511 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 () * 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.000346/1.664, allocations: 188.8 kB / 0.8927 GB, free: 70.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005884/1.669, allocations: 2.944 MB / 0.8956 GB, free: 67.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.802e-06/1.67, allocations: 4.188 kB / 0.8956 GB, free: 67.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/1.672, allocations: 1.232 MB / 0.8968 GB, free: 65.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/1.673, allocations: 212.2 kB / 0.897 GB, free: 65.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005677/1.679, allocations: 2.607 MB / 0.8995 GB, free: 63.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/1.68, allocations: 1.642 MB / 0.9011 GB, free: 61.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001997/1.682, allocations: 0.6076 MB / 0.9017 GB, free: 60.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/1.682, allocations: 55.42 kB / 0.9018 GB, free: 60.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.811e-06/1.682, allocations: 0 / 0.9018 GB, free: 60.75 MB / 0.6511 GB Notification: Performance of Templates: time 0.04474/1.727, allocations: 22.94 MB / 0.9242 GB, free: 37.92 MB / 0.6511 GB