Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.328/3.328, allocations: 343.8 MB / 355.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.678e-05, allocations: 8 kB / 436.7 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2216, allocations: 77.73 MB / 0.5023 GB, free: 4.496 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7731/0.9948, allocations: 111.4 MB / 0.6112 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.9952, allocations: 83.95 kB / 0.6112 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02644/1.022, allocations: 6.854 MB / 0.6179 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/1.022, allocations: 4 kB / 0.6179 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.833e-05/1.022, allocations: 8 kB / 0.6179 GB, free: 2.52 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001099/1.023, allocations: 0.5526 MB / 0.6185 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.023, allocations: 16.03 kB / 0.6185 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/1.023, allocations: 62.53 kB / 0.6186 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/1.023, allocations: 43.48 kB / 0.6186 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008023/1.024, allocations: 386.7 kB / 0.619 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/1.024, allocations: 20.56 kB / 0.619 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/1.024, allocations: 27.98 kB / 0.619 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/1.025, allocations: 304.3 kB / 0.6193 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/1.025, allocations: 4 kB / 0.6193 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/1.025, allocations: 8 kB / 0.6193 GB, free: 1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/1.025, allocations: 11.94 kB / 0.6193 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/1.026, allocations: 201.1 kB / 0.6195 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/1.028, allocations: 1.17 MB / 0.6207 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/1.029, allocations: 198.9 kB / 0.6208 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/1.029, allocations: 76.86 kB / 0.6209 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/1.029, allocations: 8 kB / 0.6209 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/1.029, allocations: 34.52 kB / 0.621 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/1.029, allocations: 0 / 0.621 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0005778/1.03, allocations: 197.5 kB / 0.6212 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/1.03, allocations: 81.11 kB / 0.6212 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/1.03, allocations: 291.7 kB / 0.6215 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/1.03, allocations: 25.7 kB / 0.6215 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/1.031, allocations: 212 kB / 0.6217 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/1.031, allocations: 51.27 kB / 0.6218 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/1.031, allocations: 3.938 kB / 0.6218 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.031, allocations: 342.8 kB / 0.6221 GB, free: 14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/1.031, allocations: 60 kB / 0.6222 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/1.031, allocations: 95.42 kB / 0.6223 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/1.032, allocations: 79.45 kB / 0.6223 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.032, allocations: 4 kB / 0.6223 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005587/1.032, allocations: 221.1 kB / 0.6226 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/1.032, allocations: 271.1 kB / 0.6228 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.032, allocations: 0 / 0.6228 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.032, allocations: 7.938 kB / 0.6228 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/1.033, allocations: 35.92 kB / 0.6229 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.033, allocations: 3.984 kB / 0.6229 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/1.033, allocations: 31.73 kB / 0.6229 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/1.033, allocations: 8 kB / 0.6229 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/1.033, allocations: 0 / 0.6229 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004441/1.034, allocations: 167.2 kB / 0.6231 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.034, allocations: 4 kB / 0.6231 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/1.034, allocations: 0 / 0.6231 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/1.034, allocations: 27.98 kB / 0.6231 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/1.034, allocations: 0 / 0.6231 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/1.034, allocations: 19.84 kB / 0.6231 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/1.034, allocations: 4 kB / 0.6231 GB, free: 12.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.034, allocations: 121 kB / 0.6232 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/1.034, allocations: 35.56 kB / 0.6233 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/1.034, allocations: 35.06 kB / 0.6233 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.034, allocations: 3.984 kB / 0.6233 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.035, allocations: 0 / 0.6233 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.035, allocations: 0 / 0.6233 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/1.035, allocations: 413.2 kB / 0.6237 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.035, allocations: 4 kB / 0.6237 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/1.036, allocations: 27.92 kB / 0.6237 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/1.036, allocations: 3.953 kB / 0.6237 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/1.036, allocations: 15.98 kB / 0.6237 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.036, allocations: 0 / 0.6237 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.036, allocations: 0 / 0.6237 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/1.036, allocations: 387.1 kB / 0.6241 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/1.037, allocations: 136.7 kB / 0.6242 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/1.037, allocations: 3.953 kB / 0.6242 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/1.037, allocations: 16.06 kB / 0.6243 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/1.037, allocations: 11.98 kB / 0.6243 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/1.037, allocations: 7.984 kB / 0.6243 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004003/1.038, allocations: 238.2 kB / 0.6245 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/1.038, allocations: 0 / 0.6245 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006064/1.038, allocations: 83.69 kB / 0.6246 GB, free: 11.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001194/1.039, allocations: 0.935 MB / 0.6255 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007411/1.04, allocations: 257.9 kB / 0.6257 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.04, allocations: 4 kB / 0.6257 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/1.04, allocations: 79.94 kB / 0.6258 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/1.041, allocations: 74.92 kB / 0.6259 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/1.043, allocations: 486.3 kB / 0.6264 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/1.043, allocations: 0.7882 MB / 0.6271 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003392/1.044, allocations: 43.03 kB / 0.6272 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/1.044, allocations: 103.4 kB / 0.6273 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of SimCode: time 1.863e-06/1.044, allocations: 0 / 0.6273 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/1.077, allocations: 6.633 MB / 0.6337 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003788/1.077, allocations: 171.2 kB / 0.6339 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.863, allocations: 0 / 0.6339 GB, free: 1.762 MB / 0.5105 GB