Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.334/4.334, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.696e-05, allocations: 4 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2306, allocations: 107.2 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9241/1.155, allocations: 178.8 MB / 0.8524 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/1.155, allocations: 98.25 kB / 0.8525 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.691/2.846, allocations: 267.4 MB / 1.114 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.374e-06/2.846, allocations: 2.875 kB / 1.114 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006199/2.846, allocations: 147.3 kB / 1.114 GB, free: 191.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02272/2.869, allocations: 4.631 MB / 1.118 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/2.869, allocations: 9.812 kB / 1.118 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003875/2.873, allocations: 0.7452 MB / 1.119 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/2.891, allocations: 1.487 MB / 1.12 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/2.91, allocations: 4.205 MB / 1.125 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005798/2.91, allocations: 382.6 kB / 1.125 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002853/2.913, allocations: 0.5005 MB / 1.125 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/2.942, allocations: 8.227 MB / 1.133 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004174/2.943, allocations: 29.47 kB / 1.133 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002676/2.946, allocations: 227.5 kB / 1.134 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006196/2.946, allocations: 327.8 kB / 1.134 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02089/2.967, allocations: 6.233 MB / 1.14 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06781/3.035, allocations: 40.01 MB / 1.179 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006104/3.041, allocations: 2.769 MB / 1.182 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005741/3.047, allocations: 2.543 MB / 1.184 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/3.047, allocations: 29.5 kB / 1.184 GB, free: 163.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/3.048, allocations: 69.55 kB / 1.184 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=265): time 5.761e-06/3.048, allocations: 0 / 1.184 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=424): time 0.4679/3.515, allocations: 60.07 MB / 1.243 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/3.516, allocations: 93.36 kB / 1.243 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/3.519, allocations: 1.912 MB / 1.245 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001077/3.521, allocations: 96.73 kB / 1.245 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001725/3.522, allocations: 2.336 MB / 1.247 GB, free: 156 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002258/3.525, allocations: 1.432 MB / 1.249 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/3.525, allocations: 89.25 kB / 1.249 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002862/3.525, allocations: 481.6 kB / 1.249 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006461/3.532, allocations: 2.732 MB / 1.252 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007736/3.54, allocations: 3.671 MB / 1.256 GB, free: 151 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007814/3.548, allocations: 3.328 MB / 1.259 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-05/3.548, allocations: 7.406 kB / 1.259 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04468/3.592, allocations: 11.61 MB / 1.27 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/3.592, allocations: 21.83 kB / 1.27 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.442e-05/3.593, allocations: 28 kB / 1.27 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03079/3.623, allocations: 4.989 MB / 1.275 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/3.627, allocations: 0.506 MB / 1.276 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.11/3.738, allocations: 64.67 MB / 1.339 GB, free: 77.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00638/3.744, allocations: 182.4 kB / 1.339 GB, free: 77.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/3.745, allocations: 160 kB / 1.339 GB, free: 77.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001802/3.747, allocations: 350.6 kB / 1.339 GB, free: 76.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/3.749, allocations: 387.4 kB / 1.34 GB, free: 76.33 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04389/3.793, allocations: 11.47 MB / 1.351 GB, free: 67.13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.283e-05/3.793, allocations: 40 kB / 1.351 GB, free: 67.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001418/3.793, allocations: 48 kB / 1.351 GB, free: 67.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001081/3.793, allocations: 20.86 kB / 1.351 GB, free: 67.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06113/3.854, allocations: 17.81 MB / 1.369 GB, free: 52.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.614e-05/3.854, allocations: 8 kB / 1.369 GB, free: 52.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/3.857, allocations: 289.1 kB / 1.369 GB, free: 52.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02743/3.885, allocations: 4.492 MB / 1.373 GB, free: 49.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/3.886, allocations: 82.58 kB / 1.373 GB, free: 49.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1304/4.016, allocations: 62.2 MB / 1.434 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/4.016, allocations: 11.94 kB / 1.434 GB, free: 5.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6916/4.708, allocations: 15.28 MB / 1.449 GB, free: 178.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004152/4.712, allocations: 0.9702 MB / 1.45 GB, free: 178.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00194/4.714, allocations: 90.56 kB / 1.45 GB, free: 178.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005735/4.72, allocations: 174.4 kB / 1.45 GB, free: 178.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002481/4.723, allocations: 404.3 kB / 1.451 GB, free: 178.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001012/4.724, allocations: 101.3 kB / 1.451 GB, free: 178.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004164/4.728, allocations: 1.436 MB / 1.452 GB, free: 178.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.192e-06/4.728, allocations: 3.156 kB / 1.452 GB, free: 178.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01097/4.739, allocations: 1.752 MB / 1.454 GB, free: 178.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05431/4.793, allocations: 17.61 MB / 1.471 GB, free: 174.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.03221/4.825, allocations: 11.14 MB / 1.482 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/4.826, allocations: 3.562 kB / 1.482 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.02259/4.848, allocations: 7.682 MB / 1.489 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008863/4.857, allocations: 0.9727 MB / 1.49 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03812/4.895, allocations: 11.51 MB / 1.502 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008868/4.904, allocations: 4.192 MB / 1.506 GB, free: 166 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004383/4.909, allocations: 0.6703 MB / 1.506 GB, free: 166 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00456/4.913, allocations: 2.14 MB / 1.508 GB, free: 166 MB / 0.9011 GB Notification: Performance of SimCode: time 1.643e-06/4.913, allocations: 3.5 kB / 1.508 GB, free: 166 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3418/5.255, allocations: 135.8 MB / 1.641 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/5.255, allocations: 200 kB / 1.641 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/12.13, allocations: 0 / 1.641 GB, free: 117.3 MB / 0.9011 GB