Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 270 MB / 282.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.542e-05/4.558e-05, allocations: 11.98 kB / 347.1 MB, free: 3.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4319, allocations: 61.86 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5969, allocations: 90.65 MB / 499.6 MB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5972, allocations: 59.98 kB / 499.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02798/0.6252, allocations: 6.215 MB / 0.494 GB, free: 9.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6253, allocations: 4 kB / 0.494 GB, free: 9.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.6253, allocations: 4 kB / 0.494 GB, free: 9.582 MB / 426.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.0007664/0.6261, allocations: 490.2 kB / 0.4945 GB, free: 9.059 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.6261, allocations: 12.03 kB / 0.4945 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.6263, allocations: 90.95 kB / 0.4946 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.6274, allocations: 67.67 kB / 0.4946 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.6276, allocations: 186.8 kB / 0.4948 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.6276, allocations: 32.73 kB / 0.4948 GB, free: 8.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.6277, allocations: 32 kB / 0.4949 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.6283, allocations: 210.2 kB / 0.4951 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.6283, allocations: 3.938 kB / 0.4951 GB, free: 8.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.6283, allocations: 19.94 kB / 0.4951 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.6284, allocations: 8 kB / 0.4951 GB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.6288, allocations: 145.5 kB / 0.4952 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.6303, allocations: 0.6561 MB / 0.4959 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.6311, allocations: 209.3 kB / 0.4961 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.6313, allocations: 61.33 kB / 0.4961 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.6314, allocations: 4.234 kB / 0.4961 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.6314, allocations: 38.78 kB / 0.4962 GB, free: 7.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.096e-06/0.6314, allocations: 0 / 0.4962 GB, free: 7.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004374/0.6319, allocations: 152.1 kB / 0.4963 GB, free: 7.027 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.6319, allocations: 59.34 kB / 0.4964 GB, free: 6.957 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.6321, allocations: 97 kB / 0.4965 GB, free: 6.855 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.6321, allocations: 29.7 kB / 0.4965 GB, free: 6.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.6322, allocations: 214.8 kB / 0.4967 GB, free: 6.605 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.6324, allocations: 94.64 kB / 0.4968 GB, free: 6.512 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.6324, allocations: 8 kB / 0.4968 GB, free: 6.504 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6325, allocations: 322.8 kB / 0.4971 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.6327, allocations: 32 kB / 0.4971 GB, free: 6.148 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.6328, allocations: 39.52 kB / 0.4972 GB, free: 6.113 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.6329, allocations: 47.95 kB / 0.4972 GB, free: 6.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.633, allocations: 0 / 0.4972 GB, free: 6.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000392/0.6334, allocations: 153.1 kB / 0.4974 GB, free: 5.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6334, allocations: 4 kB / 0.4974 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6334, allocations: 0 / 0.4974 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.6334, allocations: 4 kB / 0.4974 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.6343, allocations: 99.88 kB / 0.4975 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.6343, allocations: 4 kB / 0.4975 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.6345, allocations: 15.84 kB / 0.4975 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.6345, allocations: 8 kB / 0.4975 GB, free: 5.781 MB / 426.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.0001378/0.6347, allocations: 124.9 kB / 0.4976 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.6347, allocations: 11.81 kB / 0.4976 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.103e-05/0.6348, allocations: 29.11 kB / 0.4977 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6349, allocations: 0 / 0.4977 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.6349, allocations: 0 / 0.4977 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6349, allocations: 3.938 kB / 0.4977 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.6355, allocations: 289.3 kB / 0.4979 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6356, allocations: 0 / 0.4979 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009187/0.6365, allocations: 103.9 kB / 0.498 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.6365, allocations: 0 / 0.498 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.6366, allocations: 4 kB / 0.498 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.6366, allocations: 3.984 kB / 0.498 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.6366, allocations: 0 / 0.498 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.6371, allocations: 255.4 kB / 0.4983 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.6372, allocations: 96.94 kB / 0.4984 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.6373, allocations: 8.25 kB / 0.4984 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.6375, allocations: 8 kB / 0.4984 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.6376, allocations: 19.97 kB / 0.4984 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.6376, allocations: 4 kB / 0.4984 GB, free: 4.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.624e-05/0.6377, allocations: 83.28 kB / 0.4985 GB, free: 4.664 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6377, allocations: 0 / 0.4985 GB, free: 4.664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006454/0.6384, allocations: 59.69 kB / 0.4985 GB, free: 4.605 MB / 426.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.001168/0.6396, allocations: 0.8633 MB / 0.4994 GB, free: 3.715 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004274/0.64, allocations: 116 kB / 0.4995 GB, free: 3.602 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.64, allocations: 0 / 0.4995 GB, free: 3.602 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.6403, allocations: 71.62 kB / 0.4996 GB, free: 3.535 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.6406, allocations: 4 kB / 0.4996 GB, free: 3.531 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.6419, allocations: 369.9 kB / 0.4999 GB, free: 3.129 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.6424, allocations: 0.748 MB / 0.5007 GB, free: 2.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.6427, allocations: 63.42 kB / 0.5007 GB, free: 2.289 MB / 426.7 MB Notification: Performance of SimCode: time 3.316e-06/0.6427, allocations: 0 / 0.5007 GB, free: 2.289 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.423/3.066, allocations: 2.539 MB / 0.5032 GB, free: 15.75 MB / 442.7 MB