Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SinCosEncoder,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_SinCosEncoder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.944e-05, allocations: 8 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 50.41 MB / 342.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5766, allocations: 78.67 MB / 421.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/0.5771, allocations: 69.58 kB / 421.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02402/0.6011, allocations: 4.379 MB / 425.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6012, allocations: 0 / 425.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.6012, allocations: 11.94 kB / 425.8 MB, free: 11.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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001018/0.6022, allocations: 0.5006 MB / 426.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.6023, allocations: 12.03 kB / 426.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.994e-05/0.6024, allocations: 55.98 kB / 426.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.6025, allocations: 27.72 kB / 426.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.6029, allocations: 254.9 kB / 426.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.603, allocations: 11.44 kB / 426.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.603, allocations: 24.69 kB / 426.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.6036, allocations: 233.2 kB / 426.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.6036, allocations: 0 / 426.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.6036, allocations: 10.38 kB / 426.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.6037, allocations: 16.42 kB / 426.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.6042, allocations: 159.1 kB / 427 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.606, allocations: 0.8283 MB / 427.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.6064, allocations: 164.9 kB / 428 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.6067, allocations: 85.16 kB / 428.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.6068, allocations: 88.41 kB / 428.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.6068, allocations: 42.62 kB / 428.2 MB, free: 9.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.344e-06/0.6068, allocations: 0 / 428.2 MB, free: 9.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.000549/0.6074, allocations: 200.3 kB / 428.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.6075, allocations: 59.34 kB / 428.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.6077, allocations: 191.5 kB / 428.7 MB, free: 8.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.6078, allocations: 29.64 kB / 428.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.6079, allocations: 200.8 kB / 428.9 MB, free: 8.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.608, allocations: 82.14 kB / 429 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.608, allocations: 3.125 kB / 429 MB, free: 8.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6082, allocations: 325.8 kB / 429.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.6084, allocations: 71.27 kB / 429.4 MB, free: 8.336 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.6086, allocations: 93.19 kB / 429.5 MB, free: 8.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.6088, allocations: 79.83 kB / 429.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6089, allocations: 0 / 429.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005491/0.6094, allocations: 224.7 kB / 429.8 MB, free: 8.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.6095, allocations: 8.062 kB / 429.8 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.6095, allocations: 7.953 kB / 429.8 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6095, allocations: 0 / 429.8 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.61, allocations: 59.89 kB / 429.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.6101, allocations: 4 kB / 429.8 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.6103, allocations: 30.92 kB / 429.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.6104, allocations: 15.36 kB / 429.9 MB, free: 7.914 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001085/0.6105, allocations: 116.4 kB / 430 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.6106, allocations: 19.81 kB / 430 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/0.6112, allocations: 242.6 kB / 430.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6113, allocations: 7.953 kB / 430.3 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.6113, allocations: 4.062 kB / 430.3 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.6113, allocations: 3.984 kB / 430.3 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.6125, allocations: 0.6213 MB / 430.9 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6125, allocations: 4 kB / 430.9 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.6131, allocations: 49.84 kB / 431 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.6131, allocations: 7.953 kB / 431 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.6131, allocations: 3.5 kB / 431 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.6132, allocations: 3.984 kB / 431 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6132, allocations: 4 kB / 431 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.614, allocations: 421.5 kB / 431.4 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.6141, allocations: 119.5 kB / 431.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.6142, allocations: 15.64 kB / 431.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.6145, allocations: 15.8 kB / 431.5 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.6146, allocations: 11.97 kB / 431.5 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.6146, allocations: 11.62 kB / 431.6 MB, free: 6.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.6148, allocations: 152.6 kB / 431.7 MB, free: 6.305 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6148, allocations: 0 / 431.7 MB, free: 6.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004571/0.6153, allocations: 62.03 kB / 431.8 MB, free: 6.254 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi,integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.001199/0.6165, allocations: 0.9728 MB / 432.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004863/0.617, allocations: 181.3 kB / 432.9 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.617, allocations: 0 / 432.9 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.6172, allocations: 100.7 kB / 433 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.6176, allocations: 31.03 kB / 433 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.6194, allocations: 0.6675 MB / 433.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.6198, allocations: 0.7745 MB / 434.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.62, allocations: 83.47 kB / 434.6 MB, free: 3.633 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.62, allocations: 0 / 434.6 MB, free: 3.633 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.439/3.059, allocations: 3.724 MB / 438.3 MB, free: 15.94 MB / 362.7 MB