Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.218/2.218, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.577e-05, allocations: 0 / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5531, allocations: 81.85 MB / 398.9 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.5535, allocations: 80.52 kB / 399 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06124/0.6148, allocations: 14.42 MB / 413.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6148, allocations: 0 / 413.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.678e-05/0.6149, allocations: 27.98 kB / 413.4 MB, free: 9.602 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002591/0.6175, allocations: 0.9009 MB / 414.3 MB, free: 8.711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.6176, allocations: 8.031 kB / 414.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003729/0.618, allocations: 124.9 kB / 414.4 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.6183, allocations: 102.8 kB / 414.5 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6198, allocations: 0.5188 MB / 415 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.6199, allocations: 61.2 kB / 415.1 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.6201, allocations: 82.42 kB / 415.2 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.6222, allocations: 0.8078 MB / 416 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.999e-05/0.6224, allocations: 11.84 kB / 416 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.82e-05/0.6225, allocations: 38.88 kB / 416 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.6226, allocations: 24 kB / 416.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.6241, allocations: 413.5 kB / 416.5 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006636/0.6308, allocations: 4.402 MB / 420.9 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009536/0.6319, allocations: 283 kB / 421.2 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.6322, allocations: 138.9 kB / 421.3 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.6325, allocations: 173.9 kB / 421.5 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.6326, allocations: 38.31 kB / 421.5 MB, free: 2.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 3.477e-06/0.6326, allocations: 0 / 421.5 MB, free: 2.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.004844/0.6375, allocations: 1.578 MB / 423.1 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.6376, allocations: 59.91 kB / 423.1 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.6387, allocations: 469.5 kB / 423.6 MB, free: 420 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.6388, allocations: 29.64 kB / 423.6 MB, free: 388 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.6392, allocations: 481.4 kB / 424.1 MB, free: 24 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.6395, allocations: 217.1 kB / 424.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.6396, allocations: 18.06 kB / 424.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.6398, allocations: 379.6 kB / 424.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.6403, allocations: 147 kB / 424.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.6409, allocations: 434.3 kB / 425.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.6415, allocations: 232.4 kB / 425.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.6416, allocations: 4.219 kB / 425.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001783/0.6433, allocations: 0.7003 MB / 426.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.6434, allocations: 11.94 kB / 426.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.6435, allocations: 8 kB / 426.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.6437, allocations: 47.53 kB / 426.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.6449, allocations: 182.7 kB / 426.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.6468, allocations: 1.511 MB / 427.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.6475, allocations: 33.92 kB / 428 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.6476, allocations: 35.69 kB / 428 MB, free: 12.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.6479, allocations: 158.1 kB / 428.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.648, allocations: 71.16 kB / 428.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.6482, allocations: 74.83 kB / 428.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.6483, allocations: 11.95 kB / 428.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.6483, allocations: 3.938 kB / 428.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.6483, allocations: 3.984 kB / 428.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.6515, allocations: 1.39 MB / 429.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.6516, allocations: 0 / 429.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.6527, allocations: 123.3 kB / 429.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/0.6529, allocations: 24.75 kB / 429.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.653, allocations: 10.88 kB / 429.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.6543, allocations: 1.274 MB / 431.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.6544, allocations: 4 kB / 431.2 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.6563, allocations: 0.8771 MB / 432 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.6567, allocations: 136.3 kB / 432.2 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.6568, allocations: 23.17 kB / 432.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.6574, allocations: 14.44 kB / 432.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.6576, allocations: 38.58 kB / 432.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.6577, allocations: 15.5 kB / 432.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007083/0.6584, allocations: 357.2 kB / 432.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.6585, allocations: 0 / 432.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001238/0.6597, allocations: 144.6 kB / 432.7 MB, free: 7.961 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002769/0.6625, allocations: 2.193 MB / 434.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.6642, allocations: 0.5344 MB / 435.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.6642, allocations: 0 / 435.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007143/0.665, allocations: 292.6 kB / 435.8 MB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.666, allocations: 83.17 kB / 435.8 MB, free: 5.109 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.6714, allocations: 1.691 MB / 437.5 MB, free: 3.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008601/0.6723, allocations: 0.989 MB / 438.5 MB, free: 2.465 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005684/0.6729, allocations: 81.94 kB / 438.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/0.6736, allocations: 325.2 kB / 438.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of SimCode: time 1.874e-06/0.6736, allocations: 0 / 438.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0626/0.7362, allocations: 11.45 MB / 450.4 MB, free: 6.918 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/0.7366, allocations: 183.3 kB / 450.5 MB, free: 6.691 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/3.883, allocations: 0 / 450.5 MB, free: 6.691 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat