Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.631e-05, allocations: 6.031 kB / 292.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 50.41 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.5912, allocations: 78.61 MB / 421.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/0.5917, allocations: 70.83 kB / 421.3 MB, free: 15.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02257/0.6143, allocations: 3.836 MB / 425.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.6143, allocations: 0 / 425.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.025e-05/0.6144, allocations: 4 kB / 425.1 MB, free: 12.29 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001212/0.6156, allocations: 473.4 kB / 425.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/0.6157, allocations: 8.031 kB / 425.6 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.6158, allocations: 53.05 kB / 425.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.616, allocations: 27.72 kB / 425.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.6165, allocations: 219 kB / 425.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.6166, allocations: 16.31 kB / 425.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.6167, allocations: 26.58 kB / 425.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.6174, allocations: 201.2 kB / 426.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.6175, allocations: 4 kB / 426.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.6175, allocations: 10.89 kB / 426.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.6176, allocations: 7.984 kB / 426.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.6181, allocations: 107.7 kB / 426.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.6202, allocations: 0.7015 MB / 427 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.6207, allocations: 140.6 kB / 427.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.621, allocations: 62.61 kB / 427.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.6211, allocations: 8 kB / 427.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.6211, allocations: 34.5 kB / 427.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 4.719e-06/0.6211, allocations: 3.938 kB / 427.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.00289/0.624, allocations: 0.8071 MB / 428 MB, free: 9.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.6242, allocations: 55.62 kB / 428.1 MB, free: 9.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.6245, allocations: 150 kB / 428.2 MB, free: 9.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.6245, allocations: 37.14 kB / 428.3 MB, free: 9.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.6247, allocations: 211.8 kB / 428.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.6248, allocations: 84.56 kB / 428.6 MB, free: 9.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.6249, allocations: 3.438 kB / 428.6 MB, free: 9.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6251, allocations: 322.3 kB / 428.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.6253, allocations: 49.38 kB / 428.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.6256, allocations: 92.05 kB / 429 MB, free: 8.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.6259, allocations: 63.56 kB / 429.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6259, allocations: 0 / 429.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009495/0.6269, allocations: 231.6 kB / 429.3 MB, free: 8.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.627, allocations: 4 kB / 429.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.627, allocations: 0 / 429.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.6273, allocations: 36.7 kB / 429.3 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.6279, allocations: 47.92 kB / 429.4 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.6303, allocations: 1.371 MB / 430.8 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.6307, allocations: 18.52 kB / 430.8 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.6308, allocations: 4 kB / 430.8 MB, free: 6.871 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.631, allocations: 127.9 kB / 430.9 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.6311, allocations: 15.81 kB / 430.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.6312, allocations: 26.91 kB / 430.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.6312, allocations: 7.984 kB / 431 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6313, allocations: 0 / 431 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6313, allocations: 0 / 431 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.6333, allocations: 0.6384 MB / 431.6 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.6334, allocations: 3.953 kB / 431.6 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.634, allocations: 47.91 kB / 431.6 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/0.6343, allocations: 31.59 kB / 431.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.6344, allocations: 6.562 kB / 431.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.6367, allocations: 1.383 MB / 433.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6367, allocations: 4.031 kB / 433.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.638, allocations: 405.8 kB / 433.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.6382, allocations: 100.9 kB / 433.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.6383, allocations: 7.5 kB / 433.6 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.6386, allocations: 7.953 kB / 433.6 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6388, allocations: 19.22 kB / 433.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.6388, allocations: 11.31 kB / 433.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002283/0.639, allocations: 125.2 kB / 433.7 MB, free: 3.961 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6391, allocations: 0 / 433.7 MB, free: 3.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008204/0.6399, allocations: 62.56 kB / 433.8 MB, free: 3.906 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001892/0.6418, allocations: 1.087 MB / 434.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.6429, allocations: 266.5 kB / 435.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.643, allocations: 0 / 435.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006473/0.6436, allocations: 195.9 kB / 435.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.6444, allocations: 46.56 kB / 435.4 MB, free: 2.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.6472, allocations: 0.6193 MB / 436 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.6479, allocations: 0.756 MB / 436.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.6481, allocations: 68.11 kB / 436.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of SimCode: time 1.873e-06/0.6481, allocations: 0 / 436.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.792/3.44, allocations: 4.306 MB / 441.1 MB, free: 12.71 MB / 362.7 MB