Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.394/2.394, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.145e-05/4.159e-05, allocations: 3.375 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.534/0.6526, allocations: 72.39 MB / 366.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.653, allocations: 70.44 kB / 366.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01714/0.6701, allocations: 3.58 MB / 370.3 MB, free: 22.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.6702, allocations: 0 / 370.3 MB, free: 22.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.835e-05/0.6702, allocations: 5 kB / 370.3 MB, free: 22.43 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.0008561/0.6711, allocations: 472.1 kB / 370.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.6712, allocations: 9.094 kB / 370.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.6713, allocations: 28.66 kB / 370.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.6717, allocations: 230 kB / 371 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.6717, allocations: 7.531 kB / 371.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.6718, allocations: 13.98 kB / 371.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003533/0.6721, allocations: 101.3 kB / 371.2 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.6726, allocations: 175.7 kB / 371.3 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.6726, allocations: 5.188 kB / 371.3 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.6727, allocations: 0 / 371.3 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.6727, allocations: 14.53 kB / 371.4 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.6741, allocations: 0.6536 MB / 372 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.6744, allocations: 132 kB / 372.1 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.6746, allocations: 53.98 kB / 372.2 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.6747, allocations: 6.594 kB / 372.2 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.6747, allocations: 42.62 kB / 372.2 MB, free: 21.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.136e-06/0.6747, allocations: 0 / 372.2 MB, free: 21.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001835/0.6766, allocations: 0.7502 MB / 373 MB, free: 20.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.6766, allocations: 55.31 kB / 373 MB, free: 20.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.6768, allocations: 142.3 kB / 373.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.6769, allocations: 25.7 kB / 373.2 MB, free: 20.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.677, allocations: 149.1 kB / 373.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/0.6771, allocations: 89.98 kB / 373.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.6771, allocations: 0 / 373.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6773, allocations: 330.2 kB / 373.8 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.6774, allocations: 47.25 kB / 373.8 MB, free: 20.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.6776, allocations: 87.86 kB / 373.9 MB, free: 20.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.6778, allocations: 59.17 kB / 374 MB, free: 20.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6778, allocations: 0 / 374 MB, free: 20.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005941/0.6784, allocations: 210.2 kB / 374.2 MB, free: 20 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.6784, allocations: 3.875 kB / 374.2 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6785, allocations: 3.172 kB / 374.2 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.6787, allocations: 39.95 kB / 374.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.6791, allocations: 54.88 kB / 374.3 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.6807, allocations: 1.321 MB / 375.6 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.681, allocations: 6.828 kB / 375.6 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.6811, allocations: 7.719 kB / 375.6 MB, free: 18.77 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.0001323/0.6812, allocations: 116.5 kB / 375.7 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005375/0.6818, allocations: 174.8 kB / 375.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.6818, allocations: 23.19 kB / 375.9 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/0.6819, allocations: 28.55 kB / 375.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.6819, allocations: 3.938 kB / 375.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.682, allocations: 3.875 kB / 375.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.682, allocations: 0 / 375.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.6832, allocations: 0.5824 MB / 376.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.6833, allocations: 3.938 kB / 376.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.6837, allocations: 44.09 kB / 376.6 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.6839, allocations: 34.11 kB / 376.6 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.684, allocations: 3.953 kB / 376.6 MB, free: 18.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.6856, allocations: 1.333 MB / 377.9 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.6856, allocations: 0 / 377.9 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.6864, allocations: 386.2 kB / 378.3 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.6865, allocations: 95.94 kB / 378.4 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.6866, allocations: 0 / 378.4 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.6868, allocations: 3.844 kB / 378.4 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.6869, allocations: 18.08 kB / 378.4 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.6869, allocations: 15.45 kB / 378.4 MB, free: 16.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.6871, allocations: 114 kB / 378.6 MB, free: 16.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.6871, allocations: 0 / 378.6 MB, free: 16.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005572/0.6877, allocations: 50.59 kB / 378.6 MB, free: 16.6 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.001183/0.6889, allocations: 1.061 MB / 379.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007242/0.6896, allocations: 260.1 kB / 379.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6896, allocations: 0 / 379.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.69, allocations: 197.9 kB / 380.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.6906, allocations: 32.55 kB / 380.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.6924, allocations: 0.5712 MB / 380.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.6929, allocations: 0.7566 MB / 381.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.693, allocations: 16.78 kB / 381.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.6932, allocations: 64.67 kB / 381.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6932, allocations: 0 / 381.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05606/0.7493, allocations: 3.716 MB / 385.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003702/0.7497, allocations: 148.6 kB / 385.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.074/3.823, allocations: 0 / 385.4 MB, free: 13.59 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat