Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 270 MB / 283.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4e-05, allocations: 0 / 348.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4634, allocations: 61.88 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.6289, allocations: 88.26 MB / 498.6 MB, free: 2.215 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.6293, allocations: 67.95 kB / 498.7 MB, free: 2.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03802/0.6673, allocations: 8.719 MB / 0.4955 GB, free: 9.391 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6674, allocations: 0 / 0.4955 GB, free: 9.391 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.6674, allocations: 16 kB / 0.4955 GB, free: 9.375 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001427/0.6688, allocations: 0.6347 MB / 0.4961 GB, free: 8.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.6689, allocations: 16.03 kB / 0.4962 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.6691, allocations: 90.45 kB / 0.4962 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.6692, allocations: 55.34 kB / 0.4963 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.6697, allocations: 297.3 kB / 0.4966 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.6698, allocations: 33 kB / 0.4966 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.6699, allocations: 59.91 kB / 0.4967 GB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.671, allocations: 412.2 kB / 0.4971 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.6711, allocations: 11.91 kB / 0.4971 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.6712, allocations: 20 kB / 0.4971 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.6712, allocations: 16 kB / 0.4971 GB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008076/0.672, allocations: 289.9 kB / 0.4974 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.6748, allocations: 1.156 MB / 0.4985 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.676, allocations: 483.9 kB / 0.499 GB, free: 5.625 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.6765, allocations: 199.9 kB / 0.4992 GB, free: 5.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.6765, allocations: 8.422 kB / 0.4992 GB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6766, allocations: 39 kB / 0.4992 GB, free: 5.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 4.038e-06/0.6766, allocations: 0 / 0.4992 GB, free: 5.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.004448/0.6811, allocations: 1.976 MB / 0.5011 GB, free: 3.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.6812, allocations: 89.67 kB / 0.5012 GB, free: 3.121 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.6816, allocations: 219.4 kB / 0.5014 GB, free: 2.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.6816, allocations: 37.7 kB / 0.5015 GB, free: 2.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.6818, allocations: 216.9 kB / 0.5017 GB, free: 2.641 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.6821, allocations: 272 kB / 0.5019 GB, free: 2.371 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.6822, allocations: 16 kB / 0.502 GB, free: 2.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6824, allocations: 358.8 kB / 0.5023 GB, free: 1.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.6828, allocations: 145.6 kB / 0.5024 GB, free: 1.852 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.6834, allocations: 257.3 kB / 0.5027 GB, free: 1.566 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.684, allocations: 202.2 kB / 0.5029 GB, free: 1.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.684, allocations: 0 / 0.5029 GB, free: 1.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001348/0.6853, allocations: 0.5427 MB / 0.5034 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.6854, allocations: 11.94 kB / 0.5034 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.6854, allocations: 4.047 kB / 0.5034 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/0.6854, allocations: 7.984 kB / 0.5034 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.6869, allocations: 175.8 kB / 0.5036 GB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.168e-05/0.687, allocations: 11.94 kB / 0.5036 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.6877, allocations: 23.98 kB / 0.5036 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/0.6878, allocations: 31.95 kB / 0.5037 GB, free: 0.5586 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0002268/0.688, allocations: 141 kB / 0.5038 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.6883, allocations: 47.44 kB / 0.5038 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.6885, allocations: 63.58 kB / 0.5039 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.6885, allocations: 11.94 kB / 0.5039 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.6886, allocations: 0 / 0.5039 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.6886, allocations: 3.984 kB / 0.5039 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/0.6928, allocations: 1.426 MB / 0.5053 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6928, allocations: 352 / 0.5053 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.6946, allocations: 167.8 kB / 0.5055 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.549e-05/0.6947, allocations: 8 kB / 0.5055 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.781e-05/0.6947, allocations: 12 kB / 0.5055 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.997e-05/0.6948, allocations: 12.06 kB / 0.5055 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.6948, allocations: 7.938 kB / 0.5055 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.6974, allocations: 1.032 MB / 0.5065 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.6977, allocations: 124.5 kB / 0.5066 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.6978, allocations: 16 kB / 0.5067 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007727/0.6986, allocations: 20 kB / 0.5067 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.6988, allocations: 44.33 kB / 0.5067 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/0.6988, allocations: 24 kB / 0.5067 GB, free: 13.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003551/0.6992, allocations: 179.1 kB / 0.5069 GB, free: 12.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6992, allocations: 0 / 0.5069 GB, free: 12.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001314/0.7006, allocations: 147.9 kB / 0.507 GB, free: 12.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.003631/0.7042, allocations: 2.422 MB / 0.5094 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.7059, allocations: 422.9 kB / 0.5098 GB, free: 9.883 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.706, allocations: 4 kB / 0.5098 GB, free: 9.879 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.7067, allocations: 222.5 kB / 0.51 GB, free: 9.664 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.7084, allocations: 112.8 kB / 0.5101 GB, free: 9.559 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006134/0.7146, allocations: 1.664 MB / 0.5118 GB, free: 7.816 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.7154, allocations: 0.8604 MB / 0.5126 GB, free: 6.926 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005122/0.7159, allocations: 60.64 kB / 0.5127 GB, free: 6.867 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.7164, allocations: 167.4 kB / 0.5128 GB, free: 6.703 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7164, allocations: 0 / 0.5128 GB, free: 6.703 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3816/1.098, allocations: 9.036 MB / 0.5216 GB, free: 109.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/1.098, allocations: 171.7 kB / 0.5218 GB, free: 109.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.821, allocations: 0 / 0.5218 GB, free: 109.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat