Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadModel(Buildings): time 4.129/4.129, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.204e-05, allocations: 4.938 kB / 0.5731 GB, free: 5.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 107.2 MB / 0.6777 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8346/1.073, allocations: 152.6 MB / 0.8268 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/1.073, allocations: 78.64 kB / 0.8269 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05476/1.128, allocations: 16.19 MB / 0.8427 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.576e-06/1.128, allocations: 0 / 0.8427 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.259e-05/1.128, allocations: 12 kB / 0.8427 GB, free: 4.23 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007901/1.129, allocations: 0.5202 MB / 0.8432 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.129, allocations: 8.031 kB / 0.8432 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.13, allocations: 91.62 kB / 0.8433 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/1.13, allocations: 257.6 kB / 0.8436 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/1.13, allocations: 15.67 kB / 0.8436 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/1.13, allocations: 26.56 kB / 0.8436 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/1.131, allocations: 348.2 kB / 0.8439 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/1.131, allocations: 0 / 0.8439 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/1.131, allocations: 9.812 kB / 0.8439 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/1.131, allocations: 27.5 kB / 0.844 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/1.132, allocations: 288.2 kB / 0.8442 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/1.134, allocations: 1.732 MB / 0.8459 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/1.134, allocations: 307.9 kB / 0.8462 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/1.135, allocations: 138.9 kB / 0.8464 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/1.135, allocations: 85.11 kB / 0.8464 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/1.135, allocations: 37.67 kB / 0.8465 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 4.536e-06/1.135, allocations: 7.984 kB / 0.8465 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.001022/1.136, allocations: 365.6 kB / 0.8468 GB, free: 336 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/1.136, allocations: 85.2 kB / 0.8469 GB, free: 232 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/1.136, allocations: 184.8 kB / 0.8471 GB, free: 64 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.136, allocations: 28.89 kB / 0.8471 GB, free: 32 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/1.136, allocations: 164.4 kB / 0.8473 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/1.137, allocations: 72.98 kB / 0.8473 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/1.137, allocations: 3.375 kB / 0.8473 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.137, allocations: 333.1 kB / 0.8477 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/1.137, allocations: 115 kB / 0.8478 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/1.137, allocations: 188.1 kB / 0.8479 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/1.138, allocations: 150.7 kB / 0.8481 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.53e-06/1.138, allocations: 0 / 0.8481 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001004/1.139, allocations: 393 kB / 0.8485 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005974/1.139, allocations: 1.047 MB / 0.8495 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/1.139, allocations: 0 / 0.8495 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/1.14, allocations: 52.08 kB / 0.8495 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/1.14, allocations: 75.12 kB / 0.8496 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/1.142, allocations: 1.485 MB / 0.8511 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/1.143, allocations: 31.06 kB / 0.8511 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/1.143, allocations: 19.94 kB / 0.8511 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.143, allocations: 2.969 kB / 0.8511 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008309/1.144, allocations: 328.3 kB / 0.8514 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.279e-06/1.144, allocations: 4 kB / 0.8514 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/1.144, allocations: 43.41 kB / 0.8515 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/1.144, allocations: 67.88 kB / 0.8515 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/1.146, allocations: 1.482 MB / 0.853 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/1.147, allocations: 27.39 kB / 0.853 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/1.147, allocations: 18.92 kB / 0.853 GB, free: 10.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001773/1.147, allocations: 123.3 kB / 0.8531 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/1.147, allocations: 19.75 kB / 0.8532 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008248/1.148, allocations: 332 kB / 0.8535 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/1.148, allocations: 8 kB / 0.8535 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.87e-06/1.148, allocations: 0 / 0.8535 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.605e-06/1.148, allocations: 0 / 0.8535 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/1.15, allocations: 0.9332 MB / 0.8544 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.15, allocations: 7.953 kB / 0.8544 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/1.15, allocations: 51.89 kB / 0.8545 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/1.15, allocations: 39.39 kB / 0.8545 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/1.151, allocations: 11.25 kB / 0.8545 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/1.152, allocations: 1.402 MB / 0.8559 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.331e-06/1.152, allocations: 3.938 kB / 0.8559 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.153, allocations: 0.5824 MB / 0.8564 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/1.154, allocations: 132 kB / 0.8566 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/1.154, allocations: 4 kB / 0.8566 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/1.154, allocations: 23.84 kB / 0.8566 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/1.154, allocations: 27.8 kB / 0.8566 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/1.154, allocations: 8 kB / 0.8566 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002606/1.154, allocations: 152.9 kB / 0.8568 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.69e-07/1.154, allocations: 0 / 0.8568 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001246/1.156, allocations: 117.1 kB / 0.8569 GB, free: 6.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/1.156, allocations: 126.4 kB / 0.857 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001526/1.158, allocations: 0.6694 MB / 0.8577 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.597e-06/1.158, allocations: 0 / 0.8577 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004877/1.158, allocations: 245.9 kB / 0.8579 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/1.159, allocations: 31.47 kB / 0.8579 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/1.16, allocations: 410 kB / 0.8583 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/1.16, allocations: 0.779 MB / 0.8591 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004107/1.161, allocations: 89.98 kB / 0.8592 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/1.161, allocations: 30.48 kB / 0.8592 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of SimCode: time 1.768e-06/1.161, allocations: 0 / 0.8592 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of Templates: time 0.01028/1.171, allocations: 3.146 MB / 0.8623 GB, free: 0.9961 MB / 0.6511 GB