Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 270 MB / 282.7 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.645e-05/4.609e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4392, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2117/0.6509, allocations: 108 MB / 0.5048 GB, free: 14.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.6513, allocations: 75.95 kB / 0.5049 GB, free: 14.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6169/1.268, allocations: 72.24 MB / 0.5754 GB, free: 65.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.268, allocations: 0 / 0.5754 GB, free: 65.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001802/1.268, allocations: 79.98 kB / 0.5755 GB, free: 65.8 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01339/1.282, allocations: 3.615 MB / 0.579 GB, free: 62.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.282, allocations: 8.031 kB / 0.579 GB, free: 62.11 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002994/1.285, allocations: 0.738 MB / 0.5797 GB, free: 61.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/1.3, allocations: 2.066 MB / 0.5818 GB, free: 59.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006716/1.306, allocations: 2.076 MB / 0.5838 GB, free: 57.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/1.307, allocations: 308 kB / 0.5841 GB, free: 56.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002244/1.309, allocations: 399.8 kB / 0.5845 GB, free: 56.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/1.343, allocations: 10.99 MB / 0.5952 GB, free: 44.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002299/1.343, allocations: 55.47 kB / 0.5953 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00155/1.345, allocations: 195.9 kB / 0.5954 GB, free: 44.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00229/1.347, allocations: 1.069 MB / 0.5965 GB, free: 43.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/1.377, allocations: 9.206 MB / 0.6055 GB, free: 34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06808/1.445, allocations: 45.88 MB / 0.6503 GB, free: 2.699 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01924/1.465, allocations: 4.216 MB / 0.6544 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004966/1.47, allocations: 2.297 MB / 0.6566 GB, free: 11.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01443/1.484, allocations: 5.762 MB / 0.6623 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.217e-05/1.484, allocations: 51.88 kB / 0.6623 GB, free: 5.965 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 5.741e-06/1.484, allocations: 0 / 0.6623 GB, free: 5.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=224): time 0.1149/1.599, allocations: 21.86 MB / 0.6837 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.599, allocations: 154.5 kB / 0.6838 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007719/1.607, allocations: 2.974 MB / 0.6867 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005924/1.608, allocations: 56.52 kB / 0.6868 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003004/1.611, allocations: 2.776 MB / 0.6895 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.613, allocations: 0.8405 MB / 0.6903 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009201/1.613, allocations: 116 kB / 0.6904 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006205/1.614, allocations: 0.5629 MB / 0.691 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007104/1.621, allocations: 2.519 MB / 0.6934 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.632, allocations: 5.905 MB / 0.6992 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009649/1.642, allocations: 3.85 MB / 0.703 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/1.642, allocations: 32 kB / 0.703 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02698/1.669, allocations: 8.664 MB / 0.7114 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.669, allocations: 58.03 kB / 0.7115 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/1.669, allocations: 120 kB / 0.7116 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005148/1.674, allocations: 1.066 MB / 0.7127 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3715/2.046, allocations: 1.407 MB / 0.714 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008236/2.054, allocations: 5.374 MB / 0.7193 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006829/2.061, allocations: 330.3 kB / 0.7196 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/2.063, allocations: 359.9 kB / 0.7199 GB, free: 135.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001498/2.064, allocations: 0.5578 MB / 0.7205 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008225/2.065, allocations: 311.6 kB / 0.7208 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/2.077, allocations: 4.508 MB / 0.7252 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-05/2.077, allocations: 29.59 kB / 0.7252 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/2.077, allocations: 4.156 kB / 0.7252 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.118e-05/2.077, allocations: 8.031 kB / 0.7252 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/2.103, allocations: 9.922 MB / 0.7349 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/2.103, allocations: 3.625 kB / 0.7349 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004049/2.107, allocations: 381.5 kB / 0.7353 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004277/2.111, allocations: 0.873 MB / 0.7361 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004946/2.112, allocations: 46.69 kB / 0.7362 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006267/2.118, allocations: 4.721 MB / 0.7408 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/2.118, allocations: 0 / 0.7408 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/2.135, allocations: 7.86 MB / 0.7485 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/2.136, allocations: 369.5 kB / 0.7488 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008912/2.137, allocations: 35.08 kB / 0.7488 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/2.14, allocations: 121.3 kB / 0.749 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00055/2.141, allocations: 128.7 kB / 0.7491 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/2.141, allocations: 61.98 kB / 0.7491 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004398/2.146, allocations: 2.027 MB / 0.7511 GB, free: 127 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.383e-06/2.146, allocations: 0 / 0.7511 GB, free: 127 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006644/2.152, allocations: 1.019 MB / 0.7521 GB, free: 126.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 183 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01802/2.17, allocations: 8.702 MB / 0.7606 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01561/2.186, allocations: 6.409 MB / 0.7669 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/2.186, allocations: 0 / 0.7669 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00724/2.193, allocations: 2.719 MB / 0.7695 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/2.196, allocations: 314.2 kB / 0.7698 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/2.225, allocations: 9.724 MB / 0.7793 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006542/2.232, allocations: 3.136 MB / 0.7824 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004838/2.237, allocations: 1.76 MB / 0.7841 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.332e-06/2.237, allocations: 0 / 0.7841 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.614/6.851, allocations: 142.9 MB / 0.9236 GB, free: 150.9 MB / 0.5261 GB