Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.605e-05, allocations: 0 / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2749, allocations: 38.76 MB / 258.3 MB, free: 12.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.3991, allocations: 67.1 MB / 325.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.3995, allocations: 67.97 kB / 325.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01806/0.4175, allocations: 3.744 MB / 329.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4176, allocations: 0 / 329.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.4176, allocations: 4 kB / 329.3 MB, free: 6.945 MB / 282.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.0008296/0.4185, allocations: 474.2 kB / 329.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4185, allocations: 8.031 kB / 329.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.4186, allocations: 27.72 kB / 329.8 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.419, allocations: 239.3 kB / 330 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.419, allocations: 4 kB / 330 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.4191, allocations: 19.95 kB / 330 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003492/0.4195, allocations: 108.9 kB / 330.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.4199, allocations: 154.4 kB / 330.3 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.42, allocations: 3.906 kB / 330.3 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.42, allocations: 0 / 330.3 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.42, allocations: 8 kB / 330.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.4213, allocations: 0.5797 MB / 330.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.4217, allocations: 157.1 kB / 331 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.4219, allocations: 84.86 kB / 331.1 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.422, allocations: 0 / 331.1 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.422, allocations: 38.55 kB / 331.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.893e-06/0.422, allocations: 0 / 331.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.002292/0.4243, allocations: 0.9 MB / 332 MB, free: 3.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.4244, allocations: 55.41 kB / 332.1 MB, free: 3.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.4246, allocations: 141.5 kB / 332.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.4246, allocations: 25.7 kB / 332.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.4247, allocations: 144.4 kB / 332.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.4249, allocations: 110.3 kB / 332.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.4249, allocations: 0 / 332.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4251, allocations: 330.8 kB / 332.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.4252, allocations: 60 kB / 332.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.4255, allocations: 86.84 kB / 333 MB, free: 2.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.4257, allocations: 69.38 kB / 333 MB, free: 2.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.4257, allocations: 11.95 kB / 333 MB, free: 2.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006536/0.4264, allocations: 244 kB / 333.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4264, allocations: 8 kB / 333.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4264, allocations: 3.938 kB / 333.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.4267, allocations: 40.83 kB / 333.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.4271, allocations: 59.91 kB / 333.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.4291, allocations: 1.518 MB / 334.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.4293, allocations: 12.05 kB / 334.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.4294, allocations: 8 kB / 334.9 MB, free: 0.8438 MB / 282.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.0001277/0.4295, allocations: 105 kB / 335 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000601/0.4301, allocations: 222.4 kB / 335.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/0.4302, allocations: 23.72 kB / 335.3 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.4303, allocations: 31.34 kB / 335.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4303, allocations: 4 kB / 335.3 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4303, allocations: 7.984 kB / 335.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4303, allocations: 3.953 kB / 335.3 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.4319, allocations: 0.6893 MB / 336 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4319, allocations: 0 / 336 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.4324, allocations: 59.91 kB / 336.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/0.4327, allocations: 36.83 kB / 336.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.4327, allocations: 192 / 336.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.4342, allocations: 1.336 MB / 337.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4342, allocations: 0 / 337.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008966/0.4351, allocations: 476.9 kB / 337.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.4353, allocations: 116.8 kB / 338 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.4353, allocations: 7.984 kB / 338 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.4356, allocations: 4 kB / 338 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.4357, allocations: 23.97 kB / 338.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.4357, allocations: 8 kB / 338.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.4359, allocations: 115.3 kB / 338.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.845e-06/0.4359, allocations: 4 kB / 338.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005726/0.4365, allocations: 55.94 kB / 338.2 MB, free: 13.27 MB / 298.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.001338/0.4378, allocations: 1.209 MB / 339.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007858/0.4386, allocations: 305.8 kB / 339.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4386, allocations: 0 / 339.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.4391, allocations: 217.9 kB / 340 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.4397, allocations: 44.91 kB / 340 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.4415, allocations: 0.6192 MB / 340.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.4419, allocations: 0.764 MB / 341.4 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.4421, allocations: 22.08 kB / 341.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.4423, allocations: 71.41 kB / 341.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4423, allocations: 0 / 341.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.4873, allocations: 4.087 MB / 345.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003684/0.4878, allocations: 140 kB / 345.7 MB, free: 5.629 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.047, allocations: 7.938 kB / 345.7 MB, free: 5.621 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat