Running command: translateModel(ThermoPower.Test.GasComponents.TestFanMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestFanMech") Notification: Performance of loadModel(ThermoPower): time 2.175/2.175, allocations: 254.6 MB / 267.7 MB, free: 12.46 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.234e-05, allocations: 4 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3571, allocations: 60.23 MB / 391 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9636/1.321, allocations: 356.4 MB / 0.7299 GB, free: 201.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/1.321, allocations: 79.41 kB / 0.7299 GB, free: 201.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2864/1.607, allocations: 97.38 MB / 0.825 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.015e-06/1.608, allocations: 0 / 0.825 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.002e-05/1.608, allocations: 16 kB / 0.8251 GB, free: 104.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001893/1.609, allocations: 0.8768 MB / 0.8259 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.61, allocations: 8.031 kB / 0.8259 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007652/1.61, allocations: 107 kB / 0.826 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/1.611, allocations: 496.5 kB / 0.8265 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.997e-05/1.612, allocations: 75 kB / 0.8266 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.612, allocations: 63.95 kB / 0.8266 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/1.613, allocations: 0.666 MB / 0.8273 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/1.613, allocations: 11.84 kB / 0.8273 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.613, allocations: 20 kB / 0.8273 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/1.613, allocations: 20 kB / 0.8273 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/1.615, allocations: 0.518 MB / 0.8278 GB, free: 101.6 MB / 0.5105 GB 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 preOpt removeSimpleEquations (simulation): time 0.005053/1.62, allocations: 2.763 MB / 0.8305 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009122/1.621, allocations: 382.2 kB / 0.8309 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/1.621, allocations: 214.1 kB / 0.8311 GB, free: 98.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002073/1.623, allocations: 1.068 MB / 0.8322 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.623, allocations: 50.92 kB / 0.8322 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 5.288e-06/1.623, allocations: 0 / 0.8322 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.003903/1.627, allocations: 1.594 MB / 0.8338 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/1.627, allocations: 111.2 kB / 0.8339 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/1.628, allocations: 448.7 kB / 0.8343 GB, free: 94.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.628, allocations: 37.7 kB / 0.8343 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/1.628, allocations: 312.2 kB / 0.8346 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/1.628, allocations: 185.5 kB / 0.8348 GB, free: 94.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/1.628, allocations: 16 kB / 0.8348 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.629, allocations: 362.8 kB / 0.8352 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/1.629, allocations: 201.5 kB / 0.8354 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/1.63, allocations: 377 kB / 0.8357 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/1.63, allocations: 211.2 kB / 0.8359 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.257e-06/1.63, allocations: 0 / 0.8359 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001825/1.632, allocations: 0.7729 MB / 0.8367 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004183/1.632, allocations: 2.089 MB / 0.8387 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.632, allocations: 4 kB / 0.8387 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/1.634, allocations: 405.3 kB / 0.8391 GB, free: 89.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/1.635, allocations: 123.8 kB / 0.8392 GB, free: 89.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/1.636, allocations: 1.421 MB / 0.8406 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009622/1.637, allocations: 80 kB / 0.8407 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.637, allocations: 68.52 kB / 0.8407 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.638, allocations: 4.781 kB / 0.8408 GB, free: 87.63 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00183/1.639, allocations: 0.6708 MB / 0.8414 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.639, allocations: 4 kB / 0.8414 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006814/1.64, allocations: 269.6 kB / 0.8417 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/1.641, allocations: 151.8 kB / 0.8418 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/1.644, allocations: 2.448 MB / 0.8442 GB, free: 83.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/1.645, allocations: 83.89 kB / 0.8443 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/1.645, allocations: 35.98 kB / 0.8443 GB, free: 83.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (Clutch1.free,$PRE.Clutch1.startForward,Clutch1.startForward,$PRE.Clutch1.startBackward,Clutch1.startBackward,Clutch1.locked,$PRE.Clutch1.mode,Clutch1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002515/1.645, allocations: 144.8 kB / 0.8445 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/1.645, allocations: 63.25 kB / 0.8445 GB, free: 83.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/1.647, allocations: 0.6763 MB / 0.8452 GB, free: 82.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/1.647, allocations: 11.94 kB / 0.8452 GB, free: 82.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-06/1.647, allocations: 0 / 0.8452 GB, free: 82.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.08e-06/1.647, allocations: 7.984 kB / 0.8452 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/1.65, allocations: 1.324 MB / 0.8465 GB, free: 81.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.028e-06/1.65, allocations: 7.938 kB / 0.8465 GB, free: 81.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/1.651, allocations: 71.95 kB / 0.8466 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/1.652, allocations: 361.5 kB / 0.8469 GB, free: 81.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/1.652, allocations: 27.92 kB / 0.8469 GB, free: 81.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/1.654, allocations: 1.372 MB / 0.8483 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.013e-06/1.654, allocations: 3.984 kB / 0.8483 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/1.656, allocations: 0.933 MB / 0.8492 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/1.656, allocations: 200.3 kB / 0.8494 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/1.656, allocations: 12 kB / 0.8494 GB, free: 78.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007658/1.657, allocations: 79.94 kB / 0.8495 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/1.657, allocations: 80.22 kB / 0.8495 GB, free: 78.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.657, allocations: 59.83 kB / 0.8496 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005184/1.658, allocations: 345.6 kB / 0.8499 GB, free: 77.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.8e-07/1.658, allocations: 4 kB / 0.8499 GB, free: 77.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001721/1.66, allocations: 419.8 kB / 0.8503 GB, free: 77.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ConstantSpeed1.phi,Clutch1.phi_rel,Clutch1.w_rel) * Number of discrete variables: 5 (Clutch1.free,Clutch1.startForward,Clutch1.startBackward,Clutch1.locked,Clutch1.mode) * Number of discrete states: 3 (Clutch1.mode,Clutch1.startBackward,Clutch1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.000856/1.661, allocations: 357.5 kB / 0.8507 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002463/1.663, allocations: 1.047 MB / 0.8517 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/1.663, allocations: 4.062 kB / 0.8517 GB, free: 76.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008261/1.664, allocations: 277.5 kB / 0.852 GB, free: 75.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.665, allocations: 218 kB / 0.8522 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/1.667, allocations: 0.8788 MB / 0.853 GB, free: 74.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/1.668, allocations: 0.885 MB / 0.8539 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001283/1.669, allocations: 208.4 kB / 0.8541 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/1.669, allocations: 39.42 kB / 0.8541 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.78e-06/1.669, allocations: 0 / 0.8541 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.03813/1.707, allocations: 19.54 MB / 0.8732 GB, free: 53.96 MB / 0.5105 GB