Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.107/3.107, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.798e-05, allocations: 4 kB / 299.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5009, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.6842, allocations: 83.47 MB / 437.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.6846, allocations: 67.95 kB / 437.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03292/0.7175, allocations: 6.017 MB / 444 MB, free: 5.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7176, allocations: 7.938 kB / 444 MB, free: 5.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.7176, allocations: 4 kB / 444 MB, free: 5.391 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008868/0.7185, allocations: 486.3 kB / 444.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.7186, allocations: 11.97 kB / 444.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.7187, allocations: 86.94 kB / 444.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.7202, allocations: 71.62 kB / 444.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.7204, allocations: 186.8 kB / 444.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.7205, allocations: 16.78 kB / 444.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.7205, allocations: 16 kB / 444.8 MB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000505/0.721, allocations: 137.5 kB / 445 MB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.7216, allocations: 170.2 kB / 445.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.7216, allocations: 0 / 445.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.7217, allocations: 3.953 kB / 445.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.7217, allocations: 8 kB / 445.1 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.7234, allocations: 0.5888 MB / 445.7 MB, free: 3.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009685/0.7244, allocations: 199.2 kB / 445.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.7246, allocations: 53.33 kB / 446 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.7246, allocations: 4.188 kB / 446 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.7247, allocations: 42.8 kB / 446 MB, free: 3.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.156e-06/0.7247, allocations: 0 / 446 MB, free: 3.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005127/0.7252, allocations: 140.1 kB / 446.2 MB, free: 3.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.7253, allocations: 55.41 kB / 446.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.7254, allocations: 96.98 kB / 446.3 MB, free: 2.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.7254, allocations: 25.7 kB / 446.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.7256, allocations: 148.6 kB / 446.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.7257, allocations: 86.66 kB / 446.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.7257, allocations: 4 kB / 446.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.7259, allocations: 322.8 kB / 446.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.726, allocations: 32 kB / 446.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.7262, allocations: 28 kB / 446.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.7263, allocations: 47.89 kB / 447 MB, free: 2.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7263, allocations: 0 / 447 MB, free: 2.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004096/0.7268, allocations: 134.3 kB / 447.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.7268, allocations: 11.94 kB / 447.1 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.7268, allocations: 3.953 kB / 447.1 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7268, allocations: 4 kB / 447.1 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008987/0.7278, allocations: 95.94 kB / 447.2 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.7278, allocations: 4 kB / 447.2 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.7279, allocations: 11.84 kB / 447.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.728, allocations: 8 kB / 447.3 MB, free: 1.891 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001133/0.7281, allocations: 109.2 kB / 447.4 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.7282, allocations: 11.81 kB / 447.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.285e-05/0.7283, allocations: 21.75 kB / 447.4 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.7283, allocations: 3.953 kB / 447.4 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.7283, allocations: 7.984 kB / 447.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.7284, allocations: 3.938 kB / 447.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.7288, allocations: 222 kB / 447.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7288, allocations: 3.984 kB / 447.6 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008705/0.7297, allocations: 99.89 kB / 447.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.7297, allocations: 0 / 447.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.7298, allocations: 0 / 447.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.7298, allocations: 4 kB / 447.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7298, allocations: 0 / 447.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.7303, allocations: 243.3 kB / 448 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.7304, allocations: 96.94 kB / 448.1 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.7304, allocations: 256 / 448.1 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.7306, allocations: 8 kB / 448.1 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.7307, allocations: 19.92 kB / 448.1 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.7308, allocations: 7.984 kB / 448.1 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.7308, allocations: 87.23 kB / 448.2 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7308, allocations: 0 / 448.2 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005005/0.7314, allocations: 47.69 kB / 448.2 MB, free: 0.8359 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.001075/0.7324, allocations: 0.826 MB / 449.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.7328, allocations: 115.9 kB / 449.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7329, allocations: 0 / 449.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.7331, allocations: 63.94 kB / 449.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.7333, allocations: 3.938 kB / 449.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.7344, allocations: 310.2 kB / 449.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.735, allocations: 0.7475 MB / 450.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.7353, allocations: 17.19 kB / 450.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.7355, allocations: 67.41 kB / 450.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7355, allocations: 0 / 450.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04944/0.7849, allocations: 2.059 MB / 452.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004669/0.7855, allocations: 133.5 kB / 452.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.93/3.715, allocations: 0 / 452.6 MB, free: 12.36 MB / 394.7 MB