Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.148e-05, allocations: 0 / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 50.41 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4834/0.6007, allocations: 78.45 MB / 421.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.6011, allocations: 69.97 kB / 421.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01473/0.6159, allocations: 2.673 MB / 423.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.6159, allocations: 0 / 423.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.6159, allocations: 6.844 kB / 423.8 MB, free: 12.98 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008317/0.6168, allocations: 417.8 kB / 424.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.6169, allocations: 12.22 kB / 424.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.746e-05/0.617, allocations: 50.11 kB / 424.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.6171, allocations: 15.81 kB / 424.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.6174, allocations: 190.4 kB / 424.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.6174, allocations: 11.94 kB / 424.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.6175, allocations: 15.88 kB / 424.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.618, allocations: 129.9 kB / 424.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.618, allocations: 0 / 424.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.6181, allocations: 14.45 kB / 424.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.6181, allocations: 4 kB / 424.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.6185, allocations: 79.55 kB / 424.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.62, allocations: 0.5385 MB / 425.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.6203, allocations: 71.81 kB / 425.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.6205, allocations: 31.8 kB / 425.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.6205, allocations: 4 kB / 425.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.6206, allocations: 30.56 kB / 425.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.504e-06/0.6206, allocations: 0 / 425.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001486/0.6221, allocations: 0.5508 MB / 426 MB, free: 10.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.6222, allocations: 55.41 kB / 426 MB, free: 10.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.6223, allocations: 121.7 kB / 426.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.6224, allocations: 29.64 kB / 426.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.6226, allocations: 203.9 kB / 426.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/0.6227, allocations: 37.7 kB / 426.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.6227, allocations: 0 / 426.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.6229, allocations: 318.3 kB / 426.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.623, allocations: 33.31 kB / 426.8 MB, free: 10.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.6232, allocations: 79.19 kB / 426.8 MB, free: 9.941 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.6234, allocations: 36.48 kB / 426.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6234, allocations: 4 kB / 426.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000467/0.6239, allocations: 140.7 kB / 427 MB, free: 9.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.6239, allocations: 4 kB / 427 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.624, allocations: 4 kB / 427 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.624, allocations: 4 kB / 427 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.6244, allocations: 31.98 kB / 427.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.6245, allocations: 7.938 kB / 427.1 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.6247, allocations: 15.73 kB / 427.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.6247, allocations: 4.562 kB / 427.1 MB, free: 9.727 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001207/0.6248, allocations: 119.5 kB / 427.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.6249, allocations: 7.906 kB / 427.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.625, allocations: 15.19 kB / 427.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.625, allocations: 0 / 427.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.625, allocations: 0 / 427.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.625, allocations: 3.938 kB / 427.2 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009997/0.6261, allocations: 447.6 kB / 427.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6261, allocations: 0 / 427.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.6264, allocations: 27.92 kB / 427.7 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.6265, allocations: 0 / 427.7 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.6265, allocations: 7.375 kB / 427.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6265, allocations: 0 / 427.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6265, allocations: 4.062 kB / 427.7 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.627, allocations: 251.3 kB / 427.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.6271, allocations: 88.98 kB / 428 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.6272, allocations: 11.95 kB / 428 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.6274, allocations: 11.31 kB / 428.1 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.6275, allocations: 7.984 kB / 428.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.6275, allocations: 4 kB / 428.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.6276, allocations: 99.59 kB / 428.2 MB, free: 8.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6276, allocations: 0 / 428.2 MB, free: 8.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006163/0.6283, allocations: 27.44 kB / 428.2 MB, free: 8.605 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009705/0.6292, allocations: 0.9258 MB / 429.1 MB, free: 7.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.6296, allocations: 75.86 kB / 429.2 MB, free: 7.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6296, allocations: 8.062 kB / 429.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.6298, allocations: 32.75 kB / 429.2 MB, free: 7.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.6301, allocations: 11.25 kB / 429.2 MB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.6316, allocations: 380.3 kB / 429.6 MB, free: 7.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.6321, allocations: 0.7199 MB / 430.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.6322, allocations: 39.73 kB / 430.4 MB, free: 6.414 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6323, allocations: 480 / 430.4 MB, free: 6.414 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.38/3.012, allocations: 2.041 MB / 432.4 MB, free: 4.402 MB / 346.7 MB