Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.697/2.697, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.722e-05/2.727e-05, allocations: 2.125 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5011/0.6088, allocations: 72.38 MB / 366.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.6092, allocations: 70.72 kB / 366.7 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01897/0.6282, allocations: 3.594 MB / 370.3 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6282, allocations: 4 kB / 370.3 MB, free: 22.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.6283, allocations: 4.062 kB / 370.3 MB, free: 22.66 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008935/0.6292, allocations: 466.6 kB / 370.8 MB, free: 22.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.6292, allocations: 9.219 kB / 370.8 MB, free: 22.26 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.6293, allocations: 48.09 kB / 370.8 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.967e-05/0.6294, allocations: 27.16 kB / 370.9 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.6298, allocations: 237.1 kB / 371.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.6299, allocations: 8.125 kB / 371.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.6299, allocations: 12.84 kB / 371.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003951/0.6303, allocations: 98.83 kB / 371.2 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.6308, allocations: 169.5 kB / 371.4 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.6309, allocations: 7.812 kB / 371.4 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.6309, allocations: 3.938 kB / 371.4 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.631, allocations: 6.312 kB / 371.4 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.6326, allocations: 0.6592 MB / 372 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.633, allocations: 125.2 kB / 372.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.6332, allocations: 61.66 kB / 372.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.6332, allocations: 352 / 372.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.6333, allocations: 42.38 kB / 372.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.885e-06/0.6333, allocations: 0 / 372.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.002071/0.6354, allocations: 0.7457 MB / 373 MB, free: 20.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.6354, allocations: 59.22 kB / 373.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.6356, allocations: 144.6 kB / 373.2 MB, free: 20.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.6356, allocations: 25.7 kB / 373.2 MB, free: 20.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.6358, allocations: 144.6 kB / 373.4 MB, free: 20.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/0.6359, allocations: 85.72 kB / 373.5 MB, free: 20.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.6359, allocations: 3.938 kB / 373.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6361, allocations: 336 kB / 373.8 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.6362, allocations: 44.06 kB / 373.8 MB, free: 20.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.6364, allocations: 83.36 kB / 373.9 MB, free: 20.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.6366, allocations: 66.78 kB / 374 MB, free: 20.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6367, allocations: 0 / 374 MB, free: 20.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006595/0.6373, allocations: 205 kB / 374.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.6374, allocations: 7.781 kB / 374.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6374, allocations: 0 / 374.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.6377, allocations: 37.81 kB / 374.2 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.6382, allocations: 54.19 kB / 374.3 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.6401, allocations: 1.319 MB / 375.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.6404, allocations: 6.703 kB / 375.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.6404, allocations: 11.25 kB / 375.6 MB, free: 18.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.6406, allocations: 116.5 kB / 375.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.6407, allocations: 19.47 kB / 375.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.6408, allocations: 23.28 kB / 375.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6408, allocations: 224 / 375.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.6408, allocations: 7.938 kB / 375.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6408, allocations: 7.891 kB / 375.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.6423, allocations: 0.5876 MB / 376.4 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6423, allocations: 8 kB / 376.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.6429, allocations: 40.59 kB / 376.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.6431, allocations: 32.95 kB / 376.5 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.6432, allocations: 3.875 kB / 376.5 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.645, allocations: 1.325 MB / 377.8 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.6451, allocations: 3.906 kB / 377.8 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008784/0.646, allocations: 385.3 kB / 378.2 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.6461, allocations: 95.81 kB / 378.3 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.6461, allocations: 7.219 kB / 378.3 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.6464, allocations: 3.812 kB / 378.3 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.6465, allocations: 13.67 kB / 378.3 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.6466, allocations: 11.28 kB / 378.3 MB, free: 16.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.6467, allocations: 115.3 kB / 378.4 MB, free: 16.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.6467, allocations: 0 / 378.4 MB, free: 16.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006063/0.6473, allocations: 46.41 kB / 378.5 MB, free: 16.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001342/0.6487, allocations: 1.063 MB / 379.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008082/0.6495, allocations: 261.6 kB / 379.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6496, allocations: 256 / 379.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.6501, allocations: 191.1 kB / 380 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.6507, allocations: 35.17 kB / 380 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.6527, allocations: 0.5757 MB / 380.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.6532, allocations: 0.7506 MB / 381.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.6534, allocations: 17.36 kB / 381.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.6536, allocations: 61.86 kB / 381.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6536, allocations: 0 / 381.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05612/0.7097, allocations: 3.808 MB / 385.2 MB, free: 14 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00032/0.7101, allocations: 148.7 kB / 385.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.756/4.467, allocations: 3.938 kB / 385.4 MB, free: 13.81 MB / 314.7 MB "" Variables in the reference:time,damper.phi_rel,damper.w_rel,inertia3.phi,inertia3.w Variables in the result:Jload,Jmotor,amplitude,damper.a_rel,damper.d,damper.flange_a.phi,damper.flange_a.tau,damper.flange_b.phi,damper.flange_b.tau,damper.lossPower,damper.phi_nominal,damper.phi_rel,damper.stateSelect,damper.tau,damper.useHeatPort,damper.w_rel,damping,der(damper.phi_rel),der(damper.w_rel),der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.phi),der(inertia3.w),fixed.flange.phi,fixed.flange.tau,fixed.phi0,freqHz,idealGear.flange_a.phi,idealGear.flange_a.tau,idealGear.flange_b.phi,idealGear.flange_b.tau,idealGear.phi_a,idealGear.phi_b,idealGear.phi_support,idealGear.ratio,idealGear.useSupport,inertia1.J,inertia1.a,inertia1.flange_a.phi,inertia1.flange_a.tau,inertia1.flange_b.phi,inertia1.flange_b.tau,inertia1.phi,inertia1.stateSelect,inertia1.w,inertia2.J,inertia2.a,inertia2.flange_a.phi,inertia2.flange_a.tau,inertia2.flange_b.phi,inertia2.flange_b.tau,inertia2.phi,inertia2.stateSelect,inertia2.w,inertia3.J,inertia3.a,inertia3.flange_a.phi,inertia3.flange_a.tau,inertia3.flange_b.phi,inertia3.flange_b.tau,inertia3.phi,inertia3.stateSelect,inertia3.w,ratio,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,spring.c,spring.flange_a.phi,spring.flange_a.tau,spring.flange_b.phi,spring.flange_b.tau,spring.phi_rel,spring.phi_rel0,spring.tau,time,torque.flange.phi,torque.flange.tau,torque.phi_support,torque.tau,torque.useSupport