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.771/2.771, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.944e-05, allocations: 3.906 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5977/0.7046, allocations: 70.55 MB / 364.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.7049, allocations: 68.81 kB / 364.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01701/0.722, allocations: 3.332 MB / 368.2 MB, free: 22.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.722, allocations: 0 / 368.2 MB, free: 22.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.7221, allocations: 3.875 kB / 368.2 MB, free: 22.43 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.0008639/0.7229, allocations: 464.4 kB / 368.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.723, allocations: 10.77 kB / 368.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.494e-05/0.7231, allocations: 44.38 kB / 368.7 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.7232, allocations: 26.91 kB / 368.7 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.7234, allocations: 200.5 kB / 368.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.7234, allocations: 8.125 kB / 368.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.7235, allocations: 14.91 kB / 369 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004255/0.7239, allocations: 109.5 kB / 369.1 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.7245, allocations: 196.2 kB / 369.3 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.7245, allocations: 3.906 kB / 369.3 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.7245, allocations: 4.141 kB / 369.3 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.7246, allocations: 5.188 kB / 369.3 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.7263, allocations: 0.8141 MB / 370.1 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.7267, allocations: 137.7 kB / 370.2 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.7269, allocations: 62.56 kB / 370.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.7269, allocations: 11.27 kB / 370.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.7269, allocations: 34.19 kB / 370.3 MB, free: 21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.466e-06/0.7269, allocations: 3.844 kB / 370.3 MB, free: 21 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004786/0.7274, allocations: 116.5 kB / 370.4 MB, free: 20.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.7275, allocations: 112 kB / 370.6 MB, free: 20.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.7277, allocations: 148.3 kB / 370.7 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.7278, allocations: 25.7 kB / 370.7 MB, free: 20.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.7279, allocations: 164.5 kB / 370.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.728, allocations: 63.41 kB / 370.9 MB, free: 20.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.728, allocations: 0 / 370.9 MB, free: 20.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7282, allocations: 328.6 kB / 371.3 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.7283, allocations: 37.38 kB / 371.3 MB, free: 20.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.7286, allocations: 141.7 kB / 371.4 MB, free: 20.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.7288, allocations: 60.67 kB / 371.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7288, allocations: 0 / 371.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006235/0.7294, allocations: 214.4 kB / 371.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.7295, allocations: 14.84 kB / 371.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.7295, allocations: 3.875 kB / 371.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.7295, allocations: 4.312 kB / 371.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.7301, allocations: 70.61 kB / 371.8 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7301, allocations: 5.078 kB / 371.8 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.7304, allocations: 23.47 kB / 371.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.7304, allocations: 7.656 kB / 371.8 MB, free: 19.98 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.0001357/0.7306, allocations: 122.3 kB / 372 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.7307, allocations: 19.47 kB / 372 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/0.7308, allocations: 26.59 kB / 372 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7308, allocations: 3.781 kB / 372 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.7308, allocations: 4 kB / 372 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.7308, allocations: 0 / 372 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008171/0.7317, allocations: 370.7 kB / 372.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.7317, allocations: 2.906 kB / 372.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/0.7322, allocations: 44.86 kB / 372.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.7322, allocations: 3.719 kB / 372.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.7322, allocations: 3.875 kB / 372.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.7323, allocations: 4.094 kB / 372.4 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7323, allocations: 3.938 kB / 372.4 MB, free: 19.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/0.7329, allocations: 403.6 kB / 372.8 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/0.733, allocations: 91.3 kB / 372.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.7331, allocations: 1.25 kB / 372.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.7333, allocations: 1.219 kB / 372.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.7334, allocations: 23.75 kB / 372.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.7334, allocations: 3.844 kB / 372.9 MB, free: 19.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.7336, allocations: 115.5 kB / 373.1 MB, free: 19.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7336, allocations: 4 kB / 373.1 MB, free: 19.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006623/0.7343, allocations: 52.34 kB / 373.1 MB, free: 19.02 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.001165/0.7355, allocations: 1.21 MB / 374.3 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004331/0.7359, allocations: 117.6 kB / 374.4 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7359, allocations: 1.312 kB / 374.4 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.7361, allocations: 55.34 kB / 374.5 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.7367, allocations: 19.67 kB / 374.5 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.7386, allocations: 0.5358 MB / 375.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.7391, allocations: 0.7388 MB / 375.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.7393, allocations: 16.2 kB / 375.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.7395, allocations: 63.47 kB / 375.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7395, allocations: 0 / 375.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0515/0.791, allocations: 2.816 MB / 378.7 MB, free: 16.6 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003372/0.7914, allocations: 147.5 kB / 378.8 MB, free: 16.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.394/4.185, allocations: 0 / 378.8 MB, free: 16.4 MB / 314.7 MB "" Variables in the reference:time,inertia2.s,inertia2.v,mass1.s,mass1.v Variables in the result:der(inertia2.s),der(inertia2.v),der(mass1.s),der(mass1.v),fixed.flange.f,fixed.flange.s,fixed.s0,fixed1.flange.f,fixed1.flange.s,fixed1.s0,fixed2.flange.f,fixed2.flange.s,fixed2.s0,inertia2.L,inertia2.a,inertia2.flange_a.f,inertia2.flange_a.s,inertia2.flange_b.f,inertia2.flange_b.s,inertia2.m,inertia2.s,inertia2.stateSelect,inertia2.v,mass1.L,mass1.a,mass1.flange_a.f,mass1.flange_a.s,mass1.flange_b.f,mass1.flange_b.s,mass1.m,mass1.s,mass1.stateSelect,mass1.v,positionSensor1.flange.f,positionSensor1.flange.s,positionSensor1.s,positionSensor2.flange.f,positionSensor2.flange.s,positionSensor2.s,positionSensor3.flange.f,positionSensor3.flange.s,positionSensor3.s,rod1.L,rod1.flange_a.f,rod1.flange_a.s,rod1.flange_b.f,rod1.flange_b.s,rod1.s,rod2.L,rod2.flange_a.f,rod2.flange_a.s,rod2.flange_b.f,rod2.flange_b.s,rod2.s,rod3.L,rod3.flange_a.f,rod3.flange_a.s,rod3.flange_b.f,rod3.flange_b.s,rod3.s,spring1.c,spring1.f,spring1.flange_a.f,spring1.flange_a.s,spring1.flange_b.f,spring1.flange_b.s,spring1.s_rel,spring1.s_rel0,spring2.c,spring2.f,spring2.flange_a.f,spring2.flange_a.s,spring2.flange_b.f,spring2.flange_b.s,spring2.s_rel,spring2.s_rel0,time