Running command: "" <> buildModelFMU(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_Systems_HVAC_Emission_ElectricHeater_JouleHeatingPIControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.112/3.112, allocations: 325.3 MB / 337.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.606e-05, allocations: 5.562 kB / 414.9 MB, free: 6.059 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1723, allocations: 74.41 MB / 489.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7122/0.8845, allocations: 105.5 MB / 0.5809 GB, free: 9.863 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.8848, allocations: 47.67 kB / 0.5809 GB, free: 9.844 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0225/0.9073, allocations: 4.447 MB / 0.5853 GB, free: 6.109 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.9074, allocations: 0 / 0.5853 GB, free: 6.109 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.232e-05/0.9074, allocations: 11.94 kB / 0.5853 GB, free: 6.098 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001216/0.9087, allocations: 498.2 kB / 0.5858 GB, free: 5.582 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.9087, allocations: 8.031 kB / 0.5858 GB, free: 5.574 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.9089, allocations: 48.17 kB / 0.5858 GB, free: 5.527 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.9091, allocations: 35.61 kB / 0.5858 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/0.9098, allocations: 300.9 kB / 0.5861 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.9099, allocations: 9.938 kB / 0.5861 GB, free: 5.184 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.91, allocations: 15.12 kB / 0.5862 GB, free: 5.172 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006887/0.9107, allocations: 200.4 kB / 0.5863 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.9107, allocations: 0 / 0.5863 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.9108, allocations: 5.812 kB / 0.5863 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.9108, allocations: 11.98 kB / 0.5864 GB, free: 4.996 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.9114, allocations: 115.4 kB / 0.5865 GB, free: 4.926 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.9137, allocations: 0.7851 MB / 0.5872 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007629/0.9145, allocations: 147.8 kB / 0.5874 GB, free: 4.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.9148, allocations: 51.11 kB / 0.5874 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/0.9148, allocations: 4 kB / 0.5874 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.9149, allocations: 38.14 kB / 0.5875 GB, free: 4.008 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 4.278e-06/0.9149, allocations: 1.422 kB / 0.5875 GB, free: 4.008 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006473/0.9156, allocations: 142.7 kB / 0.5876 GB, free: 3.891 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.9157, allocations: 85.11 kB / 0.5877 GB, free: 3.789 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.9162, allocations: 218.9 kB / 0.5879 GB, free: 3.602 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.9163, allocations: 33.64 kB / 0.5879 GB, free: 3.566 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.9165, allocations: 166.7 kB / 0.5881 GB, free: 3.438 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/0.9166, allocations: 54.48 kB / 0.5881 GB, free: 3.391 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.9166, allocations: 3.938 kB / 0.5881 GB, free: 3.387 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.9168, allocations: 333.2 kB / 0.5885 GB, free: 3.062 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.917, allocations: 37.44 kB / 0.5885 GB, free: 3.043 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.9172, allocations: 77.84 kB / 0.5886 GB, free: 2.969 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.9174, allocations: 45.05 kB / 0.5886 GB, free: 2.941 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.9175, allocations: 4 kB / 0.5886 GB, free: 2.938 MB / 474.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005837/0.9181, allocations: 155.7 kB / 0.5888 GB, free: 2.812 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000226/0.9183, allocations: 367.7 kB / 0.5891 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.9183, allocations: 0 / 0.5891 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.9184, allocations: 8 kB / 0.5891 GB, free: 2.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.9188, allocations: 35.92 kB / 0.5892 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.9188, allocations: 0 / 0.5892 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.9191, allocations: 23.64 kB / 0.5892 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.9192, allocations: 4 kB / 0.5892 GB, free: 2.367 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.9192, allocations: 7.953 kB / 0.5892 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004168/0.9196, allocations: 117.5 kB / 0.5893 GB, free: 2.281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9197, allocations: 4.094 kB / 0.5893 GB, free: 2.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.9197, allocations: 4 kB / 0.5893 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.92, allocations: 31.92 kB / 0.5893 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.92, allocations: 0 / 0.5893 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.9203, allocations: 11.56 kB / 0.5894 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.9203, allocations: 4 kB / 0.5894 GB, free: 2.23 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: firstOrder.y:VARIABLE(start = firstOrder.y_start protected = true ) "Connector of Real output signal" type: Real PI1.I.y:VARIABLE(start = PI1.I.y_start protected = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (PI1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.9206, allocations: 139.1 kB / 0.5895 GB, free: 2.098 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.9207, allocations: 23.67 kB / 0.5895 GB, free: 2.074 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.9209, allocations: 34.73 kB / 0.5895 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.9209, allocations: 0 / 0.5895 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.9209, allocations: 0 / 0.5895 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.9209, allocations: 4 kB / 0.5895 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.9221, allocations: 497.3 kB / 0.59 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.9221, allocations: 3.953 kB / 0.59 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.9225, allocations: 27.92 kB / 0.5901 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.9225, allocations: 0 / 0.5901 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.9226, allocations: 7.625 kB / 0.5901 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.9226, allocations: 4 kB / 0.5901 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.9226, allocations: 3.984 kB / 0.5901 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.9234, allocations: 293.6 kB / 0.5903 GB, free: 1.305 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.9236, allocations: 117.5 kB / 0.5905 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.9237, allocations: 2.938 kB / 0.5905 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.924, allocations: 8 kB / 0.5905 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.9241, allocations: 19.59 kB / 0.5905 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.9241, allocations: 0 / 0.5905 GB, free: 1.156 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003696/0.9245, allocations: 184.5 kB / 0.5907 GB, free: 1.008 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.9245, allocations: 0 / 0.5907 GB, free: 1.008 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008736/0.9254, allocations: 74.19 kB / 0.5907 GB, free: 0.9414 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (PI1.I.y,firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.9266, allocations: 0.8456 MB / 0.5916 GB, free: 132 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007216/0.9274, allocations: 173.5 kB / 0.5917 GB, free: 8 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.9274, allocations: 0 / 0.5917 GB, free: 8 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.9277, allocations: 54.98 kB / 0.5918 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/0.9286, allocations: 58.34 kB / 0.5918 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.9305, allocations: 384 kB / 0.5922 GB, free: 15.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.931, allocations: 0.7609 MB / 0.5929 GB, free: 14.76 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004319/0.9315, allocations: 38.05 kB / 0.593 GB, free: 14.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.9317, allocations: 80.28 kB / 0.5931 GB, free: 14.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.904e-06/0.9317, allocations: 0 / 0.5931 GB, free: 14.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05256/0.9843, allocations: 4.816 MB / 0.5978 GB, free: 9.977 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/0.9847, allocations: 185.5 kB / 0.5979 GB, free: 9.742 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.44, allocations: 0 / 0.5979 GB, free: 9.742 MB / 490.7 MB