Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.First,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_First",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.481/2.481, allocations: 195 MB / 202.9 MB, free: 6.711 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.696e-05, allocations: 3.656 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5673/0.6736, allocations: 72.39 MB / 366.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.674, allocations: 71.52 kB / 366.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02439/0.6984, allocations: 3.751 MB / 370.5 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6985, allocations: 1.156 kB / 370.5 MB, free: 22.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.6985, allocations: 3.781 kB / 370.5 MB, free: 22.68 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001095/0.6997, allocations: 475.1 kB / 370.9 MB, free: 22.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.6997, allocations: 8.875 kB / 371 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.509e-05/0.6998, allocations: 51.02 kB / 371 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.7, allocations: 24.94 kB / 371 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.7004, allocations: 234.1 kB / 371.3 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.7005, allocations: 9.688 kB / 371.3 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/0.7006, allocations: 15.84 kB / 371.3 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005116/0.7011, allocations: 113 kB / 371.4 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.7017, allocations: 158.5 kB / 371.5 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.7017, allocations: 1.281 kB / 371.5 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.7018, allocations: 0 / 371.5 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.7018, allocations: 10.44 kB / 371.6 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.7035, allocations: 0.5746 MB / 372.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.704, allocations: 157.3 kB / 372.3 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.7043, allocations: 84.86 kB / 372.4 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.7044, allocations: 5.734 kB / 372.4 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.7044, allocations: 34.56 kB / 372.4 MB, free: 21.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.577e-06/0.7045, allocations: 0 / 372.4 MB, free: 21.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002953/0.7074, allocations: 0.9086 MB / 373.3 MB, free: 21.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.7075, allocations: 59.19 kB / 373.4 MB, free: 21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.7078, allocations: 140 kB / 373.5 MB, free: 20.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.7078, allocations: 25.7 kB / 373.5 MB, free: 20.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.7079, allocations: 140.8 kB / 373.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.708, allocations: 110.2 kB / 373.8 MB, free: 20.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.7081, allocations: 0 / 373.8 MB, free: 20.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.7083, allocations: 334.9 kB / 374.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.7085, allocations: 51.22 kB / 374.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.7088, allocations: 91.59 kB / 374.2 MB, free: 20.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.7091, allocations: 70.27 kB / 374.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.7091, allocations: 3.75 kB / 374.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009029/0.71, allocations: 253 kB / 374.6 MB, free: 20.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.7101, allocations: 5.344 kB / 374.6 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.7101, allocations: 0 / 374.6 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.7105, allocations: 43.73 kB / 374.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/0.7112, allocations: 62.14 kB / 374.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.7137, allocations: 1.502 MB / 376.2 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.7141, allocations: 3.844 kB / 376.2 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.7141, allocations: 7.719 kB / 376.2 MB, free: 18.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.7143, allocations: 118.6 kB / 376.3 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.7144, allocations: 19.5 kB / 376.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.7146, allocations: 27.67 kB / 376.3 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.7146, allocations: 7.828 kB / 376.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7146, allocations: 7.844 kB / 376.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.7146, allocations: 0 / 376.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.7167, allocations: 0.6972 MB / 377.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7167, allocations: 3.953 kB / 377.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.7175, allocations: 62.67 kB / 377.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.7178, allocations: 31.62 kB / 377.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.7178, allocations: 7.969 kB / 377.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.7198, allocations: 1.322 MB / 378.5 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.7198, allocations: 7.859 kB / 378.5 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.721, allocations: 468.6 kB / 379 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.7211, allocations: 96.64 kB / 379 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.7212, allocations: 7.234 kB / 379.1 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.7216, allocations: 7.875 kB / 379.1 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.7217, allocations: 22.69 kB / 379.1 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.7217, allocations: 4.141 kB / 379.1 MB, free: 16.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001567/0.7219, allocations: 122.2 kB / 379.2 MB, free: 16.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.7219, allocations: 4 kB / 379.2 MB, free: 16.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007567/0.7227, allocations: 54.31 kB / 379.3 MB, free: 16.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.001676/0.7244, allocations: 1.218 MB / 380.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.7254, allocations: 301.5 kB / 380.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7254, allocations: 0 / 380.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006185/0.7261, allocations: 221.5 kB / 381 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.7268, allocations: 42.27 kB / 381 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.7291, allocations: 0.6221 MB / 381.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.7296, allocations: 0.7605 MB / 382.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.7299, allocations: 19.58 kB / 382.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.7301, allocations: 73.25 kB / 382.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.764e-06/0.7301, allocations: 0 / 382.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07827/0.8084, allocations: 4.176 MB / 386.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002366/0.8087, allocations: 131.5 kB / 386.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.486/4.295, allocations: 0 / 386.8 MB, free: 13.37 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(der(idealGear.phi_a)),der(der(idealGear.phi_b)),der(idealGear.phi_a),der(idealGear.phi_b),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.support.phi,idealGear.support.tau,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.support.phi,torque.support.tau,torque.tau,torque.useSupport