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.784/1.784, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.227e-05/4.261e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2991, allocations: 38.76 MB / 263.8 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4206, allocations: 67.76 MB / 331.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.421, allocations: 75.89 kB / 331.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.4372, allocations: 3.788 MB / 335.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4373, allocations: 0 / 335.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.4373, allocations: 4 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.0008396/0.4382, allocations: 476.1 kB / 335.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4382, allocations: 15.97 kB / 335.9 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.466e-05/0.4383, allocations: 54.55 kB / 336 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.169e-05/0.4384, allocations: 27.72 kB / 336 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.4388, allocations: 227.4 kB / 336.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.4388, allocations: 16.44 kB / 336.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.4389, allocations: 27.95 kB / 336.3 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.4394, allocations: 183.3 kB / 336.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.4394, allocations: 7.891 kB / 336.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.4394, allocations: 8 kB / 336.5 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.4395, allocations: 4 kB / 336.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.4398, allocations: 125.7 kB / 336.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.4411, allocations: 0.6308 MB / 337.2 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.4416, allocations: 165.2 kB / 337.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.4418, allocations: 92.86 kB / 337.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.4419, allocations: 12.03 kB / 337.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4419, allocations: 34.55 kB / 337.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.295e-06/0.4419, allocations: 0 / 337.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002398/0.4443, allocations: 0.9767 MB / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4444, allocations: 59.34 kB / 338.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.4447, allocations: 162.4 kB / 338.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.4447, allocations: 29.7 kB / 338.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.4448, allocations: 136.5 kB / 338.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.445, allocations: 122.3 kB / 339 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.445, allocations: 4 kB / 339 MB, free: 14.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4451, allocations: 330.8 kB / 339.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.4453, allocations: 68 kB / 339.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.4456, allocations: 98.59 kB / 339.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4458, allocations: 81.31 kB / 339.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4458, allocations: 224 / 339.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007068/0.4465, allocations: 275.7 kB / 339.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4466, allocations: 16 kB / 339.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4466, allocations: 3.953 kB / 339.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.4468, allocations: 40.84 kB / 339.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.4473, allocations: 55.91 kB / 340 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.4493, allocations: 1.569 MB / 341.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.4496, allocations: 8.031 kB / 341.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.4496, allocations: 12 kB / 341.6 MB, free: 11.43 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.0001304/0.4497, allocations: 128.9 kB / 341.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.4498, allocations: 19.72 kB / 341.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.731e-05/0.4499, allocations: 34.77 kB / 341.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4499, allocations: 4 kB / 341.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.45, allocations: 4 kB / 341.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.45, allocations: 0 / 341.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.4516, allocations: 0.7666 MB / 342.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.4516, allocations: 11.94 kB / 342.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.4521, allocations: 59.91 kB / 342.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.4523, allocations: 32.94 kB / 342.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.4524, allocations: 8 kB / 342.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.4539, allocations: 1.383 MB / 344 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.4539, allocations: 4.031 kB / 344 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.4549, allocations: 491.7 kB / 344.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.455, allocations: 112.8 kB / 344.6 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.4551, allocations: 11.95 kB / 344.6 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.4553, allocations: 8 kB / 344.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.4554, allocations: 23.97 kB / 344.6 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.4555, allocations: 8 kB / 344.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.4556, allocations: 139.4 kB / 344.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4556, allocations: 0 / 344.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005086/0.4562, allocations: 68 kB / 344.9 MB, free: 7.852 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.001452/0.4576, allocations: 1.247 MB / 346.1 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008897/0.4586, allocations: 330.4 kB / 346.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4586, allocations: 4 kB / 346.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.4591, allocations: 230.4 kB / 346.7 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.4597, allocations: 41.78 kB / 346.7 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.4617, allocations: 0.6494 MB / 347.3 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.4622, allocations: 0.7641 MB / 348.1 MB, free: 4.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.4623, allocations: 18.08 kB / 348.1 MB, free: 4.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.4625, allocations: 75.41 kB / 348.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4625, allocations: 3.938 kB / 348.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.499, allocations: 4.669 MB / 352.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003868/0.4994, allocations: 169.2 kB / 353 MB, free: 15.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.22, allocations: 0 / 353 MB, free: 15.52 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