Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.974e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3042, allocations: 44.49 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.4366, allocations: 72.39 MB / 366.6 MB, free: 9.484 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4369, allocations: 63.97 kB / 366.7 MB, free: 9.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01621/0.4531, allocations: 3.741 MB / 370.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4531, allocations: 0 / 370.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.4532, allocations: 4 kB / 370.4 MB, free: 5.668 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.0008394/0.454, allocations: 470.2 kB / 370.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4541, allocations: 8.031 kB / 370.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.4542, allocations: 31.72 kB / 370.9 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.4545, allocations: 235.3 kB / 371.1 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4546, allocations: 8 kB / 371.1 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.4546, allocations: 16.12 kB / 371.1 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003628/0.455, allocations: 116.8 kB / 371.3 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.4554, allocations: 154.3 kB / 371.4 MB, free: 4.555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.4555, allocations: 4 kB / 371.4 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.4555, allocations: 0 / 371.4 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.4556, allocations: 4 kB / 371.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.4569, allocations: 0.5758 MB / 372 MB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.4573, allocations: 159.4 kB / 372.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.4576, allocations: 92.83 kB / 372.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.4576, allocations: 0 / 372.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.4576, allocations: 38.59 kB / 372.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.465e-06/0.4577, allocations: 0 / 372.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002349/0.46, allocations: 0.9054 MB / 373.2 MB, free: 2.625 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.4601, allocations: 55.41 kB / 373.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.4603, allocations: 138.5 kB / 373.4 MB, free: 2.418 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.4603, allocations: 25.7 kB / 373.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4605, allocations: 202.8 kB / 373.6 MB, free: 2.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.4606, allocations: 118.3 kB / 373.7 MB, free: 2.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.4606, allocations: 0 / 373.7 MB, free: 2.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4608, allocations: 322.8 kB / 374 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.4609, allocations: 60 kB / 374.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.4612, allocations: 90.78 kB / 374.2 MB, free: 1.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.4614, allocations: 69.95 kB / 374.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4614, allocations: 0 / 374.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006658/0.4621, allocations: 243.6 kB / 374.5 MB, free: 1.277 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.4621, allocations: 4 kB / 374.5 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4621, allocations: 4 kB / 374.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.4624, allocations: 40.83 kB / 374.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.4629, allocations: 59.91 kB / 374.6 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.4649, allocations: 1.502 MB / 376.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.4652, allocations: 8.094 kB / 376.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.4653, allocations: 15.98 kB / 376.1 MB, free: 15.53 MB / 330.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.0001427/0.4654, allocations: 116.7 kB / 376.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006299/0.4661, allocations: 222.2 kB / 376.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.4662, allocations: 31.66 kB / 376.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.399e-05/0.4663, allocations: 19.41 kB / 376.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.4663, allocations: 11.88 kB / 376.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.4663, allocations: 8 kB / 376.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4663, allocations: 3.984 kB / 376.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.4679, allocations: 0.6887 MB / 377.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.4679, allocations: 4 kB / 377.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.4685, allocations: 59.91 kB / 377.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.4687, allocations: 32.83 kB / 377.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.4687, allocations: 4 kB / 377.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.4703, allocations: 1.324 MB / 378.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.4703, allocations: 0 / 378.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.4713, allocations: 468.6 kB / 379.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.4715, allocations: 97.06 kB / 379.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.4715, allocations: 8 kB / 379.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.4718, allocations: 8.031 kB / 379.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.4719, allocations: 31.84 kB / 379.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.4719, allocations: 12 kB / 379.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.4721, allocations: 112.4 kB / 379.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4721, allocations: 0 / 379.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006138/0.4727, allocations: 56 kB / 379.4 MB, free: 11.97 MB / 330.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.001396/0.4741, allocations: 1.215 MB / 380.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008167/0.475, allocations: 301.6 kB / 380.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.475, allocations: 0 / 380.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.4755, allocations: 222 kB / 381.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.4761, allocations: 33.94 kB / 381.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.478, allocations: 0.6441 MB / 381.8 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.4785, allocations: 0.7642 MB / 382.6 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.4787, allocations: 71.41 kB / 382.6 MB, free: 8.594 MB / 330.7 MB Notification: Performance of SimCode: time 9.61e-07/0.4787, allocations: 0 / 382.6 MB, free: 8.594 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.624/3.103, allocations: 4.678 MB / 387.3 MB, free: 3.914 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat