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 1.895/1.895, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.696e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09751, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3967/0.4942, allocations: 73.06 MB / 373 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4945, allocations: 68.17 kB / 373.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.51, allocations: 3.613 MB / 376.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5101, allocations: 0 / 376.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.5101, allocations: 4.031 kB / 376.7 MB, free: 12.19 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.0007776/0.5109, allocations: 471 kB / 377.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.511, allocations: 10.14 kB / 377.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/0.5111, allocations: 55.36 kB / 377.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.5112, allocations: 27.95 kB / 377.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.5115, allocations: 228.1 kB / 377.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.5116, allocations: 14.34 kB / 377.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.5116, allocations: 21.31 kB / 377.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.5121, allocations: 202.3 kB / 377.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.5122, allocations: 7.641 kB / 377.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.5122, allocations: 7.438 kB / 377.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5122, allocations: 4.906 kB / 377.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.5126, allocations: 108.1 kB / 377.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.514, allocations: 0.7041 MB / 378.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.5144, allocations: 141 kB / 378.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.5145, allocations: 65.55 kB / 378.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.5146, allocations: 15.17 kB / 378.8 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.5146, allocations: 37 kB / 378.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.936e-06/0.5146, allocations: 0 / 378.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001897/0.5166, allocations: 0.8025 MB / 379.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.5166, allocations: 57.59 kB / 379.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.5168, allocations: 155.6 kB / 379.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.5169, allocations: 26.95 kB / 379.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.5169, allocations: 142.7 kB / 380 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.517, allocations: 89.73 kB / 380.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.517, allocations: 5.281 kB / 380.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.5171, allocations: 333.3 kB / 380.4 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.5173, allocations: 49.53 kB / 380.5 MB, free: 9.793 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.5175, allocations: 94.73 kB / 380.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.5176, allocations: 66.03 kB / 380.6 MB, free: 9.738 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5177, allocations: 0.8438 kB / 380.6 MB, free: 9.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005963/0.5183, allocations: 229.5 kB / 380.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5183, allocations: 5.531 kB / 380.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5183, allocations: 2.219 kB / 380.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/0.5186, allocations: 38.98 kB / 380.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.519, allocations: 50.09 kB / 380.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.5203, allocations: 1.374 MB / 382.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.5206, allocations: 8.969 kB / 382.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.5206, allocations: 15.28 kB / 382.3 MB, free: 8.383 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 9.652e-05/0.5207, allocations: 118.6 kB / 382.4 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.5208, allocations: 16.72 kB / 382.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.109e-05/0.5209, allocations: 31.14 kB / 382.5 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5209, allocations: 2.578 kB / 382.5 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5209, allocations: 5.188 kB / 382.5 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5209, allocations: 5.531 kB / 382.5 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.5222, allocations: 0.6443 MB / 383.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5222, allocations: 0 / 383.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.5226, allocations: 45.16 kB / 383.2 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/0.5228, allocations: 38.86 kB / 383.2 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5229, allocations: 5.844 kB / 383.2 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.5242, allocations: 1.373 MB / 384.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5242, allocations: 1.062 kB / 384.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000758/0.525, allocations: 411.9 kB / 385 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.5251, allocations: 99.52 kB / 385.1 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.5251, allocations: 4.938 kB / 385.1 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.5253, allocations: 9.484 kB / 385.1 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.5254, allocations: 19.23 kB / 385.1 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.5254, allocations: 7.719 kB / 385.1 MB, free: 6.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.5256, allocations: 121.5 kB / 385.3 MB, free: 6.184 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5256, allocations: 1.094 kB / 385.3 MB, free: 6.184 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005237/0.5261, allocations: 60.72 kB / 385.3 MB, free: 6.184 MB / 314.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.001356/0.5275, allocations: 1.091 MB / 386.4 MB, free: 21.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007429/0.5283, allocations: 265.6 kB / 386.7 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5283, allocations: 0 / 386.7 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.5288, allocations: 197 kB / 386.9 MB, free: 21.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.5293, allocations: 40.53 kB / 386.9 MB, free: 21.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.531, allocations: 0.5954 MB / 387.5 MB, free: 20.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.5315, allocations: 0.7527 MB / 388.3 MB, free: 19.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.5316, allocations: 17.56 kB / 388.3 MB, free: 19.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.5318, allocations: 60.81 kB / 388.3 MB, free: 19.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5318, allocations: 5.312 kB / 388.3 MB, free: 19.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.5597, allocations: 4.182 MB / 392.5 MB, free: 19.51 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/0.56, allocations: 172.9 kB / 392.7 MB, free: 19.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.244, allocations: 0 / 392.7 MB, free: 19.29 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