Notification: Performance of loadModel(Modelica): time 1.482/1.482, allocations: 194.3 MB / 200.5 MB, free: 5.305 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.149e-06/9.568e-06, allocations: 1 kB / 247.1 MB, free: 4.844 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05839/0.05847, allocations: 44.31 MB / 291.4 MB, free: 9.566 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2202/0.2788, allocations: 74.87 MB / 366.3 MB, free: 7.09 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.2791, allocations: 76.98 kB / 366.4 MB, free: 7.086 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03747/0.3166, allocations: 8.915 MB / 375.3 MB, free: 5.504 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.3167, allocations: 3.875 kB / 375.3 MB, free: 5.504 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0009563/0.3178, allocations: 0.5639 MB / 375.8 MB, free: 5.035 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3179, allocations: 11.66 kB / 375.9 MB, free: 5.031 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.3184, allocations: 50.75 kB / 375.9 MB, free: 5.008 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.3188, allocations: 271 kB / 376.2 MB, free: 4.766 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.319, allocations: 83.53 kB / 376.2 MB, free: 4.691 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.3191, allocations: 15.69 kB / 376.3 MB, free: 4.691 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007458/0.3199, allocations: 364.7 kB / 376.6 MB, free: 4.633 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.3206, allocations: 316.3 kB / 376.9 MB, free: 4.508 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3207, allocations: 0 / 376.9 MB, free: 4.508 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.3208, allocations: 11.83 kB / 376.9 MB, free: 4.496 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3209, allocations: 7.844 kB / 376.9 MB, free: 4.496 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.323, allocations: 1.112 MB / 378.1 MB, free: 3.816 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.3236, allocations: 256.8 kB / 378.3 MB, free: 3.777 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.3239, allocations: 152.1 kB / 378.5 MB, free: 3.766 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.324, allocations: 3.844 kB / 378.5 MB, free: 3.766 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.3241, allocations: 42.25 kB / 378.5 MB, free: 3.723 MB / 296.6 MB Notification: Performance of pre-optimization done (n=43): time 3.353e-06/0.3242, allocations: 4 kB / 378.5 MB, free: 3.719 MB / 296.6 MB Notification: Performance of matching and sorting (n=45): time 0.003072/0.3273, allocations: 1.224 MB / 379.7 MB, free: 3.094 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.3274, allocations: 88.7 kB / 379.8 MB, free: 18.99 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.3277, allocations: 185.7 kB / 380 MB, free: 18.88 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.3278, allocations: 29.52 kB / 380 MB, free: 18.85 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.328, allocations: 129.6 kB / 380.2 MB, free: 18.73 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3281, allocations: 141.5 kB / 380.3 MB, free: 18.62 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3282, allocations: 0 / 380.3 MB, free: 18.62 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3284, allocations: 341.7 kB / 380.6 MB, free: 18.3 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.3288, allocations: 138.5 kB / 380.8 MB, free: 18.29 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.3292, allocations: 192 kB / 380.9 MB, free: 18.23 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.3297, allocations: 139.2 kB / 381.1 MB, free: 18.21 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.352e-06/0.3297, allocations: 0 / 381.1 MB, free: 18.21 MB / 312.6 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001194/0.331, allocations: 484.7 kB / 381.6 MB, free: 18.1 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3311, allocations: 7.906 kB / 381.6 MB, free: 18.1 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.87e-06/0.3311, allocations: 3.781 kB / 381.6 MB, free: 18.1 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009081/0.3321, allocations: 226.5 kB / 381.8 MB, free: 18.05 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.3325, allocations: 65.86 kB / 381.9 MB, free: 18.03 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.3367, allocations: 2.402 MB / 384.3 MB, free: 16.53 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.3372, allocations: 23.39 kB / 384.3 MB, free: 16.53 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.3373, allocations: 18.61 kB / 384.3 MB, free: 16.52 MB / 312.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.3375, allocations: 79.22 kB / 384.4 MB, free: 16.45 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/0.3377, allocations: 27.44 kB / 384.4 MB, free: 16.43 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/0.3378, allocations: 40.89 kB / 384.4 MB, free: 16.42 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.845e-06/0.3379, allocations: 3.938 kB / 384.4 MB, free: 16.42 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.562e-06/0.338, allocations: 3.844 kB / 384.4 MB, free: 16.42 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.338, allocations: 0 / 384.4 MB, free: 16.42 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.34, allocations: 0.9462 MB / 385.4 MB, free: 16 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.216e-06/0.3401, allocations: 8 kB / 385.4 MB, free: 16 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.3405, allocations: 45.88 kB / 385.4 MB, free: 15.98 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008797/0.3415, allocations: 216.6 kB / 385.7 MB, free: 15.94 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.3416, allocations: 10.48 kB / 385.7 MB, free: 15.93 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.3454, allocations: 2.352 MB / 388 MB, free: 14.44 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.028e-06/0.3455, allocations: 0 / 388 MB, free: 14.44 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001423/0.347, allocations: 0.7204 MB / 388.7 MB, free: 14.22 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.3472, allocations: 150 kB / 388.9 MB, free: 14.09 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.3474, allocations: 0 / 388.9 MB, free: 14.09 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.3478, allocations: 27.53 kB / 388.9 MB, free: 14.08 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.348, allocations: 42.45 kB / 389 MB, free: 14.06 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.3481, allocations: 19.52 kB / 389 MB, free: 14.06 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001479/0.3484, allocations: 149 kB / 389.1 MB, free: 13.97 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008193/0.3492, allocations: 120.7 kB / 389.2 MB, free: 13.96 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000165/0.3495, allocations: 100.5 kB / 389.3 MB, free: 13.89 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3506, allocations: 495 kB / 389.8 MB, free: 13.76 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.3507, allocations: 0 / 389.8 MB, free: 13.76 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.3514, allocations: 326.5 kB / 390.1 MB, free: 13.62 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3518, allocations: 23.16 kB / 390.2 MB, free: 13.62 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3532, allocations: 0.5219 MB / 390.7 MB, free: 13.34 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.3536, allocations: 0.814 MB / 391.5 MB, free: 12.57 MB / 312.6 MB Notification: Performance of SimCode: time 2.724e-06/0.3537, allocations: 0 / 391.5 MB, free: 12.57 MB / 312.6 MB Notification: Performance of Templates: time 0.04748/0.4012, allocations: 6.685 MB / 398.2 MB, free: 9.207 MB / 312.6 MB "Error: Could not read variable gear.Backward in file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat. Warning: Get data of variable gear.Backward from file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat failed! Error: Could not read variable gear.Forward in file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat. Warning: Get data of variable gear.Forward from file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat failed! Error: Could not read variable gear.Free in file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat. Warning: Get data of variable gear.Free from file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat failed! Error: Could not read variable gear.Stuck in file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat. Warning: Get data of variable gear.Stuck from file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat failed! Error: Could not read variable gear.Unknown in file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat. Warning: Get data of variable gear.Unknown from file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat failed! Error: Could not read variable gear.der(w_a) in file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat. Warning: Get data of variable gear.der(w_a) from file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat failed! Error: Could not read variable gear.unitAngularAcceleration in file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat. Warning: Get data of variable gear.unitAngularAcceleration from file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat failed! Error: Could not read variable gear.unitTorque in file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat. Warning: Get data of variable gear.unitTorque from file Modelica_3.2.2__O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3_res.mat failed! " Variables in the reference:Inertia1.J,Inertia1.a,der(Inertia1.phi),der(Inertia1.w),Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,Inertia1.w,Inertia2.J,Inertia2.a,der(Inertia2.phi),der(Inertia2.w),Inertia2.flange_a.phi,Inertia2.flange_a.tau,Inertia2.flange_b.phi,Inertia2.flange_b.tau,Inertia2.phi,Inertia2.w,Time,gear.Backward,gear.Forward,gear.Free,gear.Stuck,gear.Unknown,gear.a_a,der(gear.phi_a),der(gear.w_a),gear.eta_mf1,gear.eta_mf1_0,gear.eta_mf2,gear.eta_mf2_0,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.phi_support,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf1_0,gear.tau_bf2,gear.tau_bf2_0,gear.tau_bf_a,gear.tau_bf_a_0,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.unitAngularAcceleration,gear.unitTorque,gear.w_a,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,torque1.flange.phi,torque1.flange.tau,torque1.phi_support,torque1.tau,torque2.flange.phi,torque2.flange.tau,torque2.phi_support,torque2.tau Variables in the result:Inertia1.J,Inertia1.a,Inertia1.flange_a.phi,Inertia1.flange_a.tau,Inertia1.flange_b.phi,Inertia1.flange_b.tau,Inertia1.phi,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.w,der(Inertia1.w),der(Inertia2.phi),der(Inertia2.w),der(gear.phi_a),gear.a_a,gear.eta_mf1,gear.eta_mf1_0,gear.eta_mf2,gear.eta_mf2_0,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.phi_support,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf1_0,gear.tau_bf2,gear.tau_bf2_0,gear.tau_bf_a,gear.tau_bf_a_0,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.w_a,step.height,step.offset,step.startTime,step.y,step1.height,step1.offset,step1.startTime,step1.y,time,torque1.flange.phi,torque1.flange.tau,torque1.phi_support,torque1.tau,torque2.flange.phi,torque2.flange.tau,torque2.phi_support,torque2.tau