Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadModel(Buildings): time 4.313/4.313, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.438e-05, allocations: 4 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2056, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9026/1.108, allocations: 186.4 MB / 0.8598 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.109, allocations: 98.36 kB / 0.8599 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2487/1.357, allocations: 66.39 MB / 0.9247 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.278e-06/1.357, allocations: 0 / 0.9247 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001891/1.358, allocations: 36 kB / 0.9248 GB, free: 9.281 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.008553/1.366, allocations: 1.681 MB / 0.9264 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/1.366, allocations: 8.031 kB / 0.9264 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009129/1.375, allocations: 0.6609 MB / 0.9271 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0064/1.382, allocations: 1.235 MB / 0.9283 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/1.382, allocations: 124.1 kB / 0.9284 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/1.383, allocations: 158.3 kB / 0.9285 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/1.397, allocations: 2.588 MB / 0.9311 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/1.397, allocations: 7.938 kB / 0.9311 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006344/1.397, allocations: 63.98 kB / 0.9311 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/1.398, allocations: 95.16 kB / 0.9312 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/1.418, allocations: 2.126 MB / 0.9333 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01869/1.436, allocations: 10.89 MB / 0.9439 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/1.438, allocations: 0.7299 MB / 0.9447 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/1.439, allocations: 0.5169 MB / 0.9452 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/1.439, allocations: 93.45 kB / 0.9452 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/1.439, allocations: 46.89 kB / 0.9453 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 6.155e-06/1.44, allocations: 0 / 0.9453 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.02728/1.467, allocations: 7.162 MB / 0.9523 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/1.467, allocations: 93.83 kB / 0.9524 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/1.469, allocations: 0.8472 MB / 0.9532 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/1.469, allocations: 37.7 kB / 0.9532 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007619/1.47, allocations: 0.7698 MB / 0.954 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/1.47, allocations: 260.3 kB / 0.9542 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/1.47, allocations: 20 kB / 0.9543 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002916/1.471, allocations: 398.7 kB / 0.9546 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/1.472, allocations: 0.7716 MB / 0.9554 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/1.474, allocations: 1.111 MB / 0.9565 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/1.476, allocations: 0.9661 MB / 0.9574 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.476, allocations: 4 kB / 0.9574 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01006/1.486, allocations: 3.369 MB / 0.9607 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002477/1.489, allocations: 4.263 MB / 0.9649 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/1.489, allocations: 12 kB / 0.9649 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007922/1.497, allocations: 1.748 MB / 0.9666 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.498, allocations: 227.6 kB / 0.9668 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/1.513, allocations: 7.277 MB / 0.9739 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.514, allocations: 187.6 kB / 0.9741 GB, free: 5.473 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/1.515, allocations: 47.98 kB / 0.9741 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.515, allocations: 4 kB / 0.9741 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007773/1.522, allocations: 2.708 MB / 0.9768 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/1.523, allocations: 11.94 kB / 0.9768 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004376/1.527, allocations: 1.04 MB / 0.9778 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.528, allocations: 287.5 kB / 0.9781 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.541, allocations: 6.063 MB / 0.984 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/1.543, allocations: 163.7 kB / 0.9842 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/1.543, allocations: 44 kB / 0.9842 GB, free: 10.97 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003902/1.543, allocations: 160.7 kB / 0.9844 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/1.544, allocations: 91.05 kB / 0.9845 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/1.553, allocations: 3.015 MB / 0.9874 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/1.553, allocations: 4 kB / 0.9874 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.553, allocations: 4 kB / 0.9874 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/1.553, allocations: 3.984 kB / 0.9874 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.568, allocations: 5.574 MB / 0.9929 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.568, allocations: 4 kB / 0.9929 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/1.569, allocations: 107.8 kB / 0.993 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007184/1.576, allocations: 1.637 MB / 0.9946 GB, free: 236 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.576, allocations: 16 kB / 0.9946 GB, free: 220 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/1.595, allocations: 9.442 MB / 1.004 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.87e-06/1.595, allocations: 8 kB / 1.004 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008617/1.604, allocations: 2.958 MB / 1.007 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009382/1.605, allocations: 336.1 kB / 1.007 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/1.605, allocations: 23.98 kB / 1.007 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.606, allocations: 139.8 kB / 1.007 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/1.606, allocations: 60.47 kB / 1.007 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.86e-05/1.606, allocations: 20 kB / 1.007 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001301/1.608, allocations: 0.667 MB / 1.008 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.3e-07/1.608, allocations: 0 / 1.008 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003091/1.611, allocations: 0.6992 MB / 1.009 GB, free: 1.488 MB / 0.7917 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004224/1.611, allocations: 190.9 kB / 1.009 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009083/1.62, allocations: 3.547 MB / 1.012 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.777e-06/1.62, allocations: 0 / 1.012 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/1.624, allocations: 1.353 MB / 1.014 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/1.626, allocations: 230.2 kB / 1.014 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006985/1.633, allocations: 2.851 MB / 1.017 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/1.635, allocations: 1.758 MB / 1.018 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002407/1.637, allocations: 0.6591 MB / 1.019 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/1.638, allocations: 51.44 kB / 1.019 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of SimCode: time 1.665e-06/1.638, allocations: 0 / 1.019 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of Templates: time 0.06572/1.703, allocations: 28.3 MB / 1.047 GB, free: 10.58 MB / 0.8386 GB