Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.855e-05, allocations: 8 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.09383, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4182/0.5121, allocations: 73.07 MB / 373 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5125, allocations: 73.67 kB / 373.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01569/0.5282, allocations: 3.775 MB / 376.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5282, allocations: 0 / 376.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.5283, allocations: 4.562 kB / 376.9 MB, free: 11.88 MB / 314.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.0007515/0.529, allocations: 469.2 kB / 377.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5291, allocations: 13.16 kB / 377.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.522e-05/0.5292, allocations: 53.61 kB / 377.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.5292, allocations: 29.17 kB / 377.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.5296, allocations: 236.6 kB / 377.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.5296, allocations: 16.08 kB / 377.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.5297, allocations: 25.72 kB / 377.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.5302, allocations: 179.2 kB / 377.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5302, allocations: 1.031 kB / 377.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.5302, allocations: 8.25 kB / 377.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.5303, allocations: 5.5 kB / 377.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.5306, allocations: 124.7 kB / 378 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.5319, allocations: 0.6265 MB / 378.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.5323, allocations: 167.8 kB / 378.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.5326, allocations: 91.17 kB / 378.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.5326, allocations: 8.344 kB / 378.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5327, allocations: 34.11 kB / 378.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.026e-06/0.5327, allocations: 0 / 378.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002364/0.5351, allocations: 0.9911 MB / 379.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.5351, allocations: 54.91 kB / 380 MB, free: 10.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.5353, allocations: 159 kB / 380.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.5354, allocations: 30.3 kB / 380.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.5355, allocations: 141.9 kB / 380.3 MB, free: 9.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.452e-05/0.5356, allocations: 115.5 kB / 380.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.5356, allocations: 5.281 kB / 380.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.5357, allocations: 333.3 kB / 380.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.5359, allocations: 62.38 kB / 380.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.5361, allocations: 92.62 kB / 380.9 MB, free: 9.527 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.5363, allocations: 82.05 kB / 381 MB, free: 9.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5364, allocations: 1.203 kB / 381 MB, free: 9.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000707/0.5371, allocations: 285.8 kB / 381.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5371, allocations: 4.594 kB / 381.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5371, allocations: 1.406 kB / 381.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.5374, allocations: 40.73 kB / 381.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.5379, allocations: 65.09 kB / 381.4 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.5395, allocations: 1.565 MB / 382.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.5399, allocations: 8.719 kB / 383 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.5399, allocations: 13.58 kB / 383 MB, free: 8.074 MB / 314.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.000102/0.54, allocations: 115.3 kB / 383.1 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.5401, allocations: 22.83 kB / 383.1 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.5402, allocations: 31.61 kB / 383.1 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.5402, allocations: 11.47 kB / 383.1 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5402, allocations: 6.422 kB / 383.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5402, allocations: 1.547 kB / 383.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.5417, allocations: 0.7604 MB / 383.9 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.5418, allocations: 2.5 kB / 383.9 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.5423, allocations: 56.91 kB / 384 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.5425, allocations: 36.02 kB / 384 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.5426, allocations: 6.125 kB / 384 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.544, allocations: 1.374 MB / 385.4 MB, free: 22.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5441, allocations: 5.266 kB / 385.4 MB, free: 22.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/0.5451, allocations: 0.4978 MB / 385.9 MB, free: 22.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.5452, allocations: 100.4 kB / 386 MB, free: 21.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.5453, allocations: 6.375 kB / 386 MB, free: 21.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.5455, allocations: 10.5 kB / 386 MB, free: 21.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.5456, allocations: 22.39 kB / 386 MB, free: 21.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.5456, allocations: 9.969 kB / 386 MB, free: 21.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.5458, allocations: 135.3 kB / 386.2 MB, free: 21.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5458, allocations: 0 / 386.2 MB, free: 21.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005958/0.5464, allocations: 70.08 kB / 386.2 MB, free: 21.82 MB / 330.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.001409/0.5478, allocations: 1.243 MB / 387.5 MB, free: 20.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.5487, allocations: 313.4 kB / 387.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5488, allocations: 0 / 387.8 MB, free: 20.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.5492, allocations: 222.6 kB / 388 MB, free: 20.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.5498, allocations: 36.06 kB / 388 MB, free: 20.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.5518, allocations: 0.6501 MB / 388.7 MB, free: 20.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.5522, allocations: 0.7618 MB / 389.5 MB, free: 19.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.5524, allocations: 24.61 kB / 389.5 MB, free: 19.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.5526, allocations: 73.94 kB / 389.5 MB, free: 19.5 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5526, allocations: 1.375 kB / 389.5 MB, free: 19.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.5793, allocations: 4.648 MB / 394.2 MB, free: 19.02 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.5796, allocations: 164.3 kB / 394.4 MB, free: 18.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.125, allocations: 0 / 394.4 MB, free: 18.79 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat