Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestWriteFile,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Utilities_TestWriteFile",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.095/3.095, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.502e-05, allocations: 0 / 299.5 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4364, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2552/0.6916, allocations: 78.91 MB / 433.3 MB, free: 196 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.692, allocations: 63.97 kB / 433.4 MB, free: 132 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00797/0.7, allocations: 1.406 MB / 434.8 MB, free: 14.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7, allocations: 0 / 434.8 MB, free: 14.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.381e-06/0.7001, allocations: 0 / 434.8 MB, free: 14.72 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004313/0.7005, allocations: 352.9 kB / 435.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.955e-05/0.7006, allocations: 12.03 kB / 435.1 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.7007, allocations: 34.5 kB / 435.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.7007, allocations: 7.938 kB / 435.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.7008, allocations: 159.1 kB / 435.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.7009, allocations: 4 kB / 435.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.7009, allocations: 0 / 435.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.466e-05/0.701, allocations: 4 kB / 435.3 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.991e-05/0.7011, allocations: 25.7 kB / 435.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.7011, allocations: 3.938 kB / 435.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.7011, allocations: 0 / 435.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.7011, allocations: 3.953 kB / 435.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.7013, allocations: 134.2 kB / 435.5 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.11e-05/0.7014, allocations: 22.52 kB / 435.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.7014, allocations: 4.859 kB / 435.5 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.7015, allocations: 0 / 435.5 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.587e-05/0.7016, allocations: 60.36 kB / 435.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.525e-06/0.7016, allocations: 0 / 435.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002629/0.7019, allocations: 37.67 kB / 435.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.702, allocations: 81.11 kB / 435.7 MB, free: 13.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.789e-05/0.702, allocations: 92.91 kB / 435.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.7021, allocations: 29.73 kB / 435.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.7021, allocations: 80.14 kB / 435.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.7022, allocations: 0 / 435.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.7022, allocations: 0 / 435.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7023, allocations: 314.8 kB / 436.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.7024, allocations: 4 kB / 436.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.7024, allocations: 0 / 436.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.7025, allocations: 3.938 kB / 436.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7025, allocations: 4.062 kB / 436.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001476/0.7026, allocations: 41.69 kB / 436.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.7027, allocations: 37.64 kB / 436.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7027, allocations: 0 / 436.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.7028, allocations: 0 / 436.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.7028, allocations: 0 / 436.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.7028, allocations: 3.984 kB / 436.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.7028, allocations: 3.984 kB / 436.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.7029, allocations: 0 / 436.3 MB, free: 12.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.703, allocations: 142.7 kB / 436.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.703, allocations: 0 / 436.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.7031, allocations: 7.703 kB / 436.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.7031, allocations: 0 / 436.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7031, allocations: 0 / 436.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.7031, allocations: 4 kB / 436.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.7033, allocations: 126.2 kB / 436.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7033, allocations: 3.953 kB / 436.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-06/0.7033, allocations: 0 / 436.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7033, allocations: 0 / 436.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.7033, allocations: 0 / 436.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.7033, allocations: 4 kB / 436.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.7034, allocations: 7.938 kB / 436.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.7036, allocations: 65.06 kB / 436.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.7036, allocations: 81.06 kB / 436.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.7037, allocations: 4 kB / 436.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.7037, allocations: 0 / 436.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.7037, allocations: 0 / 436.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.7037, allocations: 4.031 kB / 436.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.894e-05/0.7038, allocations: 75.28 kB / 436.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7038, allocations: 0 / 436.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004218/0.7042, allocations: 27.97 kB / 436.8 MB, free: 12.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.7054, allocations: 0.7049 MB / 437.6 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.7056, allocations: 63.39 kB / 437.6 MB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7056, allocations: 0 / 437.6 MB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.7057, allocations: 51.41 kB / 437.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.7058, allocations: 7.938 kB / 437.7 MB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.7062, allocations: 91.8 kB / 437.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.7066, allocations: 0.673 MB / 438.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.905e-06/0.7066, allocations: 4 kB / 438.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.7066, allocations: 7.438 kB / 438.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7066, allocations: 0 / 438.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05611/0.7628, allocations: 0.8897 MB / 439.3 MB, free: 9.766 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003207/0.7632, allocations: 167.5 kB / 439.5 MB, free: 9.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.12/3.884, allocations: 0 / 439.5 MB, free: 9.57 MB / 378.7 MB