Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.778e-05, allocations: 4 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.125, allocations: 50.41 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.5831, allocations: 78.64 MB / 421.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.5834, allocations: 68.52 kB / 421.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01773/0.6011, allocations: 4.092 MB / 425.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6012, allocations: 0 / 425.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.6012, allocations: 4 kB / 425.4 MB, free: 11.69 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000859/0.6021, allocations: 487.8 kB / 425.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.6022, allocations: 8.031 kB / 425.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.235e-05/0.6022, allocations: 56.8 kB / 426 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.6023, allocations: 23.72 kB / 426 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.6027, allocations: 229.8 kB / 426.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.6027, allocations: 14.81 kB / 426.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.6028, allocations: 22.88 kB / 426.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.6033, allocations: 182 kB / 426.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.6033, allocations: 0 / 426.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.6034, allocations: 19.08 kB / 426.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.6034, allocations: 4 kB / 426.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.6038, allocations: 124.1 kB / 426.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.6052, allocations: 0.6305 MB / 427.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.6057, allocations: 169.7 kB / 427.4 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.6059, allocations: 91.3 kB / 427.5 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.6059, allocations: 4 kB / 427.5 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.606, allocations: 38.56 kB / 427.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.236e-06/0.606, allocations: 0 / 427.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002537/0.6086, allocations: 0.9761 MB / 428.5 MB, free: 8.887 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.6086, allocations: 55.62 kB / 428.5 MB, free: 8.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.6089, allocations: 166 kB / 428.7 MB, free: 8.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.609, allocations: 33.45 kB / 428.7 MB, free: 8.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.6091, allocations: 198.3 kB / 428.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.6092, allocations: 113.2 kB / 429 MB, free: 8.355 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.6092, allocations: 11.06 kB / 429 MB, free: 8.352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6094, allocations: 318.4 kB / 429.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.6096, allocations: 63.25 kB / 429.4 MB, free: 7.996 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.6098, allocations: 98.28 kB / 429.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.6101, allocations: 82.88 kB / 429.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6101, allocations: 0 / 429.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007276/0.6108, allocations: 268.6 kB / 429.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6109, allocations: 4 kB / 429.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6109, allocations: 0 / 429.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.6112, allocations: 50.34 kB / 429.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.6117, allocations: 55.16 kB / 430 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.6138, allocations: 1.568 MB / 431.5 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.6141, allocations: 11.16 kB / 431.5 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.6141, allocations: 6.438 kB / 431.5 MB, free: 5.984 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.6143, allocations: 119.4 kB / 431.7 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.6144, allocations: 23.88 kB / 431.7 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.84e-05/0.6145, allocations: 40.41 kB / 431.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.6145, allocations: 7.984 kB / 431.7 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6145, allocations: 0 / 431.7 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6145, allocations: 0 / 431.7 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.6162, allocations: 0.7655 MB / 432.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6163, allocations: 4 kB / 432.5 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.6168, allocations: 55.91 kB / 432.6 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.617, allocations: 34.78 kB / 432.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.6171, allocations: 7.406 kB / 432.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.6186, allocations: 1.383 MB / 434 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.6187, allocations: 8.094 kB / 434 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.6197, allocations: 498 kB / 434.5 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.6198, allocations: 92.92 kB / 434.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.6199, allocations: 11.34 kB / 434.6 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.6201, allocations: 7.25 kB / 434.6 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.6202, allocations: 27.66 kB / 434.6 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.6202, allocations: 11.94 kB / 434.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.6204, allocations: 129.9 kB / 434.8 MB, free: 2.875 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.6204, allocations: 4 kB / 434.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005701/0.621, allocations: 66.06 kB / 434.8 MB, free: 2.816 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * 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: 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.001462/0.6225, allocations: 1.244 MB / 436.1 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008581/0.6234, allocations: 311.7 kB / 436.4 MB, free: 1.371 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6234, allocations: 0 / 436.4 MB, free: 1.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005179/0.6239, allocations: 228.6 kB / 436.6 MB, free: 1.168 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.6245, allocations: 36.61 kB / 436.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.6265, allocations: 0.6885 MB / 437.3 MB, free: 472 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.6269, allocations: 0.7641 MB / 438.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.6271, allocations: 71.16 kB / 438.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of SimCode: time 3.306e-06/0.6271, allocations: 0 / 438.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.685/3.312, allocations: 4.749 MB / 442.9 MB, free: 10.94 MB / 362.7 MB