Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.239/2.239, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.873e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5349, allocations: 77.49 MB / 394.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.5352, allocations: 68.09 kB / 394.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01789/0.5531, allocations: 3.738 MB / 398.3 MB, free: 7.004 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5532, allocations: 0 / 398.3 MB, free: 7.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.5532, allocations: 4 kB / 398.3 MB, free: 7 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.0009738/0.5542, allocations: 477.1 kB / 398.8 MB, free: 6.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/0.5543, allocations: 8.031 kB / 398.8 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.5544, allocations: 56.55 kB / 398.8 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.5545, allocations: 23.72 kB / 398.9 MB, free: 6.418 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.555, allocations: 223.9 kB / 399.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.555, allocations: 20.94 kB / 399.1 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.5551, allocations: 22.09 kB / 399.1 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.5556, allocations: 199.2 kB / 399.3 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.5557, allocations: 7.938 kB / 399.3 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.5557, allocations: 6.688 kB / 399.3 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.5557, allocations: 8 kB / 399.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.5562, allocations: 108.2 kB / 399.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.5591, allocations: 0.7081 MB / 400.2 MB, free: 5.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.5598, allocations: 133.1 kB / 400.3 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.5601, allocations: 67.61 kB / 400.4 MB, free: 5.109 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.5602, allocations: 4 kB / 400.4 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/0.5603, allocations: 34.56 kB / 400.4 MB, free: 5.062 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 6.222e-06/0.5603, allocations: 0 / 400.4 MB, free: 5.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.003963/0.5643, allocations: 0.8074 MB / 401.2 MB, free: 4.285 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.5644, allocations: 59.41 kB / 401.3 MB, free: 4.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.5649, allocations: 153.3 kB / 401.4 MB, free: 4.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.659e-05/0.565, allocations: 29.64 kB / 401.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.5652, allocations: 139.1 kB / 401.6 MB, free: 3.914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.5654, allocations: 90.55 kB / 401.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.5655, allocations: 4.594 kB / 401.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002626/0.5657, allocations: 330.6 kB / 402 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.5661, allocations: 50.81 kB / 402 MB, free: 3.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.5665, allocations: 99.27 kB / 402.1 MB, free: 3.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.5669, allocations: 71 kB / 402.2 MB, free: 3.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.567, allocations: 3.938 kB / 402.2 MB, free: 3.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001058/0.5681, allocations: 228.2 kB / 402.4 MB, free: 3.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.5681, allocations: 4 kB / 402.4 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.5682, allocations: 7.938 kB / 402.4 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003604/0.5685, allocations: 36.64 kB / 402.5 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.5693, allocations: 51.91 kB / 402.5 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.5723, allocations: 1.384 MB / 403.9 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.5726, allocations: 7.375 kB / 403.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.5727, allocations: 11.38 kB / 403.9 MB, free: 1.605 MB / 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.0001411/0.5728, allocations: 123.5 kB / 404.1 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.5729, allocations: 15.81 kB / 404.1 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.814e-05/0.573, allocations: 27.77 kB / 404.1 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.573, allocations: 0 / 404.1 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.573, allocations: 4 kB / 404.1 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5731, allocations: 3.953 kB / 404.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.5745, allocations: 0.6382 MB / 404.7 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.5746, allocations: 0 / 404.7 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/0.5751, allocations: 50.59 kB / 404.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.5753, allocations: 30.72 kB / 404.8 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.5754, allocations: 15.48 kB / 404.8 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.5771, allocations: 1.366 MB / 406.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5771, allocations: 4.062 kB / 406.2 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/0.578, allocations: 412.2 kB / 406.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.5782, allocations: 93.16 kB / 406.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.5782, allocations: 11.44 kB / 406.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.5785, allocations: 7.5 kB / 406.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.5786, allocations: 27.38 kB / 406.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.5786, allocations: 4 kB / 406.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001855/0.5788, allocations: 129.5 kB / 406.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5788, allocations: 0 / 406.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005301/0.5794, allocations: 62.19 kB / 406.9 MB, free: 14.65 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.001317/0.5807, allocations: 1.075 MB / 408 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007839/0.5816, allocations: 268.8 kB / 408.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5816, allocations: 0 / 408.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.582, allocations: 194.8 kB / 408.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.5826, allocations: 45.55 kB / 408.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.5846, allocations: 0.5974 MB / 409.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.5851, allocations: 0.7561 MB / 409.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000155/0.5853, allocations: 18.06 kB / 409.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.5854, allocations: 63.48 kB / 409.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of SimCode: time 1.512e-06/0.5854, allocations: 0 / 409.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.6214, allocations: 4.164 MB / 414.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003314/0.6218, allocations: 180.8 kB / 414.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.323, allocations: 0 / 414.3 MB, free: 7.426 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat