Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.366/4.366, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.973e-05/4.969e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9106/1.146, allocations: 153.8 MB / 0.828 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003858/1.146, allocations: 93.98 kB / 0.8281 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06496/1.211, allocations: 16.97 MB / 0.8447 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.211, allocations: 0 / 0.8447 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.51e-05/1.211, allocations: 8 kB / 0.8447 GB, free: 2.195 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001435/1.213, allocations: 0.6123 MB / 0.8453 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.213, allocations: 8.031 kB / 0.8453 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.887e-05/1.213, allocations: 54.11 kB / 0.8454 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/1.214, allocations: 95.61 kB / 0.8454 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/1.214, allocations: 288.8 kB / 0.8457 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/1.215, allocations: 16.06 kB / 0.8457 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/1.215, allocations: 23.75 kB / 0.8458 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/1.215, allocations: 365.4 kB / 0.8461 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/1.215, allocations: 3.938 kB / 0.8461 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/1.215, allocations: 15.56 kB / 0.8461 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/1.216, allocations: 24.34 kB / 0.8462 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/1.216, allocations: 311.9 kB / 0.8465 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/1.219, allocations: 1.654 MB / 0.8481 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/1.221, allocations: 391.2 kB / 0.8484 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/1.221, allocations: 163.1 kB / 0.8486 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/1.222, allocations: 92.78 kB / 0.8487 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/1.222, allocations: 231.5 kB / 0.8489 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.025e-06/1.222, allocations: 0 / 0.8489 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001478/1.224, allocations: 432.5 kB / 0.8493 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.224, allocations: 84.05 kB / 0.8494 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/1.224, allocations: 193.4 kB / 0.8496 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/1.224, allocations: 33.08 kB / 0.8496 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/1.224, allocations: 175 kB / 0.8498 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/1.224, allocations: 92.83 kB / 0.8499 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/1.224, allocations: 7.25 kB / 0.8499 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.225, allocations: 333.7 kB / 0.8502 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/1.225, allocations: 127.9 kB / 0.8503 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/1.225, allocations: 208.9 kB / 0.8505 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/1.226, allocations: 186 kB / 0.8507 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.226, allocations: 0 / 0.8507 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001325/1.227, allocations: 468 kB / 0.8511 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004536/1.228, allocations: 0.9037 MB / 0.852 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.228, allocations: 4 kB / 0.852 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/1.228, allocations: 40.45 kB / 0.8521 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/1.229, allocations: 94.73 kB / 0.8522 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/1.231, allocations: 1.49 MB / 0.8536 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/1.232, allocations: 54.17 kB / 0.8537 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/1.232, allocations: 19.17 kB / 0.8537 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.232, allocations: 4 kB / 0.8537 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/1.233, allocations: 408.5 kB / 0.8541 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.233, allocations: 4 kB / 0.8541 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/1.234, allocations: 43.81 kB / 0.8541 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/1.234, allocations: 88.16 kB / 0.8542 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/1.236, allocations: 1.469 MB / 0.8556 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/1.237, allocations: 55.55 kB / 0.8557 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/1.237, allocations: 19.25 kB / 0.8557 GB, free: 7.605 MB / 0.6511 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.0001971/1.237, allocations: 128 kB / 0.8558 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/1.237, allocations: 31.66 kB / 0.8559 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/1.238, allocations: 390.7 kB / 0.8562 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.238, allocations: 4 kB / 0.8562 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.238, allocations: 0 / 0.8562 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/1.238, allocations: 0 / 0.8562 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009604/1.239, allocations: 0.573 MB / 0.8568 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.239, allocations: 3.938 kB / 0.8568 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/1.24, allocations: 79.17 kB / 0.8569 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/1.24, allocations: 31.95 kB / 0.8569 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/1.24, allocations: 7.594 kB / 0.8569 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/1.242, allocations: 1.408 MB / 0.8583 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.242, allocations: 4.031 kB / 0.8583 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.243, allocations: 0.5086 MB / 0.8588 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/1.243, allocations: 135.2 kB / 0.8589 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/1.243, allocations: 7.312 kB / 0.8589 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/1.244, allocations: 39.59 kB / 0.859 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.244, allocations: 35.06 kB / 0.859 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/1.244, allocations: 11.98 kB / 0.859 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002466/1.244, allocations: 168.8 kB / 0.8592 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.61e-07/1.244, allocations: 4 kB / 0.8592 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009008/1.245, allocations: 139.1 kB / 0.8593 GB, free: 4.109 MB / 0.6511 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.001572/1.247, allocations: 1.278 MB / 0.8606 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001968/1.249, allocations: 0.853 MB / 0.8614 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.249, allocations: 3.5 kB / 0.8614 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006825/1.249, allocations: 281.1 kB / 0.8617 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/1.25, allocations: 34.97 kB / 0.8617 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/1.252, allocations: 0.5546 MB / 0.8622 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/1.252, allocations: 0.7907 MB / 0.863 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005875/1.253, allocations: 102 kB / 0.8631 GB, free: 472 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/1.253, allocations: 85.22 kB / 0.8632 GB, free: 440 kB / 0.6511 GB Notification: Performance of SimCode: time 2.975e-06/1.253, allocations: 0 / 0.8632 GB, free: 440 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/1.286, allocations: 6.835 MB / 0.8699 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/1.286, allocations: 201.5 kB / 0.87 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.82, allocations: 0 / 0.87 GB, free: 9.477 MB / 0.6667 GB