Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Translational_TestBraking",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.279/3.279, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.884e-05, allocations: 4 kB / 299.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5164, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.7491, allocations: 81.68 MB / 436.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.7495, allocations: 63.97 kB / 436.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02839/0.7779, allocations: 4.479 MB / 440.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.778, allocations: 0 / 440.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.236e-05/0.778, allocations: 8 kB / 440.6 MB, free: 8.824 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001233/0.7793, allocations: 470.8 kB / 441.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.7793, allocations: 8.031 kB / 441.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.7795, allocations: 50.55 kB / 441.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.7796, allocations: 31.66 kB / 441.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.78, allocations: 222.7 kB / 441.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.7801, allocations: 8.438 kB / 441.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.7802, allocations: 12 kB / 441.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005198/0.7807, allocations: 124.8 kB / 441.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.7813, allocations: 181.8 kB / 441.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.7814, allocations: 7.906 kB / 441.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.7814, allocations: 3.953 kB / 441.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.7815, allocations: 8 kB / 441.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.7841, allocations: 0.9386 MB / 442.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.7848, allocations: 206.7 kB / 442.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.785, allocations: 71.38 kB / 442.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.7851, allocations: 4 kB / 443 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.7851, allocations: 46.48 kB / 443 MB, free: 6.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 4.358e-06/0.7851, allocations: 0 / 443 MB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002382/0.7875, allocations: 0.905 MB / 443.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/0.7877, allocations: 136.5 kB / 444 MB, free: 5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.788, allocations: 157.6 kB / 444.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.788, allocations: 25.7 kB / 444.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.7882, allocations: 152.2 kB / 444.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.7884, allocations: 98.55 kB / 444.5 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.7884, allocations: 0 / 444.5 MB, free: 4.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.7886, allocations: 338.8 kB / 444.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.7889, allocations: 52.75 kB / 444.8 MB, free: 4.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.7893, allocations: 163.7 kB / 445 MB, free: 3.953 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.7896, allocations: 96.09 kB / 445.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.7897, allocations: 0 / 445.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001019/0.7907, allocations: 261 kB / 445.4 MB, free: 3.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.7907, allocations: 8 kB / 445.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.7908, allocations: 7.953 kB / 445.4 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.7908, allocations: 4.312 kB / 445.4 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/0.7917, allocations: 95.83 kB / 445.5 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.7917, allocations: 7.938 kB / 445.5 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.7921, allocations: 7.906 kB / 445.5 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.7921, allocations: 16 kB / 445.5 MB, free: 3.453 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001771/0.7923, allocations: 112.9 kB / 445.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.7925, allocations: 19.81 kB / 445.6 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/0.793, allocations: 99.44 kB / 445.7 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.793, allocations: 7.953 kB / 445.7 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.793, allocations: 8 kB / 445.7 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.7931, allocations: 0 / 445.7 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.7952, allocations: 0.7247 MB / 446.5 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.7953, allocations: 0 / 446.5 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/0.7962, allocations: 67.91 kB / 446.5 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/0.7963, allocations: 4 kB / 446.5 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.7963, allocations: 4 kB / 446.5 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.7963, allocations: 7.938 kB / 446.5 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.7964, allocations: 0 / 446.5 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.7976, allocations: 0.71 MB / 447.3 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.7977, allocations: 100.8 kB / 447.4 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.342e-05/0.7978, allocations: 4 kB / 447.4 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.7983, allocations: 8 kB / 447.4 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.7984, allocations: 27.92 kB / 447.4 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.7985, allocations: 12 kB / 447.4 MB, free: 1.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.7987, allocations: 126.6 kB / 447.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7987, allocations: 0 / 447.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000908/0.7996, allocations: 52.12 kB / 447.6 MB, free: 1.176 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.001803/0.8014, allocations: 1.865 MB / 449.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006893/0.8021, allocations: 172 kB / 449.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.8022, allocations: 4 kB / 449.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.8024, allocations: 77.17 kB / 449.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/0.8035, allocations: 47.3 kB / 449.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.8069, allocations: 0.8753 MB / 450.6 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.8075, allocations: 0.7636 MB / 451.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.8078, allocations: 34 kB / 451.4 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.8081, allocations: 71.41 kB / 451.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.8081, allocations: 0 / 451.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0587/0.8668, allocations: 3.913 MB / 455.4 MB, free: 9.219 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000389/0.8673, allocations: 136 kB / 455.5 MB, free: 9.023 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.228/4.096, allocations: 4 kB / 455.5 MB, free: 9.02 MB / 394.7 MB "" Variables in the reference:time,mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v,mass4.s,mass4.v Variables in the result:_D_cse1,constantForce.f,constantForce.f_constant,constantForce.flange.f,constantForce.flange.s,constantForce.s,constantForce.s_support,constantForce.useSupport,der(linearSpeedDependentForce.s),der(mass1.s),der(mass1.v),der(mass2.s),der(mass2.v),der(mass3.s),der(mass3.v),der(mass4.s),der(mass4.v),der(quadraticSpeedDependentForce.s),der(signForce.s),linearSpeedDependentForce.ForceDirection,linearSpeedDependentForce.f,linearSpeedDependentForce.f_nominal,linearSpeedDependentForce.flange.f,linearSpeedDependentForce.flange.s,linearSpeedDependentForce.s,linearSpeedDependentForce.s_support,linearSpeedDependentForce.useSupport,linearSpeedDependentForce.v,linearSpeedDependentForce.v_nominal,mass1.L,mass1.a,mass1.flange_a.f,mass1.flange_a.s,mass1.flange_b.f,mass1.flange_b.s,mass1.m,mass1.s,mass1.stateSelect,mass1.v,mass2.L,mass2.a,mass2.flange_a.f,mass2.flange_a.s,mass2.flange_b.f,mass2.flange_b.s,mass2.m,mass2.s,mass2.stateSelect,mass2.v,mass3.L,mass3.a,mass3.flange_a.f,mass3.flange_a.s,mass3.flange_b.f,mass3.flange_b.s,mass3.m,mass3.s,mass3.stateSelect,mass3.v,mass4.L,mass4.a,mass4.flange_a.f,mass4.flange_a.s,mass4.flange_b.f,mass4.flange_b.s,mass4.m,mass4.s,mass4.stateSelect,mass4.v,quadraticSpeedDependentForce.ForceDirection,quadraticSpeedDependentForce.f,quadraticSpeedDependentForce.f_nominal,quadraticSpeedDependentForce.flange.f,quadraticSpeedDependentForce.flange.s,quadraticSpeedDependentForce.s,quadraticSpeedDependentForce.s_support,quadraticSpeedDependentForce.useSupport,quadraticSpeedDependentForce.v,quadraticSpeedDependentForce.v_nominal,signForce.f,signForce.f_nominal,signForce.flange.f,signForce.flange.s,signForce.reg,signForce.s,signForce.s_support,signForce.useSupport,signForce.v,signForce.v0,time