Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.238/2.238, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.238e-05/6.25e-05, allocations: 8.984 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 50.41 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.6083, allocations: 76.88 MB / 419.5 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.6086, allocations: 62.59 kB / 419.6 MB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01548/0.6241, allocations: 3.58 MB / 423.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6242, allocations: 0 / 423.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.6242, allocations: 6.844 kB / 423.2 MB, free: 14.2 MB / 346.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.0008592/0.6251, allocations: 464 kB / 423.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.6252, allocations: 8.031 kB / 423.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.328e-05/0.6253, allocations: 57.3 kB / 423.7 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.6253, allocations: 27.67 kB / 423.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.6256, allocations: 194.7 kB / 423.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.6256, allocations: 15.5 kB / 423.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.6257, allocations: 26.75 kB / 424 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.6263, allocations: 219.1 kB / 424.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.6263, allocations: 7.844 kB / 424.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.6264, allocations: 10.62 kB / 424.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.6264, allocations: 7.953 kB / 424.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.6268, allocations: 123.3 kB / 424.3 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.6287, allocations: 0.8642 MB / 425.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.6291, allocations: 149.1 kB / 425.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.6292, allocations: 69.31 kB / 425.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.6293, allocations: 4 kB / 425.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.6293, allocations: 34.5 kB / 425.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.916e-06/0.6293, allocations: 0 / 425.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004778/0.6298, allocations: 127 kB / 425.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.6299, allocations: 114.4 kB / 425.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.6302, allocations: 173 kB / 425.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.6303, allocations: 29.08 kB / 425.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.6304, allocations: 160.4 kB / 426 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.6305, allocations: 64.97 kB / 426.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.6305, allocations: 3.812 kB / 426.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6307, allocations: 334.5 kB / 426.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.6308, allocations: 42.19 kB / 426.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.6311, allocations: 146.5 kB / 426.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.6313, allocations: 80.42 kB / 426.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.6313, allocations: 4 kB / 426.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005673/0.6319, allocations: 220.6 kB / 426.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.6319, allocations: 8 kB / 426.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.632, allocations: 4.438 kB / 426.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.632, allocations: 8 kB / 426.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.6324, allocations: 67.16 kB / 427 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.6325, allocations: 4 kB / 427 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.6327, allocations: 30.66 kB / 427 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.6328, allocations: 15.5 kB / 427 MB, free: 10.5 MB / 346.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.0001156/0.6329, allocations: 123.5 kB / 427.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.633, allocations: 15.81 kB / 427.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.137e-05/0.6331, allocations: 27.45 kB / 427.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6331, allocations: 8 kB / 427.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6331, allocations: 0 / 427.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.6331, allocations: 4 kB / 427.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000788/0.6339, allocations: 420.9 kB / 427.6 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6339, allocations: 0 / 427.6 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.6343, allocations: 39.92 kB / 427.7 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6344, allocations: 0 / 427.7 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.6344, allocations: 11.78 kB / 427.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.6344, allocations: 0 / 427.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.6344, allocations: 8 kB / 427.7 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.635, allocations: 419.7 kB / 428.1 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.6351, allocations: 96.17 kB / 428.2 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.6352, allocations: 0 / 428.2 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.6354, allocations: 11.38 kB / 428.2 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.6355, allocations: 11.48 kB / 428.2 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6355, allocations: 4 kB / 428.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.6357, allocations: 142.6 kB / 428.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6357, allocations: 0 / 428.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005518/0.6362, allocations: 62.39 kB / 428.4 MB, free: 9.125 MB / 346.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.001126/0.6374, allocations: 1.235 MB / 429.6 MB, free: 7.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004496/0.6379, allocations: 122.8 kB / 429.8 MB, free: 7.797 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6379, allocations: 4.312 kB / 429.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.638, allocations: 57.06 kB / 429.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.6385, allocations: 30.23 kB / 429.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.6403, allocations: 0.5422 MB / 430.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.6407, allocations: 0.7402 MB / 431.1 MB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.6409, allocations: 22.06 kB / 431.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.6411, allocations: 53.3 kB / 431.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of SimCode: time 3.317e-06/0.6411, allocations: 4 kB / 431.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.6712, allocations: 3.289 MB / 434.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003909/0.6716, allocations: 158.2 kB / 434.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/3.27, allocations: 4 kB / 434.7 MB, free: 2.926 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat