Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_2_cs_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.48/2.48, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.984e-05, allocations: 2.281 kB / 249.7 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5297/0.6357, allocations: 70.65 MB / 364.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.636, allocations: 65.25 kB / 365 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006347/0.6424, allocations: 1.246 MB / 366.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6425, allocations: 0 / 366.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.6425, allocations: 0 / 366.2 MB, free: 22.62 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006428/0.6431, allocations: 374.9 kB / 366.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6432, allocations: 11.78 kB / 366.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.6433, allocations: 35.36 kB / 366.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.6433, allocations: 4.75 kB / 366.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.6434, allocations: 176.4 kB / 366.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.6435, allocations: 7.594 kB / 366.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.6435, allocations: 3.984 kB / 366.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001598/0.6437, allocations: 32.08 kB / 366.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.6438, allocations: 51.8 kB / 366.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6439, allocations: 0 / 366.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.6439, allocations: 0 / 366.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6439, allocations: 4 kB / 366.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.6444, allocations: 288 kB / 367.2 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.6446, allocations: 47.97 kB / 367.2 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.6446, allocations: 22.3 kB / 367.2 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.6447, allocations: 0 / 367.2 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.6447, allocations: 44.42 kB / 367.3 MB, free: 21.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.6447, allocations: 0 / 367.3 MB, free: 21.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002499/0.645, allocations: 60.53 kB / 367.4 MB, free: 21.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.645, allocations: 52.95 kB / 367.4 MB, free: 21.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.6451, allocations: 100.4 kB / 367.5 MB, free: 21.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6451, allocations: 25.7 kB / 367.5 MB, free: 21.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.6452, allocations: 96.97 kB / 367.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.6452, allocations: 13.47 kB / 367.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.6452, allocations: 4 kB / 367.6 MB, free: 21.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6454, allocations: 320.4 kB / 368 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.6454, allocations: 18.12 kB / 368 MB, free: 21.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.6455, allocations: 10.72 kB / 368 MB, free: 21.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.6456, allocations: 12.25 kB / 368 MB, free: 21.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6456, allocations: 0 / 368 MB, free: 21.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001714/0.6458, allocations: 66.44 kB / 368.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.6458, allocations: 3.812 kB / 368.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6458, allocations: 0 / 368.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6458, allocations: 4 kB / 368.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.6462, allocations: 24.8 kB / 368.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6462, allocations: 0 / 368.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.6464, allocations: 23.47 kB / 368.1 MB, free: 20.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.6464, allocations: 3.875 kB / 368.1 MB, free: 20.97 MB / 314.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 (5): * Single equations (assignments): 5 * 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 9.912e-05/0.6465, allocations: 112.7 kB / 368.2 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.6466, allocations: 3.812 kB / 368.2 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.6469, allocations: 81.39 kB / 368.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6469, allocations: 0 / 368.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6469, allocations: 0 / 368.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6469, allocations: 5.812 kB / 368.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.6472, allocations: 166.6 kB / 368.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6472, allocations: 0 / 368.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.6475, allocations: 32.91 kB / 368.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.6475, allocations: 3.938 kB / 368.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.6475, allocations: 0 / 368.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6475, allocations: 1.75 kB / 368.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6476, allocations: 7.812 kB / 368.5 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.6478, allocations: 170.7 kB / 368.7 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.6479, allocations: 81.02 kB / 368.8 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.6479, allocations: 5.547 kB / 368.8 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.6482, allocations: 15.22 kB / 368.8 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.6483, allocations: 7.422 kB / 368.8 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.6483, allocations: 3 kB / 368.8 MB, free: 20.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.085e-05/0.6484, allocations: 92.27 kB / 368.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6484, allocations: 0 / 368.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.6488, allocations: 15.47 kB / 368.9 MB, free: 20.32 MB / 314.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 (7): * Single equations (assignments): 7 * 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.0006295/0.6494, allocations: 0.7086 MB / 369.6 MB, free: 19.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.6496, allocations: 48.44 kB / 369.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6497, allocations: 0 / 369.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.6497, allocations: 25.44 kB / 369.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.65, allocations: 3.844 kB / 369.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.6506, allocations: 122.2 kB / 369.8 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.651, allocations: 0.6927 MB / 370.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.6511, allocations: 9.359 kB / 370.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.6512, allocations: 23.45 kB / 370.5 MB, free: 18.81 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.6512, allocations: 0 / 370.5 MB, free: 18.81 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04388/0.6951, allocations: 1.333 MB / 371.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002624/0.6954, allocations: 151.3 kB / 372 MB, free: 18.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.845/3.54, allocations: 3.938 kB / 372 MB, free: 18.52 MB / 314.7 MB