Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.296/4.296, allocations: 404.2 MB / 411.3 MB, free: 436 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.234e-05/3.256e-05, allocations: 4 kB / 0.4945 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6753/0.6754, allocations: 92.69 MB / 0.5851 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2961/0.9715, allocations: 141.3 MB / 0.723 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/0.9719, allocations: 91.94 kB / 0.7231 GB, free: 4.758 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.07954/1.052, allocations: 16.76 MB / 0.7395 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/1.052, allocations: 0 / 0.7395 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.049e-05/1.052, allocations: 7.984 kB / 0.7395 GB, free: 3.82 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001742/1.053, allocations: 0.6133 MB / 0.7401 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.053, allocations: 12.02 kB / 0.7401 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/1.055, allocations: 103.5 kB / 0.7402 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/1.055, allocations: 278.3 kB / 0.7405 GB, free: 2.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/1.055, allocations: 4 kB / 0.7405 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/1.056, allocations: 12 kB / 0.7405 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008/1.056, allocations: 244.9 kB / 0.7407 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/1.057, allocations: 345.8 kB / 0.741 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.057, allocations: 11.84 kB / 0.7411 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/1.057, allocations: 0 / 0.7411 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/1.057, allocations: 28.31 kB / 0.7411 GB, free: 2.066 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/1.061, allocations: 1.39 MB / 0.7424 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/1.062, allocations: 381.4 kB / 0.7428 GB, free: 220 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/1.063, allocations: 155.3 kB / 0.7429 GB, free: 60 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/1.063, allocations: 93.08 kB / 0.743 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005986/1.064, allocations: 214.3 kB / 0.7432 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 5.811e-06/1.064, allocations: 8 kB / 0.7432 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.001678/1.065, allocations: 424.8 kB / 0.7437 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/1.066, allocations: 85.11 kB / 0.7437 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/1.066, allocations: 187.1 kB / 0.7439 GB, free: 15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/1.066, allocations: 25.7 kB / 0.7439 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/1.066, allocations: 164.1 kB / 0.7441 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/1.066, allocations: 86.75 kB / 0.7442 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/1.066, allocations: 96 / 0.7442 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.067, allocations: 346.7 kB / 0.7445 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/1.067, allocations: 132 kB / 0.7446 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/1.067, allocations: 197.4 kB / 0.7448 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/1.068, allocations: 156.1 kB / 0.745 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.068, allocations: 0 / 0.745 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001468/1.069, allocations: 427.2 kB / 0.7454 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004377/1.07, allocations: 0.9066 MB / 0.7463 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.07, allocations: 0 / 0.7463 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/1.07, allocations: 40.83 kB / 0.7463 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/1.071, allocations: 91.86 kB / 0.7464 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/1.073, allocations: 1.43 MB / 0.7478 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/1.074, allocations: 51.89 kB / 0.7478 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/1.074, allocations: 19.98 kB / 0.7479 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/1.074, allocations: 0 / 0.7479 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001293/1.075, allocations: 360.6 kB / 0.7482 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.075, allocations: 7.984 kB / 0.7482 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/1.076, allocations: 36.83 kB / 0.7482 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/1.077, allocations: 83.88 kB / 0.7483 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/1.078, allocations: 1.434 MB / 0.7497 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/1.079, allocations: 47.86 kB / 0.7498 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/1.079, allocations: 15.98 kB / 0.7498 GB, free: 8.594 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002155/1.079, allocations: 112.9 kB / 0.7499 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001293/1.081, allocations: 352.8 kB / 0.7502 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/1.081, allocations: 27.66 kB / 0.7503 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/1.082, allocations: 394.8 kB / 0.7506 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/1.082, allocations: 8.141 kB / 0.7506 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.082, allocations: 0 / 0.7506 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.082, allocations: 3.984 kB / 0.7506 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/1.083, allocations: 0.5121 MB / 0.7511 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.083, allocations: 0 / 0.7511 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008601/1.084, allocations: 79.92 kB / 0.7512 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/1.084, allocations: 40.72 kB / 0.7513 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/1.085, allocations: 4 kB / 0.7513 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/1.086, allocations: 1.342 MB / 0.7526 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.086, allocations: 0 / 0.7526 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/1.088, allocations: 0.4957 MB / 0.7531 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/1.088, allocations: 132.7 kB / 0.7532 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/1.088, allocations: 7.938 kB / 0.7532 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/1.089, allocations: 39.95 kB / 0.7532 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.089, allocations: 35.91 kB / 0.7533 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/1.089, allocations: 8 kB / 0.7533 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002522/1.089, allocations: 160.5 kB / 0.7534 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/1.089, allocations: 3.938 kB / 0.7534 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001056/1.09, allocations: 127.9 kB / 0.7535 GB, free: 4.488 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001814/1.092, allocations: 1.255 MB / 0.7548 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.094, allocations: 0.8392 MB / 0.7556 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.094, allocations: 4.125 kB / 0.7556 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007646/1.095, allocations: 277.6 kB / 0.7559 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/1.096, allocations: 36.41 kB / 0.7559 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/1.098, allocations: 0.5137 MB / 0.7564 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/1.098, allocations: 0.7924 MB / 0.7572 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007411/1.099, allocations: 102.1 kB / 0.7573 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/1.099, allocations: 87.39 kB / 0.7574 GB, free: 428 kB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/1.099, allocations: 0 / 0.7574 GB, free: 428 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05504/1.154, allocations: 6.278 MB / 0.7635 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004358/1.155, allocations: 175.1 kB / 0.7636 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.997/4.152, allocations: 4 kB / 0.7637 GB, free: 9.965 MB / 0.6511 GB