Running command: translateModel(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.805e-05, allocations: 11.89 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2838, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006785/0.2907, allocations: 4.261 MB / 307.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.2948, allocations: 1.8 MB / 309.4 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000647/0.2955, allocations: 59.81 kB / 309.4 MB, free: 7.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.296, allocations: 162.8 kB / 309.6 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000798/0.2968, allocations: 291 kB / 309.9 MB, free: 7.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009931/0.2978, allocations: 335.3 kB / 310.2 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.2989, allocations: 0.5385 MB / 310.8 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.2995, allocations: 331.6 kB / 311.1 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.2998, allocations: 191.4 kB / 311.3 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.3002, allocations: 243 kB / 311.5 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.3005, allocations: 75.78 kB / 311.6 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.437e-05/0.3006, allocations: 20 kB / 311.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.3007, allocations: 111.5 kB / 311.7 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3009, allocations: 68 kB / 311.8 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.3021, allocations: 0.8944 MB / 312.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3021, allocations: 0 / 312.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3021, allocations: 0 / 312.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3022, allocations: 0 / 312.7 MB, free: 4.223 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001811/0.304, allocations: 0.8895 MB / 313.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.304, allocations: 12.03 kB / 313.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.3042, allocations: 94.81 kB / 313.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009194/0.3052, allocations: 0.4943 MB / 314.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.421e-05/0.3053, allocations: 66 kB / 314.2 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3054, allocations: 84 kB / 314.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.3075, allocations: 0.822 MB / 315.1 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/0.3076, allocations: 11.91 kB / 315.1 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.332e-05/0.3077, allocations: 32 kB / 315.2 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.3077, allocations: 23.94 kB / 315.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.3094, allocations: 0.5274 MB / 315.7 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.3144, allocations: 3.099 MB / 318.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009608/0.3153, allocations: 295.5 kB / 319.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.3156, allocations: 251.5 kB / 319.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3157, allocations: 46.53 kB / 319.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.986e-06/0.3157, allocations: 4 kB / 319.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.003815/0.3195, allocations: 1.582 MB / 321 MB, free: 11.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3196, allocations: 106.8 kB / 321.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.32, allocations: 280.9 kB / 321.4 MB, free: 11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.3201, allocations: 33.7 kB / 321.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.3204, allocations: 414.5 kB / 321.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3205, allocations: 138 kB / 321.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.3206, allocations: 12 kB / 321.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3207, allocations: 354.8 kB / 322.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.3212, allocations: 125.1 kB / 322.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.3217, allocations: 285.1 kB / 322.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.3222, allocations: 164.8 kB / 322.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3223, allocations: 0 / 322.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001331/0.3236, allocations: 0.5015 MB / 323.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3236, allocations: 8 kB / 323.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.3237, allocations: 7.953 kB / 323.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.3239, allocations: 36.84 kB / 323.4 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.3247, allocations: 123.8 kB / 323.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005147/0.3252, allocations: 0.5643 MB / 324.1 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.3256, allocations: 27.92 kB / 324.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.3257, allocations: 24 kB / 324.1 MB, free: 8.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000448/0.3261, allocations: 221.6 kB / 324.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3263, allocations: 43.53 kB / 324.4 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000954/0.3272, allocations: 314 kB / 324.7 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3273, allocations: 4.094 kB / 324.7 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3273, allocations: 7.938 kB / 324.7 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3273, allocations: 4 kB / 324.7 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.3295, allocations: 1.103 MB / 325.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3295, allocations: 0 / 325.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/0.3304, allocations: 87.89 kB / 325.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.3306, allocations: 32.8 kB / 325.9 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.3306, allocations: 15.98 kB / 326 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004043/0.331, allocations: 0.5526 MB / 326.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.331, allocations: 3.938 kB / 326.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.3327, allocations: 0.8362 MB / 327.4 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3328, allocations: 120.6 kB / 327.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/0.3329, allocations: 12 kB / 327.5 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.3333, allocations: 19.98 kB / 327.5 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.3334, allocations: 27.92 kB / 327.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.3335, allocations: 8 kB / 327.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003421/0.3338, allocations: 231.1 kB / 327.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3338, allocations: 4 kB / 327.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008274/0.3347, allocations: 128.1 kB / 327.9 MB, free: 4.117 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w,inertia2a.w,torqueToAngle2a.phi,inertia2b.w,torqueToAngle2b.phi,directInertia.inertia.w,directInertia.torqueToAngle.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002116/0.3349, allocations: 123.1 kB / 328 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.3361, allocations: 344.9 kB / 328.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3361, allocations: 0 / 328.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.3367, allocations: 161 kB / 328.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.3374, allocations: 69.75 kB / 328.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.3418, allocations: 2.054 MB / 330.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000803/0.3426, allocations: 0.9485 MB / 331.6 MB, free: 364 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.343, allocations: 55.36 kB / 331.6 MB, free: 308 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3431, allocations: 35.44 kB / 331.7 MB, free: 272 kB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3431, allocations: 0 / 331.7 MB, free: 272 kB / 266.7 MB Notification: Performance of Templates: time 0.1066/0.4497, allocations: 3.637 MB / 335.3 MB, free: 12.64 MB / 282.7 MB "" Variables in the reference:time,directInertia.inertia.phi,directInertia.inertia.w,inertia2a.phi,inertia2a.w,inertia2b.phi,inertia2b.w,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w Variables in the result:directInertia.J,directInertia.inertia.J,directInertia.inertia.phi,directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.J,inertia2a.phi,inertia2a.w,inertia2b.J,inertia2b.phi,inertia2b.w,inertia3a.J,inertia3a.phi,inertia3a.w,inertia3b.J,inertia3b.phi,inertia3b.w,inverseInertia.J,inverseInertia.angleToTorque.move.useSupport,inverseInertia.angleToTorque.multiplex3.n1,inverseInertia.angleToTorque.multiplex3.n2,inverseInertia.angleToTorque.multiplex3.n3,inverseInertia.inertia.J,sine1.amplitude,sine1.freqHz,sine1.offset,sine1.phase,sine1.startTime,sine2.amplitude,sine2.freqHz,sine2.offset,sine2.phase,sine2.startTime,sine3.amplitude,sine3.freqHz,sine3.offset,sine3.phase,sine3.startTime,spring.angleToTorque1.move_phi.useSupport,spring.angleToTorque2.move_phi.useSupport,spring.c,spring.phi_rel0,spring.spring.c,spring.spring.phi_rel0,springDamper.angleToTorque1.move_w.useSupport,springDamper.angleToTorque1.multiplex2.n1,springDamper.angleToTorque1.multiplex2.n2,springDamper.angleToTorque2.move_w.useSupport,springDamper.angleToTorque2.multiplex2.n1,springDamper.angleToTorque2.multiplex2.n2,springDamper.c,springDamper.d,springDamper.phi_rel0,springDamper.springDamper.c,springDamper.springDamper.d,springDamper.springDamper.phi_rel0,time,torqueToAngle2a.phi,torqueToAngle2b.phi