Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_cpp_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.942e-05, allocations: 0.9844 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 50.41 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4408/0.5846, allocations: 76.82 MB / 419.4 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.5849, allocations: 69.02 kB / 419.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005807/0.5907, allocations: 1.341 MB / 420.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5907, allocations: 0 / 420.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.5908, allocations: 0 / 420.9 MB, free: 15.75 MB / 346.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.0006348/0.5914, allocations: 381.3 kB / 421.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5915, allocations: 12.02 kB / 421.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.5915, allocations: 38.56 kB / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.5916, allocations: 7.953 kB / 421.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.5917, allocations: 166.2 kB / 421.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.5918, allocations: 4 kB / 421.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5918, allocations: 4 kB / 421.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.592, allocations: 65.11 kB / 421.5 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.592, allocations: 0 / 421.5 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.592, allocations: 3 kB / 421.5 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.5921, allocations: 3.953 kB / 421.5 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.5922, allocations: 29.38 kB / 421.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.5927, allocations: 321.6 kB / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.5929, allocations: 47.69 kB / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.593, allocations: 24.62 kB / 421.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.5931, allocations: 7.938 kB / 421.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.5931, allocations: 37.56 kB / 422 MB, free: 14.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.5931, allocations: 0 / 422 MB, free: 14.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002728/0.5934, allocations: 67.16 kB / 422 MB, free: 14.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.5934, allocations: 55.41 kB / 422.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.5935, allocations: 96.84 kB / 422.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.5936, allocations: 25.7 kB / 422.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.5937, allocations: 162 kB / 422.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.5937, allocations: 19.05 kB / 422.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.5937, allocations: 4 kB / 422.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5939, allocations: 314.8 kB / 422.7 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.5939, allocations: 14.94 kB / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-05/0.594, allocations: 11.5 kB / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.231e-05/0.5941, allocations: 21.55 kB / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5941, allocations: 0 / 422.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001758/0.5943, allocations: 66.84 kB / 422.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5943, allocations: 7.938 kB / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5943, allocations: 0 / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5943, allocations: 3.984 kB / 422.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.5946, allocations: 27.98 kB / 422.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.5946, allocations: 0 / 422.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5948, allocations: 15.98 kB / 422.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.5948, allocations: 0 / 422.9 MB, free: 13.64 MB / 346.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 8.082e-05/0.5949, allocations: 107.6 kB / 423 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.595, allocations: 15.84 kB / 423 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.5952, allocations: 81.64 kB / 423.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5952, allocations: 0 / 423.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.5953, allocations: 0 / 423.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5953, allocations: 0 / 423.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.5955, allocations: 193.7 kB / 423.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5956, allocations: 384 / 423.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.5958, allocations: 31.97 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5958, allocations: 0 / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.5958, allocations: 3.953 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5959, allocations: 3.938 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5959, allocations: 0 / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.5961, allocations: 169.8 kB / 423.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.5962, allocations: 81.02 kB / 423.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.5962, allocations: 0 / 423.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.5964, allocations: 30.98 kB / 423.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.5965, allocations: 4 kB / 423.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.5965, allocations: 4 kB / 423.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.176e-05/0.5966, allocations: 93.39 kB / 423.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5966, allocations: 4 kB / 423.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.5969, allocations: 11.94 kB / 423.7 MB, free: 12.77 MB / 346.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.000698/0.5976, allocations: 0.7137 MB / 424.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.5978, allocations: 51.36 kB / 424.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5979, allocations: 4 kB / 424.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.598, allocations: 23.88 kB / 424.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.5982, allocations: 7.828 kB / 424.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.5988, allocations: 155.5 kB / 424.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.5992, allocations: 0.6926 MB / 425.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.5993, allocations: 18.88 kB / 425.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5993, allocations: 0 / 425.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.407/3.006, allocations: 1.268 MB / 426.6 MB, free: 9.816 MB / 346.7 MB