Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.514e-05, allocations: 0 / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 48.71 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.5802, allocations: 74.16 MB / 390.5 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/0.5806, allocations: 67.2 kB / 390.6 MB, free: 2.219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0337/0.6143, allocations: 6.816 MB / 397.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6144, allocations: 4 kB / 397.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.6144, allocations: 8 kB / 397.4 MB, free: 12.74 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001295/0.6157, allocations: 0.6006 MB / 398 MB, free: 12.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.6158, allocations: 8.031 kB / 398 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.616, allocations: 55.44 kB / 398 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.6162, allocations: 218.6 kB / 398.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.6163, allocations: 16 kB / 398.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.6164, allocations: 35.89 kB / 398.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006064/0.617, allocations: 212.6 kB / 398.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.6179, allocations: 390.8 kB / 398.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/0.618, allocations: 14.66 kB / 398.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.618, allocations: 0 / 398.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.6181, allocations: 12 kB / 398.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.6213, allocations: 1.628 MB / 400.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.622, allocations: 369.4 kB / 400.9 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.6224, allocations: 143.5 kB / 401.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.6225, allocations: 8 kB / 401.1 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.6225, allocations: 45.31 kB / 401.1 MB, free: 9.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.416e-06/0.6225, allocations: 0 / 401.1 MB, free: 9.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008299/0.6234, allocations: 244.5 kB / 401.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.6235, allocations: 272.8 kB / 401.6 MB, free: 8.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.6238, allocations: 202.6 kB / 401.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.6239, allocations: 25.7 kB / 401.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.6241, allocations: 246.4 kB / 402.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.6243, allocations: 180.2 kB / 402.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.6243, allocations: 0 / 402.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6245, allocations: 346.8 kB / 402.6 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.6248, allocations: 94.81 kB / 402.7 MB, free: 7.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.6253, allocations: 394 kB / 403.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.6257, allocations: 161.5 kB / 403.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.6258, allocations: 7.938 kB / 403.2 MB, free: 7.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001184/0.627, allocations: 486.2 kB / 403.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.627, allocations: 10.34 kB / 403.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.627, allocations: 8 kB / 403.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-05/0.6271, allocations: 16 kB / 403.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.6282, allocations: 181.7 kB / 403.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/0.6282, allocations: 20.44 kB / 403.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.6287, allocations: 55.28 kB / 404 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.6288, allocations: 34.19 kB / 404 MB, free: 6.426 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.6289, allocations: 128.3 kB / 404.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008032/0.6297, allocations: 256.2 kB / 404.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.63, allocations: 31.72 kB / 404.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.6301, allocations: 36.77 kB / 404.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.6301, allocations: 4 kB / 404.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6302, allocations: 8.125 kB / 404.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.6302, allocations: 0 / 404.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.6317, allocations: 354.9 kB / 404.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6317, allocations: 4 kB / 404.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.633, allocations: 127.5 kB / 405 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.633, allocations: 4 kB / 405 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.633, allocations: 7.562 kB / 405 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.6331, allocations: 11.88 kB / 405 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.6331, allocations: 4 kB / 405 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.6344, allocations: 1.139 MB / 406.1 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.6346, allocations: 107.9 kB / 406.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/0.6347, allocations: 15.98 kB / 406.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/0.6353, allocations: 0 / 406.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.6354, allocations: 39.11 kB / 406.3 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.6354, allocations: 11.5 kB / 406.3 MB, free: 4.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.6356, allocations: 151.6 kB / 406.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6356, allocations: 0 / 406.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001308/0.637, allocations: 123.7 kB / 406.6 MB, free: 3.977 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/0.6388, allocations: 2.231 MB / 408.8 MB, free: 1.773 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008083/0.6396, allocations: 290.1 kB / 409.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6396, allocations: 0 / 409.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.6399, allocations: 110.9 kB / 409.2 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6412, allocations: 72.17 kB / 409.3 MB, free: 1.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.6463, allocations: 2.092 MB / 411.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/0.647, allocations: 0.843 MB / 412.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002866/0.6473, allocations: 51.44 kB / 412.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.6475, allocations: 138.6 kB / 412.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6475, allocations: 0 / 412.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06128/0.7088, allocations: 6.941 MB / 419.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003109/0.7092, allocations: 157.5 kB / 419.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/3.557, allocations: 3.938 kB / 419.5 MB, free: 7.215 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat