Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.467/2.467, allocations: 270 MB / 282.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.173e-05, allocations: 0 / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4155, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.5789, allocations: 88.25 MB / 497.2 MB, free: 2.297 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.5791, allocations: 71.95 kB / 497.2 MB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03757/0.6167, allocations: 8.726 MB / 0.4941 GB, free: 9.461 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6168, allocations: 0 / 0.4941 GB, free: 9.461 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.528e-05/0.6168, allocations: 19.98 kB / 0.4941 GB, free: 9.441 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.0014/0.6182, allocations: 0.6347 MB / 0.4948 GB, free: 8.758 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6183, allocations: 8.031 kB / 0.4948 GB, free: 8.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.6184, allocations: 90.52 kB / 0.4948 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.6186, allocations: 55.34 kB / 0.4949 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.6191, allocations: 289.3 kB / 0.4952 GB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.6191, allocations: 37 kB / 0.4952 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6193, allocations: 55.91 kB / 0.4953 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6203, allocations: 420.2 kB / 0.4957 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.6203, allocations: 11.89 kB / 0.4957 GB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.6204, allocations: 20 kB / 0.4957 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.6204, allocations: 12 kB / 0.4957 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.6213, allocations: 286 kB / 0.496 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.624, allocations: 1.164 MB / 0.4971 GB, free: 6.215 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.6251, allocations: 468 kB / 0.4976 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.6256, allocations: 204.1 kB / 0.4978 GB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.6256, allocations: 16.31 kB / 0.4978 GB, free: 5.496 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.6257, allocations: 43.03 kB / 0.4978 GB, free: 5.445 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 3.517e-06/0.6257, allocations: 0 / 0.4978 GB, free: 5.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.004307/0.63, allocations: 1.978 MB / 0.4997 GB, free: 3.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.6301, allocations: 89.66 kB / 0.4998 GB, free: 3.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.6305, allocations: 223.4 kB / 0.5 GB, free: 2.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.6305, allocations: 37.7 kB / 0.5001 GB, free: 2.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.6307, allocations: 263.4 kB / 0.5003 GB, free: 2.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.631, allocations: 268 kB / 0.5006 GB, free: 2.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.6311, allocations: 19.94 kB / 0.5006 GB, free: 2.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6312, allocations: 338.8 kB / 0.5009 GB, free: 2.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.6316, allocations: 149.6 kB / 0.5011 GB, free: 1.895 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.6322, allocations: 253.4 kB / 0.5013 GB, free: 1.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.6327, allocations: 202 kB / 0.5015 GB, free: 1.418 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6327, allocations: 0 / 0.5015 GB, free: 1.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001288/0.634, allocations: 0.531 MB / 0.502 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.6341, allocations: 4 kB / 0.502 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.6341, allocations: 8 kB / 0.502 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.6341, allocations: 8 kB / 0.502 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.6353, allocations: 179.8 kB / 0.5022 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.6353, allocations: 11.94 kB / 0.5022 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.6359, allocations: 28.27 kB / 0.5023 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/0.6359, allocations: 31.94 kB / 0.5023 GB, free: 0.6133 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.0001655/0.6361, allocations: 140.9 kB / 0.5024 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.6362, allocations: 39.53 kB / 0.5025 GB, free: 440 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.6364, allocations: 59.64 kB / 0.5025 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.6364, allocations: 8 kB / 0.5025 GB, free: 368 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.6365, allocations: 3.938 kB / 0.5025 GB, free: 364 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.6365, allocations: 3.984 kB / 0.5025 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.6395, allocations: 1.434 MB / 0.5039 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.6395, allocations: 7.938 kB / 0.5039 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.6408, allocations: 159.8 kB / 0.5041 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.6409, allocations: 4 kB / 0.5041 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.6409, allocations: 20 kB / 0.5041 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.641, allocations: 4 kB / 0.5041 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.641, allocations: 7.938 kB / 0.5041 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.6428, allocations: 1.037 MB / 0.5051 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.643, allocations: 120.5 kB / 0.5052 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.6431, allocations: 16 kB / 0.5053 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.6435, allocations: 16 kB / 0.5053 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6437, allocations: 56.33 kB / 0.5053 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.6437, allocations: 20 kB / 0.5054 GB, free: 13.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002383/0.644, allocations: 175.1 kB / 0.5055 GB, free: 13.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.644, allocations: 0 / 0.5055 GB, free: 13.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007856/0.6448, allocations: 147.9 kB / 0.5057 GB, free: 12.89 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.002416/0.6472, allocations: 2.422 MB / 0.508 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.6483, allocations: 427.3 kB / 0.5084 GB, free: 9.941 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6484, allocations: 4.188 kB / 0.5084 GB, free: 9.938 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.6489, allocations: 221.5 kB / 0.5086 GB, free: 9.723 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.6499, allocations: 95.05 kB / 0.5087 GB, free: 9.633 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.6542, allocations: 1.704 MB / 0.5104 GB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.6548, allocations: 0.8643 MB / 0.5112 GB, free: 6.949 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.6552, allocations: 171.3 kB / 0.5114 GB, free: 6.781 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6552, allocations: 0 / 0.5114 GB, free: 6.781 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.537/3.192, allocations: 7.829 MB / 0.5191 GB, free: 14.97 MB / 458.7 MB