Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.401/2.401, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.791e-05, allocations: 8 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4187, allocations: 44.48 MB / 294.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.6044, allocations: 71.35 MB / 365.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.6048, allocations: 59.97 kB / 365.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02919/0.634, allocations: 5.593 MB / 371.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.634, allocations: 0 / 371.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.6341, allocations: 8 kB / 371.3 MB, free: 4.793 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001458/0.6355, allocations: 0.5536 MB / 371.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.6356, allocations: 8.031 kB / 371.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.6357, allocations: 35.58 kB / 371.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.6362, allocations: 254.5 kB / 372.1 MB, free: 3.863 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.6363, allocations: 8 kB / 372.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.6364, allocations: 16 kB / 372.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007282/0.6371, allocations: 213 kB / 372.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.6378, allocations: 203.8 kB / 372.6 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.6378, allocations: 7.906 kB / 372.6 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.6379, allocations: 4 kB / 372.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.6379, allocations: 8 kB / 372.6 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.6401, allocations: 0.7554 MB / 373.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.641, allocations: 319.2 kB / 373.6 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.6415, allocations: 156.8 kB / 373.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.6416, allocations: 11.88 kB / 373.8 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.6416, allocations: 48.02 kB / 373.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 4.418e-06/0.6416, allocations: 0 / 373.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.004612/0.6462, allocations: 1.48 MB / 375.3 MB, free: 500 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.6463, allocations: 59.97 kB / 375.4 MB, free: 428 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.6466, allocations: 150.1 kB / 375.5 MB, free: 268 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.6466, allocations: 25.7 kB / 375.6 MB, free: 236 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.6468, allocations: 144.9 kB / 375.7 MB, free: 88 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.6471, allocations: 213 kB / 375.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.6471, allocations: 0 / 375.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.6473, allocations: 342.8 kB / 376.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.6478, allocations: 129.1 kB / 376.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.6482, allocations: 131.9 kB / 376.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.6487, allocations: 142.1 kB / 376.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6487, allocations: 3.938 kB / 376.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001133/0.6498, allocations: 394.7 kB / 377 MB, free: 14.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.6499, allocations: 11.98 kB / 377 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.6499, allocations: 0 / 377 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.6499, allocations: 4 kB / 377.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.651, allocations: 131.6 kB / 377.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6511, allocations: 3.938 kB / 377.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.6515, allocations: 19.98 kB / 377.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.6516, allocations: 16 kB / 377.2 MB, free: 14.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.000164/0.6518, allocations: 116.7 kB / 377.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001061/0.6528, allocations: 378.7 kB / 377.7 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.653, allocations: 35.58 kB / 377.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.6531, allocations: 39.97 kB / 377.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.6532, allocations: 8 kB / 377.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.6532, allocations: 0 / 377.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6532, allocations: 3.984 kB / 377.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.6562, allocations: 1.165 MB / 379 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.6563, allocations: 8 kB / 379 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.6574, allocations: 123.8 kB / 379.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/0.6575, allocations: 8 kB / 379.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.6575, allocations: 7.984 kB / 379.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.6576, allocations: 11.94 kB / 379.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.6576, allocations: 4.281 kB / 379.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.6595, allocations: 0.9859 MB / 380.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.6597, allocations: 116.7 kB / 380.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.6598, allocations: 8.031 kB / 380.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.6604, allocations: 23.98 kB / 380.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.6605, allocations: 51.78 kB / 380.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.6606, allocations: 27.98 kB / 380.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.6608, allocations: 132 kB / 380.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6608, allocations: 0 / 380.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007115/0.6615, allocations: 76 kB / 380.5 MB, free: 10.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.002792/0.6643, allocations: 2.758 MB / 383.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.6654, allocations: 361.8 kB / 383.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6654, allocations: 0 / 383.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.6661, allocations: 215.7 kB / 383.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.667, allocations: 53.08 kB / 383.9 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.6698, allocations: 0.8597 MB / 384.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.6704, allocations: 0.8008 MB / 385.6 MB, free: 5.629 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004195/0.6709, allocations: 47.25 kB / 385.6 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.6712, allocations: 115.4 kB / 385.7 MB, free: 5.469 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6713, allocations: 0 / 385.7 MB, free: 5.469 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07647/0.7477, allocations: 6.319 MB / 392 MB, free: 15.18 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0006519/0.7485, allocations: 147.5 kB / 392.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.402/4.151, allocations: 0 / 392.2 MB, free: 14.99 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat does not exist to compare? outputFormat=mat