Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.199e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4137/0.5177, allocations: 71.22 MB / 371.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003868/0.5182, allocations: 65.19 kB / 371.3 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01968/0.5379, allocations: 3.349 MB / 374.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.145e-06/0.5379, allocations: 5.875 kB / 374.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.538, allocations: 4.344 kB / 374.6 MB, free: 21.04 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007588/0.5387, allocations: 459.9 kB / 375.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.5388, allocations: 8.719 kB / 375.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.306e-05/0.5389, allocations: 61.12 kB / 375.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.539, allocations: 27.38 kB / 375.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.5391, allocations: 190.4 kB / 375.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.5392, allocations: 17.94 kB / 375.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.5392, allocations: 20.81 kB / 375.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.5398, allocations: 220.4 kB / 375.6 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.5398, allocations: 5.375 kB / 375.6 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.5399, allocations: 9.375 kB / 375.6 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.5399, allocations: 9.344 kB / 375.6 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.5403, allocations: 127.3 kB / 375.7 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.5419, allocations: 0.8629 MB / 376.6 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.5423, allocations: 155.1 kB / 376.8 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.5424, allocations: 60.36 kB / 376.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.5425, allocations: 3.703 kB / 376.8 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.5425, allocations: 39.62 kB / 376.9 MB, free: 19.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 4.318e-06/0.5425, allocations: 1.031 kB / 376.9 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004401/0.543, allocations: 133.9 kB / 377 MB, free: 19.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.543, allocations: 105.1 kB / 377.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.5433, allocations: 175.4 kB / 377.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.5433, allocations: 27.05 kB / 377.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.5434, allocations: 158.4 kB / 377.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.5435, allocations: 70.62 kB / 377.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.5435, allocations: 9.062 kB / 377.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.5436, allocations: 328.9 kB / 377.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.5438, allocations: 43.28 kB / 377.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.544, allocations: 155.5 kB / 378 MB, free: 18.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.5442, allocations: 67.17 kB / 378.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.5442, allocations: 1.094 kB / 378.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005927/0.5448, allocations: 234.6 kB / 378.3 MB, free: 18.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.5448, allocations: 7.516 kB / 378.3 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5449, allocations: 3.281 kB / 378.4 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.5449, allocations: 6.156 kB / 378.4 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.5454, allocations: 62.98 kB / 378.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.5454, allocations: 6 kB / 378.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.5457, allocations: 36.94 kB / 378.5 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.5457, allocations: 13.88 kB / 378.5 MB, free: 18.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001001/0.5458, allocations: 127.8 kB / 378.6 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/0.5459, allocations: 21.73 kB / 378.6 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.546, allocations: 25.5 kB / 378.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.546, allocations: 2.875 kB / 378.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.546, allocations: 1.188 kB / 378.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.5461, allocations: 2.344 kB / 378.7 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.5468, allocations: 426.2 kB / 379.1 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5469, allocations: 5.219 kB / 379.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.5473, allocations: 34.83 kB / 379.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.5473, allocations: 1.344 kB / 379.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.5473, allocations: 8.281 kB / 379.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5473, allocations: 2.594 kB / 379.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.5474, allocations: 5.219 kB / 379.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.5479, allocations: 420.1 kB / 379.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.548, allocations: 96.2 kB / 379.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.548, allocations: 10.58 kB / 379.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.5483, allocations: 2.297 kB / 379.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.5483, allocations: 17.81 kB / 379.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.5484, allocations: 8.781 kB / 379.7 MB, free: 17.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.5485, allocations: 134.9 kB / 379.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5485, allocations: 1.281 kB / 379.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005809/0.5491, allocations: 55.53 kB / 379.9 MB, free: 17.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.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 (17): * Single equations (assignments): 17 * 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.0007887/0.5499, allocations: 1.228 MB / 381.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004187/0.5504, allocations: 124.7 kB / 381.2 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5504, allocations: 0 / 381.2 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.5505, allocations: 53.81 kB / 381.3 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.5511, allocations: 34.84 kB / 381.3 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.5527, allocations: 0.5468 MB / 381.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/0.5535, allocations: 0.7446 MB / 382.6 MB, free: 31.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.5537, allocations: 25.16 kB / 382.6 MB, free: 31.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5538, allocations: 55.92 kB / 382.7 MB, free: 31.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5539, allocations: 0 / 382.7 MB, free: 31.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.5807, allocations: 3.283 MB / 385.9 MB, free: 30.97 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.581, allocations: 158.1 kB / 386.1 MB, free: 30.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/3.006, allocations: 4 kB / 386.1 MB, free: 30.74 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat