Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.649/2.649, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.099e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3576, allocations: 44.49 MB / 294.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.5123, allocations: 70.55 MB / 364.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5127, allocations: 67.95 kB / 364.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01614/0.5288, allocations: 3.324 MB / 368.2 MB, free: 7.852 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5289, allocations: 0 / 368.2 MB, free: 7.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.5289, allocations: 8 kB / 368.2 MB, free: 7.844 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.0009004/0.5298, allocations: 458.5 kB / 368.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.5299, allocations: 8.031 kB / 368.7 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.53, allocations: 23.72 kB / 368.7 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.5302, allocations: 186.8 kB / 368.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.5302, allocations: 12 kB / 368.9 MB, free: 7.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.5303, allocations: 16 kB / 368.9 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000471/0.5308, allocations: 117 kB / 369 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.5313, allocations: 187.2 kB / 369.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.5314, allocations: 3.906 kB / 369.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.5314, allocations: 4 kB / 369.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5315, allocations: 4 kB / 369.2 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.5332, allocations: 0.8212 MB / 370 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.5336, allocations: 143.8 kB / 370.2 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.5337, allocations: 54.52 kB / 370.2 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5338, allocations: 3.953 kB / 370.2 MB, free: 5.637 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.5338, allocations: 38.88 kB / 370.3 MB, free: 5.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 6.823e-06/0.5339, allocations: 4 kB / 370.3 MB, free: 5.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004635/0.5343, allocations: 117.4 kB / 370.4 MB, free: 5.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.5344, allocations: 106.8 kB / 370.5 MB, free: 5.336 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.5346, allocations: 150.4 kB / 370.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5347, allocations: 25.7 kB / 370.7 MB, free: 5.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.5349, allocations: 168 kB / 370.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.535, allocations: 59.11 kB / 370.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.535, allocations: 0 / 370.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5351, allocations: 330.8 kB / 371.2 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.5353, allocations: 40.56 kB / 371.3 MB, free: 4.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.5356, allocations: 138.5 kB / 371.4 MB, free: 4.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.5358, allocations: 72.73 kB / 371.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5358, allocations: 0 / 371.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005953/0.5364, allocations: 209.2 kB / 371.7 MB, free: 4.086 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5365, allocations: 4.438 kB / 371.7 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.5365, allocations: 11.95 kB / 371.7 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.5365, allocations: 8 kB / 371.7 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.537, allocations: 59.92 kB / 371.8 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.5371, allocations: 15.92 kB / 371.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.5373, allocations: 19.69 kB / 371.8 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.5374, allocations: 12 kB / 371.8 MB, free: 3.957 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.000118/0.5375, allocations: 120.6 kB / 371.9 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000384/0.5379, allocations: 117.4 kB / 372 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.538, allocations: 19.86 kB / 372.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.75e-05/0.5381, allocations: 17.84 kB / 372.1 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.5382, allocations: 4 kB / 372.1 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5382, allocations: 0 / 372.1 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5382, allocations: 3.984 kB / 372.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.539, allocations: 381.4 kB / 372.5 MB, free: 3.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.539, allocations: 4 kB / 372.5 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.5395, allocations: 40.02 kB / 372.5 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.5395, allocations: 4 kB / 372.5 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5396, allocations: 0 / 372.5 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.5396, allocations: 4 kB / 372.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5396, allocations: 0 / 372.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.5403, allocations: 402.4 kB / 372.9 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.08e-05/0.5404, allocations: 100.9 kB / 373 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.5404, allocations: 0 / 373 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.5407, allocations: 3.953 kB / 373 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.5407, allocations: 19.97 kB / 373 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.5408, allocations: 4 kB / 373 MB, free: 2.602 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.5409, allocations: 116 kB / 373.1 MB, free: 2.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.5409, allocations: 0 / 373.1 MB, free: 2.488 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000691/0.5416, allocations: 51.84 kB / 373.2 MB, free: 2.438 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.001097/0.5428, allocations: 1.203 MB / 374.4 MB, free: 1.188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.5432, allocations: 131.8 kB / 374.5 MB, free: 1.059 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5432, allocations: 3.938 kB / 374.5 MB, free: 1.055 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.5434, allocations: 47.92 kB / 374.6 MB, free: 1.008 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.5439, allocations: 23.94 kB / 374.6 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.5457, allocations: 0.5365 MB / 375.1 MB, free: 412 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.5462, allocations: 0.7437 MB / 375.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.5464, allocations: 13.86 kB / 375.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.5466, allocations: 63.42 kB / 375.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.843e-06/0.5466, allocations: 0 / 375.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04907/0.5957, allocations: 2.765 MB / 378.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003727/0.5961, allocations: 152.3 kB / 378.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.975/3.571, allocations: 0 / 378.9 MB, free: 12.62 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat