Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadModel(Buildings): time 4.21/4.21, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.335e-05, allocations: 4 kB / 0.5731 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1972, allocations: 107.2 MB / 0.6778 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8307/1.028, allocations: 175.7 MB / 0.8493 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/1.028, allocations: 94.19 kB / 0.8494 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1092/1.138, allocations: 28.65 MB / 0.8774 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.117e-06/1.138, allocations: 0 / 0.8774 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.972e-05/1.138, allocations: 19.92 kB / 0.8774 GB, free: 3.996 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001467/1.139, allocations: 0.6833 MB / 0.8781 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.139, allocations: 8.031 kB / 0.8781 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/1.143, allocations: 0.5643 MB / 0.8787 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.144, allocations: 482.1 kB / 0.8791 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/1.144, allocations: 24.09 kB / 0.8791 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/1.144, allocations: 29.88 kB / 0.8792 GB, free: 2.25 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/1.145, allocations: 0.5863 MB / 0.8797 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.145, allocations: 3.906 kB / 0.8797 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/1.145, allocations: 10.5 kB / 0.8798 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/1.145, allocations: 28.02 kB / 0.8798 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.147, allocations: 0.5015 MB / 0.8803 GB, free: 1.418 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005495/1.152, allocations: 2.868 MB / 0.8831 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.153, allocations: 353.2 kB / 0.8834 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/1.154, allocations: 161.4 kB / 0.8836 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/1.154, allocations: 92.72 kB / 0.8836 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/1.154, allocations: 34.5 kB / 0.8837 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.809e-06/1.154, allocations: 4 kB / 0.8837 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.008128/1.162, allocations: 2.031 MB / 0.8857 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/1.162, allocations: 81.11 kB / 0.8857 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006553/1.163, allocations: 375.9 kB / 0.8861 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.376e-05/1.163, allocations: 32.08 kB / 0.8861 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/1.163, allocations: 234.4 kB / 0.8864 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/1.163, allocations: 80.86 kB / 0.8864 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/1.163, allocations: 6.562 kB / 0.8864 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.163, allocations: 350 kB / 0.8868 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/1.164, allocations: 243.5 kB / 0.887 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/1.165, allocations: 322.8 kB / 0.8873 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/1.165, allocations: 273.6 kB / 0.8876 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/1.165, allocations: 0 / 0.8876 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003806/1.169, allocations: 1.128 MB / 0.8887 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004903/1.17, allocations: 0.7937 MB / 0.8895 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.296e-06/1.17, allocations: 0 / 0.8895 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/1.173, allocations: 0.6383 MB / 0.8901 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/1.174, allocations: 135.3 kB / 0.8902 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005164/1.179, allocations: 3.119 MB / 0.8933 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/1.18, allocations: 114.4 kB / 0.8934 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/1.18, allocations: 14.61 kB / 0.8934 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.18, allocations: 4 kB / 0.8934 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002872/1.183, allocations: 0.875 MB / 0.8942 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.183, allocations: 4 kB / 0.8942 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/1.185, allocations: 397 kB / 0.8946 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/1.185, allocations: 155.1 kB / 0.8948 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/1.19, allocations: 2.386 MB / 0.8971 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/1.19, allocations: 115 kB / 0.8972 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/1.191, allocations: 11.98 kB / 0.8972 GB, free: 2.004 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * 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 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000204/1.191, allocations: 127.6 kB / 0.8973 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.191, allocations: 31.62 kB / 0.8974 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/1.195, allocations: 1.122 MB / 0.8985 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-06/1.195, allocations: 0 / 0.8985 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.195, allocations: 4 kB / 0.8985 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.555e-06/1.195, allocations: 0 / 0.8985 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/1.2, allocations: 1.792 MB / 0.9002 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.146e-06/1.2, allocations: 0 / 0.9002 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/1.2, allocations: 91.77 kB / 0.9003 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/1.203, allocations: 0.6222 MB / 0.9009 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/1.203, allocations: 11.05 kB / 0.9009 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007267/1.211, allocations: 4.368 MB / 0.9052 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.96e-06/1.211, allocations: 3.984 kB / 0.9052 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/1.214, allocations: 1.165 MB / 0.9063 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/1.215, allocations: 175.3 kB / 0.9065 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/1.215, allocations: 3.5 kB / 0.9065 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/1.216, allocations: 98.23 kB / 0.9066 GB, free: 9.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.216, allocations: 23.89 kB / 0.9066 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/1.216, allocations: 12 kB / 0.9066 GB, free: 9.469 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005031/1.216, allocations: 303.6 kB / 0.9069 GB, free: 9.246 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.83e-07/1.216, allocations: 0 / 0.9069 GB, free: 9.246 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001127/1.217, allocations: 221.9 kB / 0.9071 GB, free: 9.047 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003365/1.218, allocations: 168.5 kB / 0.9073 GB, free: 8.879 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002731/1.221, allocations: 1.167 MB / 0.9084 GB, free: 8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.583e-06/1.221, allocations: 4 kB / 0.9084 GB, free: 7.996 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/1.222, allocations: 0.5686 MB / 0.909 GB, free: 7.508 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/1.223, allocations: 120 kB / 0.9091 GB, free: 7.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/1.225, allocations: 0.7521 MB / 0.9098 GB, free: 6.758 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.227, allocations: 0.917 MB / 0.9107 GB, free: 5.848 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001788/1.228, allocations: 219.1 kB / 0.9109 GB, free: 5.633 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/1.229, allocations: 42.59 kB / 0.911 GB, free: 5.594 MB / 0.698 GB Notification: Performance of SimCode: time 2.014e-06/1.229, allocations: 0 / 0.911 GB, free: 5.594 MB / 0.698 GB Notification: Performance of Templates: time 0.03662/1.265, allocations: 12.1 MB / 0.9228 GB, free: 9.582 MB / 0.7136 GB