Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_First",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.244/2.244, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.677e-05, allocations: 2.219 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/0.627, allocations: 72.39 MB / 366.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.6274, allocations: 65.17 kB / 366.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01819/0.6456, allocations: 3.741 MB / 370.5 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6456, allocations: 3.719 kB / 370.5 MB, free: 22.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.6456, allocations: 5.25 kB / 370.5 MB, free: 22.73 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.0008576/0.6465, allocations: 477.1 kB / 371 MB, free: 22.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.6466, allocations: 10.22 kB / 371 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.412e-05/0.6467, allocations: 24.28 kB / 371 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.647, allocations: 228.5 kB / 371.2 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.6471, allocations: 6.688 kB / 371.2 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.6472, allocations: 20.34 kB / 371.2 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000413/0.6476, allocations: 115.6 kB / 371.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.6481, allocations: 150.3 kB / 371.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.6481, allocations: 8.094 kB / 371.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.6482, allocations: 1.25 kB / 371.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.6482, allocations: 4.219 kB / 371.5 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.6496, allocations: 0.5785 MB / 372.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.65, allocations: 159.5 kB / 372.2 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.6502, allocations: 92.39 kB / 372.3 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.6503, allocations: 0 / 372.3 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.6503, allocations: 38.5 kB / 372.4 MB, free: 21.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.985e-06/0.6503, allocations: 0 / 372.4 MB, free: 21.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002466/0.6528, allocations: 0.9055 MB / 373.3 MB, free: 21.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.6529, allocations: 55.22 kB / 373.3 MB, free: 21.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.6531, allocations: 141.4 kB / 373.5 MB, free: 21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.6531, allocations: 25.7 kB / 373.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.6532, allocations: 141 kB / 373.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.6533, allocations: 113.1 kB / 373.7 MB, free: 20.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.6533, allocations: 0 / 373.7 MB, free: 20.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6535, allocations: 337.8 kB / 374.1 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.6537, allocations: 56.25 kB / 374.1 MB, free: 20.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.6539, allocations: 89.56 kB / 374.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.6542, allocations: 72 kB / 374.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.6542, allocations: 0 / 374.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007762/0.655, allocations: 248.4 kB / 374.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.655, allocations: 8.375 kB / 374.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.655, allocations: 1.312 kB / 374.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.6553, allocations: 46.67 kB / 374.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.6559, allocations: 56.56 kB / 374.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.6582, allocations: 1.501 MB / 376.1 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.6586, allocations: 6.781 kB / 376.1 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.6587, allocations: 11.03 kB / 376.2 MB, free: 19.08 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.0001663/0.6588, allocations: 112.7 kB / 376.3 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006905/0.6595, allocations: 231.4 kB / 376.5 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.6596, allocations: 23.39 kB / 376.5 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.6597, allocations: 30.16 kB / 376.5 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6598, allocations: 7.859 kB / 376.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6598, allocations: 2.156 kB / 376.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6598, allocations: 0 / 376.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.6615, allocations: 0.6959 MB / 377.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.6616, allocations: 0 / 377.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.6622, allocations: 61.88 kB / 377.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.6624, allocations: 35.86 kB / 377.3 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.6625, allocations: 6.969 kB / 377.4 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.6642, allocations: 1.322 MB / 378.7 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.6642, allocations: 3.844 kB / 378.7 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.6652, allocations: 469.8 kB / 379.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.6654, allocations: 103 kB / 379.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.6654, allocations: 0 / 379.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.6657, allocations: 5.109 kB / 379.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.6658, allocations: 29.47 kB / 379.3 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.6659, allocations: 3.938 kB / 379.3 MB, free: 16.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.666, allocations: 126 kB / 379.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.666, allocations: 0 / 379.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007072/0.6667, allocations: 58.38 kB / 379.5 MB, free: 16.84 MB / 314.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.001494/0.6683, allocations: 1.222 MB / 380.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.6693, allocations: 295.7 kB / 381 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6693, allocations: 4.062 kB / 381 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000517/0.6699, allocations: 217.9 kB / 381.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.6705, allocations: 28.42 kB / 381.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.6726, allocations: 0.6274 MB / 381.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.6731, allocations: 0.7605 MB / 382.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.6733, allocations: 17.56 kB / 382.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.6735, allocations: 73.98 kB / 382.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6735, allocations: 0 / 382.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05435/0.7279, allocations: 4.078 MB / 386.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002999/0.7282, allocations: 131.5 kB / 386.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.385/4.113, allocations: 0 / 386.9 MB, free: 13.44 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat