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.729/1.729, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.954e-05/4.991e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2836, allocations: 38.77 MB / 263.9 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.408, allocations: 67.77 MB / 331.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.4083, allocations: 67.97 kB / 331.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01723/0.4255, allocations: 3.781 MB / 335.5 MB, free: 1.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4256, allocations: 0 / 335.5 MB, free: 1.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.4256, allocations: 8 kB / 335.5 MB, free: 1.988 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.0009194/0.4265, allocations: 482.1 kB / 336 MB, free: 1.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.4266, allocations: 12.03 kB / 336 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.934e-05/0.4267, allocations: 58.55 kB / 336 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.4268, allocations: 23.72 kB / 336.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4272, allocations: 223.4 kB / 336.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.4273, allocations: 20.44 kB / 336.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.602e-05/0.4273, allocations: 27.95 kB / 336.3 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.4278, allocations: 186.4 kB / 336.5 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4279, allocations: 3.906 kB / 336.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.4279, allocations: 8 kB / 336.5 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4279, allocations: 4 kB / 336.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.4283, allocations: 120.9 kB / 336.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.4298, allocations: 0.6308 MB / 337.3 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.4302, allocations: 163.3 kB / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.4305, allocations: 92.89 kB / 337.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.4306, allocations: 7.984 kB / 337.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.4306, allocations: 34.56 kB / 337.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 3.076e-06/0.4306, allocations: 0 / 337.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.00264/0.4333, allocations: 0.9769 MB / 338.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4334, allocations: 51.41 kB / 338.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4336, allocations: 158.4 kB / 338.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.4337, allocations: 37.64 kB / 338.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.4338, allocations: 136.5 kB / 338.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.434, allocations: 118.3 kB / 339 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.434, allocations: 12 kB / 339 MB, free: 14.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4342, allocations: 334.8 kB / 339.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.4344, allocations: 67.92 kB / 339.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.4346, allocations: 94.59 kB / 339.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.4349, allocations: 77.55 kB / 339.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.4349, allocations: 0 / 339.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007891/0.4357, allocations: 283.7 kB / 339.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.4357, allocations: 4 kB / 339.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4358, allocations: 3.953 kB / 339.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/0.4361, allocations: 44.84 kB / 339.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.4365, allocations: 63.89 kB / 340 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.4388, allocations: 1.561 MB / 341.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.4391, allocations: 8.094 kB / 341.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.4391, allocations: 16 kB / 341.6 MB, free: 11.44 MB / 298.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.0001429/0.4393, allocations: 124.9 kB / 341.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.4394, allocations: 23.8 kB / 341.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.4395, allocations: 30.78 kB / 341.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4395, allocations: 4 kB / 341.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4395, allocations: 0 / 341.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.4395, allocations: 3.984 kB / 341.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.4413, allocations: 0.7589 MB / 342.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4413, allocations: 12.05 kB / 342.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.4419, allocations: 59.91 kB / 342.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.4421, allocations: 32.84 kB / 342.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.4422, allocations: 4.188 kB / 342.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.4439, allocations: 1.383 MB / 344 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4439, allocations: 3.938 kB / 344 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.445, allocations: 499.8 kB / 344.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.4452, allocations: 112.8 kB / 344.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.4453, allocations: 11.95 kB / 344.6 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.4455, allocations: 8 kB / 344.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.4456, allocations: 27.97 kB / 344.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.4457, allocations: 4 kB / 344.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.4458, allocations: 139.4 kB / 344.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4458, allocations: 0 / 344.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006189/0.4465, allocations: 68 kB / 344.9 MB, free: 7.863 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.001611/0.4481, allocations: 1.255 MB / 346.1 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000879/0.449, allocations: 309.6 kB / 346.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4491, allocations: 0 / 346.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.4496, allocations: 233.5 kB / 346.6 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.4502, allocations: 42.81 kB / 346.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.4522, allocations: 0.6501 MB / 347.3 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.4527, allocations: 0.7641 MB / 348.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.4529, allocations: 22.06 kB / 348.1 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.4531, allocations: 71.41 kB / 348.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of SimCode: time 1.684e-06/0.4531, allocations: 0 / 348.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.4872, allocations: 4.646 MB / 352.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003266/0.4876, allocations: 167.9 kB / 353 MB, free: 15.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.02, allocations: 8 kB / 353 MB, free: 15.58 MB / 314.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