Running command: translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.615e-05, allocations: 4 kB / 347 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3188, allocations: 61.87 MB / 408.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.479, allocations: 106.4 MB / 0.5032 GB, free: 104 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.4792, allocations: 59.98 kB / 0.5032 GB, free: 44 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4698/0.9491, allocations: 50.04 MB / 0.5521 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.9491, allocations: 0 / 0.5521 GB, free: 89.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.9492, allocations: 51.98 kB / 0.5521 GB, free: 89.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.005988/0.9552, allocations: 2.344 MB / 0.5544 GB, free: 86.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.9553, allocations: 8.031 kB / 0.5544 GB, free: 86.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.9565, allocations: 296.9 kB / 0.5547 GB, free: 86.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.9586, allocations: 0.9823 MB / 0.5557 GB, free: 85.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007928/0.9594, allocations: 460.1 kB / 0.5561 GB, free: 84.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004953/0.9599, allocations: 243.7 kB / 0.5563 GB, free: 84.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00502/0.965, allocations: 2.315 MB / 0.5586 GB, free: 82.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.9651, allocations: 35.55 kB / 0.5586 GB, free: 82.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/0.9654, allocations: 92 kB / 0.5587 GB, free: 82.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.9655, allocations: 52 kB / 0.5588 GB, free: 82.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/0.9704, allocations: 2.168 MB / 0.5609 GB, free: 79.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.9851, allocations: 6.755 MB / 0.5675 GB, free: 73.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.9893, allocations: 2.224 MB / 0.5697 GB, free: 70.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/0.9917, allocations: 1.205 MB / 0.5708 GB, free: 69.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.992, allocations: 126.9 kB / 0.571 GB, free: 69.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.992, allocations: 80.38 kB / 0.571 GB, free: 69.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=280): time 8.49e-06/0.9921, allocations: 0 / 0.571 GB, free: 69.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=338): time 0.02519/1.017, allocations: 11.09 MB / 0.5819 GB, free: 57.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/1.018, allocations: 325.5 kB / 0.5822 GB, free: 57.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/1.021, allocations: 0.912 MB / 0.5831 GB, free: 56.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008959/1.022, allocations: 89.7 kB / 0.5832 GB, free: 56.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008763/1.023, allocations: 0.6538 MB / 0.5838 GB, free: 55.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002019/1.025, allocations: 1.14 MB / 0.5849 GB, free: 54.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005401/1.025, allocations: 60 kB / 0.585 GB, free: 54.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003419/1.026, allocations: 433.5 kB / 0.5854 GB, free: 53.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00572/1.032, allocations: 1.01 MB / 0.5864 GB, free: 52.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01845/1.05, allocations: 1.406 MB / 0.5877 GB, free: 51.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005742/1.056, allocations: 1.009 MB / 0.5887 GB, free: 50.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/1.056, allocations: 4 kB / 0.5887 GB, free: 50.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.03791/1.094, allocations: 3.191 MB / 0.5918 GB, free: 47.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/1.094, allocations: 8 kB / 0.5918 GB, free: 47.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.259e-05/1.094, allocations: 12 kB / 0.5919 GB, free: 47.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006135/1.1, allocations: 1.019 MB / 0.5929 GB, free: 46.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008085/1.108, allocations: 0.7529 MB / 0.5936 GB, free: 45.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009802/1.118, allocations: 7.393 MB / 0.6008 GB, free: 37.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/1.121, allocations: 299.8 kB / 0.6011 GB, free: 37.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003618/1.121, allocations: 128 kB / 0.6012 GB, free: 37.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 38 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.mode,gear2_1.lossyGear.ideal,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,lossyGear.ideal,bearingFriction.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (338): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 22,2 25,1 6,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006579/1.122, allocations: 284.3 kB / 0.6015 GB, free: 36.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006447/1.123, allocations: 217.4 kB / 0.6017 GB, free: 36.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005234/1.128, allocations: 2.281 MB / 0.6039 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.385e-05/1.128, allocations: 39.89 kB / 0.604 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.128, allocations: 4 kB / 0.604 GB, free: 34.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-05/1.128, allocations: 23.94 kB / 0.604 GB, free: 34.33 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/1.145, allocations: 7.336 MB / 0.6112 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/1.145, allocations: 8 kB / 0.6112 GB, free: 26.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003906/1.149, allocations: 0.7381 MB / 0.6119 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/1.152, allocations: 1.009 MB / 0.6129 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004089/1.152, allocations: 99.92 kB / 0.613 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/1.163, allocations: 10.02 MB / 0.6228 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.163, allocations: 15.94 kB / 0.6228 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.174, allocations: 5.741 MB / 0.6284 GB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.175, allocations: 0.5333 MB / 0.6289 GB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004788/1.176, allocations: 87.95 kB / 0.629 GB, free: 7.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002615/1.178, allocations: 303.8 kB / 0.6293 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009974/1.179, allocations: 453.1 kB / 0.6297 GB, free: 6.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003166/1.18, allocations: 123.9 kB / 0.6298 GB, free: 6.699 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001123/1.181, allocations: 0.7011 MB / 0.6305 GB, free: 5.992 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.88e-07/1.181, allocations: 0 / 0.6305 GB, free: 5.992 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002944/1.184, allocations: 0.7381 MB / 0.6312 GB, free: 5.254 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 31 (inertia17.phi,inertia17.w,elastoBacklash2.phi_rel,elastoBacklash2.w_rel,inertia14.phi,inertia14.w,constantSpeed.phi,position.phi,position.w,speed.phi,speed.w,inertia13.phi,inertia13.w,accelerate.phi,accelerate.w,gear2_1.phi_rel,gear2_1.w_rel,relativeStates.phi_rel,relativeStates.w_rel,inertia2.phi,inertia2.w,damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,clutch.phi_rel,clutch.w_rel,inertia6.phi,inertia6.w) * Number of discrete variables: 24 (gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,lossyGear.mode,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startBackward,clutch.startForward,gear2_1.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 5 {2 21,1 5,1 6,2 23,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005327/1.184, allocations: 275.1 kB / 0.6315 GB, free: 4.977 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005979/1.19, allocations: 3.015 MB / 0.6344 GB, free: 1.918 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.32e-06/1.19, allocations: 4.125 kB / 0.6344 GB, free: 1.914 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005867/1.196, allocations: 2.485 MB / 0.6369 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.199, allocations: 310.5 kB / 0.6372 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/1.213, allocations: 5.739 MB / 0.6428 GB, free: 9.191 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/1.215, allocations: 1.596 MB / 0.6443 GB, free: 7.559 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.216, allocations: 203.3 kB / 0.6445 GB, free: 7.359 MB / 458.7 MB Notification: Performance of SimCode: time 1.948e-06/1.216, allocations: 0 / 0.6445 GB, free: 7.359 MB / 458.7 MB Notification: Performance of Templates: time 0.104/1.32, allocations: 71.07 MB / 0.7139 GB, free: 224 kB / 0.5105 GB