Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.087e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.4405, allocations: 72.39 MB / 366.6 MB, free: 9.461 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.4408, allocations: 71.95 kB / 366.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.4569, allocations: 3.573 MB / 370.3 MB, free: 5.805 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4569, allocations: 0 / 370.3 MB, free: 5.805 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.457, allocations: 11.94 kB / 370.3 MB, free: 5.793 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008666/0.4579, allocations: 462.3 kB / 370.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.4579, allocations: 8.031 kB / 370.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.494e-05/0.458, allocations: 31.72 kB / 370.8 MB, free: 5.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.4584, allocations: 231.3 kB / 371 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.4585, allocations: 8.219 kB / 371 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.4586, allocations: 19.94 kB / 371 MB, free: 4.961 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000326/0.4589, allocations: 100.8 kB / 371.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.4593, allocations: 169 kB / 371.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.4594, allocations: 11.89 kB / 371.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.4594, allocations: 0 / 371.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.4594, allocations: 4 kB / 371.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.461, allocations: 0.6505 MB / 371.9 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.4614, allocations: 134.5 kB / 372.1 MB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.4615, allocations: 56.86 kB / 372.1 MB, free: 3.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.4616, allocations: 7.984 kB / 372.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4616, allocations: 34.86 kB / 372.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.956e-06/0.4616, allocations: 0 / 372.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001978/0.4636, allocations: 0.7557 MB / 372.9 MB, free: 2.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.4637, allocations: 55.41 kB / 373 MB, free: 2.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.4639, allocations: 141.5 kB / 373.1 MB, free: 2.668 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.464, allocations: 25.7 kB / 373.1 MB, free: 2.637 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4641, allocations: 148.3 kB / 373.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.4642, allocations: 78.75 kB / 373.4 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.4643, allocations: 0 / 373.4 MB, free: 2.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4644, allocations: 339.4 kB / 373.7 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.4646, allocations: 49.59 kB / 373.7 MB, free: 2.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.4648, allocations: 88.2 kB / 373.8 MB, free: 1.922 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.465, allocations: 55.92 kB / 373.9 MB, free: 1.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.465, allocations: 4 kB / 373.9 MB, free: 1.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006253/0.4656, allocations: 210.1 kB / 374.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.4657, allocations: 4 kB / 374.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4657, allocations: 3.938 kB / 374.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.466, allocations: 40.83 kB / 374.1 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.4664, allocations: 43.98 kB / 374.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.4681, allocations: 1.327 MB / 375.5 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.4684, allocations: 4.094 kB / 375.5 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.4685, allocations: 12 kB / 375.5 MB, free: 100 kB / 314.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.0001449/0.4686, allocations: 108.7 kB / 375.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005291/0.4692, allocations: 182.1 kB / 375.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.4693, allocations: 19.72 kB / 375.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.4694, allocations: 25.91 kB / 375.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4694, allocations: 7.938 kB / 375.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4694, allocations: 144 / 375.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4694, allocations: 11.97 kB / 375.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.4707, allocations: 0.5833 MB / 376.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4708, allocations: 0 / 376.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.4712, allocations: 51.97 kB / 376.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/0.4714, allocations: 32.84 kB / 376.5 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.4715, allocations: 7.938 kB / 376.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.4731, allocations: 1.32 MB / 377.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4731, allocations: 0 / 377.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/0.474, allocations: 385.7 kB / 378.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.329e-05/0.4741, allocations: 92.92 kB / 378.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.4741, allocations: 4 kB / 378.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.4744, allocations: 4 kB / 378.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.4745, allocations: 19.91 kB / 378.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.4745, allocations: 11.95 kB / 378.4 MB, free: 13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.4746, allocations: 119.3 kB / 378.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-07/0.4747, allocations: 0 / 378.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005288/0.4752, allocations: 48 kB / 378.5 MB, free: 12.83 MB / 330.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.00128/0.4765, allocations: 1.059 MB / 379.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007239/0.4773, allocations: 258.4 kB / 379.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4773, allocations: 0 / 379.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.4777, allocations: 197.9 kB / 380 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.4783, allocations: 28.3 kB / 380.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.4802, allocations: 0.588 MB / 380.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.4807, allocations: 0.748 MB / 381.4 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.4809, allocations: 22.08 kB / 381.4 MB, free: 9.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.481, allocations: 59.41 kB / 381.5 MB, free: 9.758 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.481, allocations: 0 / 381.5 MB, free: 9.758 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.5273, allocations: 3.719 MB / 385.2 MB, free: 6.059 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.5276, allocations: 144.1 kB / 385.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.032, allocations: 0 / 385.3 MB, free: 5.863 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat