Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.535/2.535, allocations: 270 MB / 282.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.787e-05/4.805e-05, allocations: 0 / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4224, allocations: 61.86 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.5905, allocations: 91.13 MB / 0.4883 GB, free: 15.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.5908, allocations: 63.98 kB / 0.4884 GB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05828/0.6491, allocations: 11.8 MB / 0.4999 GB, free: 3.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6491, allocations: 0 / 0.4999 GB, free: 3.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.377e-05/0.6492, allocations: 12 kB / 0.4999 GB, free: 3.477 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002452/0.6516, allocations: 0.834 MB / 0.5007 GB, free: 2.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.6517, allocations: 16.03 kB / 0.5007 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.6519, allocations: 102.5 kB / 0.5008 GB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.6521, allocations: 83.02 kB / 0.5009 GB, free: 2.391 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.6528, allocations: 363.3 kB / 0.5013 GB, free: 2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.6529, allocations: 45.31 kB / 0.5013 GB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.6531, allocations: 63.91 kB / 0.5014 GB, free: 1.891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.6546, allocations: 0.5618 MB / 0.5019 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.922e-05/0.6547, allocations: 15.89 kB / 0.5019 GB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/0.6547, allocations: 24 kB / 0.502 GB, free: 1.258 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.6548, allocations: 12 kB / 0.502 GB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.6561, allocations: 441.3 kB / 0.5024 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005354/0.6615, allocations: 2.205 MB / 0.5045 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.6632, allocations: 0.636 MB / 0.5052 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.664, allocations: 308.2 kB / 0.5055 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.6642, allocations: 89.55 kB / 0.5055 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.6643, allocations: 46.94 kB / 0.5056 GB, free: 13.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 4.097e-06/0.6643, allocations: 4 kB / 0.5056 GB, free: 13.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.01126/0.6755, allocations: 4.093 MB / 0.5096 GB, free: 8.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6757, allocations: 218.2 kB / 0.5098 GB, free: 8.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.6763, allocations: 311.2 kB / 0.5101 GB, free: 8.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.6764, allocations: 41.7 kB / 0.5101 GB, free: 8.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.6766, allocations: 311.4 kB / 0.5104 GB, free: 7.922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/0.6771, allocations: 414 kB / 0.5108 GB, free: 7.512 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.6771, allocations: 20 kB / 0.5108 GB, free: 7.492 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6773, allocations: 358.8 kB / 0.5112 GB, free: 7.133 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000757/0.6781, allocations: 262.6 kB / 0.5114 GB, free: 6.875 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009215/0.679, allocations: 461.8 kB / 0.5119 GB, free: 6.363 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009524/0.68, allocations: 342.1 kB / 0.5122 GB, free: 6.031 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.68, allocations: 3.953 kB / 0.5122 GB, free: 6.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002251/0.6823, allocations: 0.8625 MB / 0.513 GB, free: 5.152 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.6823, allocations: 8 kB / 0.5131 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.6824, allocations: 8.438 kB / 0.5131 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/0.6824, allocations: 12 kB / 0.5131 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/0.6846, allocations: 295.6 kB / 0.5134 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-05/0.6846, allocations: 12 kB / 0.5134 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008663/0.6855, allocations: 59.97 kB / 0.5134 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.6856, allocations: 39.98 kB / 0.5135 GB, free: 4.727 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0002638/0.6859, allocations: 174.8 kB / 0.5136 GB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.6862, allocations: 79.11 kB / 0.5137 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.6868, allocations: 219.3 kB / 0.5139 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.6869, allocations: 12 kB / 0.5139 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.6869, allocations: 4.172 kB / 0.5139 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.6869, allocations: 7.984 kB / 0.5139 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005555/0.6925, allocations: 2.273 MB / 0.5162 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.6926, allocations: 4 kB / 0.5162 GB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/0.6948, allocations: 263.9 kB / 0.5164 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.469e-05/0.6949, allocations: 8 kB / 0.5164 GB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.695, allocations: 20 kB / 0.5164 GB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.11e-05/0.6951, allocations: 19.88 kB / 0.5165 GB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.6951, allocations: 4 kB / 0.5165 GB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.6985, allocations: 1.933 MB / 0.5184 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.6991, allocations: 204.3 kB / 0.5185 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.6992, allocations: 20 kB / 0.5186 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.7003, allocations: 64.03 kB / 0.5186 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.7006, allocations: 88.33 kB / 0.5187 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.374e-05/0.7007, allocations: 36 kB / 0.5187 GB, free: 15.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004029/0.7011, allocations: 241.2 kB / 0.519 GB, free: 14.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.7011, allocations: 4 kB / 0.519 GB, free: 14.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001264/0.7024, allocations: 200 kB / 0.5192 GB, free: 14.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.00425/0.7067, allocations: 3.561 MB / 0.5226 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.7088, allocations: 0.7197 MB / 0.5233 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7088, allocations: 0 / 0.5233 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.7099, allocations: 443.5 kB / 0.5238 GB, free: 9.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.7113, allocations: 102.2 kB / 0.5239 GB, free: 9.691 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006066/0.7174, allocations: 2.182 MB / 0.526 GB, free: 7.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/0.7182, allocations: 0.9603 MB / 0.5269 GB, free: 6.422 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007212/0.7189, allocations: 267.3 kB / 0.5272 GB, free: 6.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7189, allocations: 0 / 0.5272 GB, free: 6.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.161/3.879, allocations: 11.53 MB / 0.5385 GB, free: 119 MB / 458.7 MB