Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.239e-05, allocations: 0 / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.564, allocations: 78.33 MB / 400.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.5644, allocations: 63.22 kB / 400.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05598/0.6204, allocations: 11.33 MB / 411.6 MB, free: 56 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6204, allocations: 4 kB / 411.6 MB, free: 52 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.949e-05/0.6205, allocations: 16 kB / 411.6 MB, free: 36 kB / 330.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.002433/0.6229, allocations: 0.8533 MB / 412.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.623, allocations: 8.031 kB / 412.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.6232, allocations: 98.52 kB / 412.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.6234, allocations: 75.16 kB / 412.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.6241, allocations: 373 kB / 413 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.6242, allocations: 45.31 kB / 413 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.6244, allocations: 75.77 kB / 413.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.6259, allocations: 0.5523 MB / 413.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.6259, allocations: 11.91 kB / 413.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.626, allocations: 24 kB / 413.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.626, allocations: 12 kB / 413.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.6273, allocations: 445.3 kB / 414.1 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.6323, allocations: 2.04 MB / 416.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.6338, allocations: 0.5921 MB / 416.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007119/0.6346, allocations: 285.9 kB / 417 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-05/0.6347, allocations: 12.44 kB / 417 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.6347, allocations: 54.88 kB / 417.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 3.857e-06/0.6347, allocations: 0 / 417.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=115): time 0.01213/0.6469, allocations: 4.015 MB / 421.1 MB, free: 5.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.6471, allocations: 170.8 kB / 421.3 MB, free: 5.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.6478, allocations: 327.1 kB / 421.6 MB, free: 5.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.648, allocations: 41.7 kB / 421.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.6483, allocations: 315.5 kB / 422 MB, free: 4.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005695/0.6489, allocations: 406 kB / 422.3 MB, free: 4.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-05/0.649, allocations: 24 kB / 422.4 MB, free: 4.523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.6492, allocations: 358.8 kB / 422.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.6503, allocations: 274.6 kB / 423 MB, free: 3.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.6517, allocations: 463.7 kB / 423.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.653, allocations: 337.9 kB / 423.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.653, allocations: 4 kB / 423.8 MB, free: 3.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003187/0.6562, allocations: 0.8824 MB / 424.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.6563, allocations: 11.98 kB / 424.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.6563, allocations: 4 kB / 424.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.707e-05/0.6564, allocations: 12 kB / 424.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/0.6593, allocations: 291.8 kB / 425 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.494e-05/0.6593, allocations: 15.94 kB / 425 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.6607, allocations: 55.97 kB / 425 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.6609, allocations: 43.98 kB / 425.1 MB, free: 1.727 MB / 346.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.0003928/0.6613, allocations: 172.6 kB / 425.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/0.6618, allocations: 83.06 kB / 425.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.663, allocations: 275.3 kB / 425.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.663, allocations: 12 kB / 425.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.6631, allocations: 0 / 425.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/0.6631, allocations: 3.984 kB / 425.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007512/0.6706, allocations: 2.324 MB / 427.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.6707, allocations: 7.953 kB / 427.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002881/0.6736, allocations: 267.9 kB / 428.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-05/0.6737, allocations: 8 kB / 428.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.6738, allocations: 28 kB / 428.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.282e-05/0.6738, allocations: 11.98 kB / 428.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.6739, allocations: 0 / 428.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/0.6787, allocations: 1.793 MB / 430.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000631/0.6793, allocations: 208 kB / 430.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.6796, allocations: 27.98 kB / 430.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.681, allocations: 63.91 kB / 430.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.6814, allocations: 80.41 kB / 430.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.6815, allocations: 35.98 kB / 430.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005918/0.6821, allocations: 257.2 kB / 430.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6821, allocations: 0 / 430.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001724/0.6839, allocations: 204 kB / 430.9 MB, free: 11.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.00561/0.6895, allocations: 3.279 MB / 434.2 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.6924, allocations: 0.7471 MB / 434.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6924, allocations: 4.875 kB / 434.9 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.694, allocations: 446 kB / 435.4 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.6958, allocations: 100 kB / 435.5 MB, free: 6.973 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008085/0.7039, allocations: 2.204 MB / 437.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009717/0.7049, allocations: 0.9642 MB / 438.6 MB, free: 3.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009261/0.7059, allocations: 267.3 kB / 438.9 MB, free: 3.422 MB / 362.7 MB Notification: Performance of SimCode: time 3.607e-06/0.7059, allocations: 0 / 438.9 MB, free: 3.422 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.629/3.335, allocations: 11.68 MB / 450.6 MB, free: 7.727 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat