Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.195/2.195, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.79e-05/4.806e-05, allocations: 3.984 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1505, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.467/0.6176, allocations: 82.49 MB / 425.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.6179, allocations: 71.78 kB / 425.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04923/0.6671, allocations: 11.94 MB / 437.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.6672, allocations: 0 / 437.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.07e-05/0.6673, allocations: 27.94 kB / 437.7 MB, free: 1.496 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002235/0.6695, allocations: 0.8324 MB / 438.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.6696, allocations: 8.031 kB / 438.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003728/0.67, allocations: 131.8 kB / 438.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.6702, allocations: 86.97 kB / 438.7 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.6714, allocations: 0.5033 MB / 439.2 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.6715, allocations: 64.5 kB / 439.3 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.6718, allocations: 92.02 kB / 439.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.6742, allocations: 0.7564 MB / 440.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-05/0.6743, allocations: 4 kB / 440.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6744, allocations: 36.44 kB / 440.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.6744, allocations: 23.98 kB / 440.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.6761, allocations: 450.8 kB / 440.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/0.6819, allocations: 2.9 MB / 443.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007642/0.6827, allocations: 206.2 kB / 443.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.6829, allocations: 96.53 kB / 443.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.6832, allocations: 251.8 kB / 444.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.6833, allocations: 33.19 kB / 444.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.296e-06/0.6833, allocations: 0 / 444.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.003058/0.6864, allocations: 1.156 MB / 445.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.6865, allocations: 59.41 kB / 445.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.6869, allocations: 271.8 kB / 445.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.6869, allocations: 29.58 kB / 445.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.6872, allocations: 396.2 kB / 446 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.6874, allocations: 137.3 kB / 446.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.6874, allocations: 7.438 kB / 446.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6876, allocations: 348.9 kB / 446.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.6879, allocations: 97.75 kB / 446.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.6883, allocations: 242.1 kB / 446.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.6887, allocations: 143.2 kB / 447 MB, free: 9.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6887, allocations: 3.938 kB / 447 MB, free: 9.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001052/0.6898, allocations: 436.8 kB / 447.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.6898, allocations: 8 kB / 447.4 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6898, allocations: 4.594 kB / 447.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.6901, allocations: 36.72 kB / 447.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/0.6908, allocations: 111.7 kB / 447.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004796/0.6913, allocations: 0.5468 MB / 448.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.6917, allocations: 24.92 kB / 448.1 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.6917, allocations: 23.56 kB / 448.2 MB, free: 8.355 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.6919, allocations: 133.8 kB / 448.3 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/0.692, allocations: 35.62 kB / 448.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008482/0.6928, allocations: 313 kB / 448.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6929, allocations: 4 kB / 448.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6929, allocations: 0 / 448.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.6929, allocations: 3.984 kB / 448.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.695, allocations: 0.9988 MB / 449.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.6951, allocations: 48 / 449.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007804/0.6959, allocations: 90.83 kB / 449.7 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.6961, allocations: 32.56 kB / 449.8 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.6962, allocations: 10.81 kB / 449.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004848/0.6966, allocations: 0.543 MB / 450.3 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6967, allocations: 3.938 kB / 450.3 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.6979, allocations: 0.6001 MB / 450.9 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.698, allocations: 108.7 kB / 451 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.6981, allocations: 11.92 kB / 451 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.6984, allocations: 10.94 kB / 451 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.6985, allocations: 23.28 kB / 451.1 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.6985, allocations: 8 kB / 451.1 MB, free: 5.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003351/0.6989, allocations: 211.8 kB / 451.3 MB, free: 5.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6989, allocations: 4 kB / 451.3 MB, free: 5.547 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000762/0.6997, allocations: 123.6 kB / 451.4 MB, free: 5.438 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001739/0.7014, allocations: 1.496 MB / 452.9 MB, free: 4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008664/0.7023, allocations: 276.9 kB / 453.2 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7023, allocations: 0 / 453.2 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.7028, allocations: 133.8 kB / 453.3 MB, free: 3.672 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.7034, allocations: 50.69 kB / 453.3 MB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.7076, allocations: 1.489 MB / 454.8 MB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.7083, allocations: 0.9404 MB / 455.8 MB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003079/0.7086, allocations: 43.34 kB / 455.8 MB, free: 1.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.7091, allocations: 243.3 kB / 456.1 MB, free: 0.832 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7091, allocations: 4 kB / 456.1 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/0.7599, allocations: 8.073 MB / 464.1 MB, free: 8.875 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/0.7603, allocations: 192.8 kB / 464.3 MB, free: 8.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/3.67, allocations: 0 / 464.3 MB, free: 8.645 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat