Running command: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestFanMech,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestFanMech",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.612/2.612, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.418e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4158, allocations: 60.24 MB / 391.1 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9421/1.358, allocations: 356.3 MB / 0.73 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.358, allocations: 79.33 kB / 0.73 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8853/2.244, allocations: 97.4 MB / 0.8252 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/2.244, allocations: 0 / 0.8252 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.02e-05/2.244, allocations: 23.98 kB / 0.8252 GB, free: 135.5 MB / 0.5261 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.00235/2.246, allocations: 0.8729 MB / 0.826 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/2.246, allocations: 12.03 kB / 0.826 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/2.246, allocations: 94.52 kB / 0.8261 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007709/2.247, allocations: 103 kB / 0.8262 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/2.249, allocations: 496.5 kB / 0.8267 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-05/2.249, allocations: 79.02 kB / 0.8268 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/2.249, allocations: 51.95 kB / 0.8268 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/2.25, allocations: 0.6738 MB / 0.8275 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/2.25, allocations: 7.906 kB / 0.8275 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/2.251, allocations: 28 kB / 0.8275 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/2.251, allocations: 12 kB / 0.8275 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/2.252, allocations: 0.518 MB / 0.828 GB, free: 132.4 MB / 0.5261 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.006516/2.258, allocations: 2.751 MB / 0.8307 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/2.26, allocations: 388.5 kB / 0.8311 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/2.26, allocations: 210.2 kB / 0.8313 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002554/2.263, allocations: 1.087 MB / 0.8324 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/2.263, allocations: 54.94 kB / 0.8324 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=50): time 3.467e-06/2.263, allocations: 0 / 0.8324 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.004561/2.267, allocations: 1.586 MB / 0.834 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/2.268, allocations: 115.2 kB / 0.8341 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/2.268, allocations: 444.7 kB / 0.8345 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/2.268, allocations: 41.7 kB / 0.8345 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/2.269, allocations: 312.2 kB / 0.8348 GB, free: 125 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/2.269, allocations: 181.5 kB / 0.835 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/2.269, allocations: 12 kB / 0.835 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001103/2.269, allocations: 374.7 kB / 0.8354 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/2.27, allocations: 193.5 kB / 0.8356 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/2.27, allocations: 385 kB / 0.8359 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/2.271, allocations: 211.5 kB / 0.8361 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/2.271, allocations: 4 kB / 0.8361 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002124/2.273, allocations: 0.7652 MB / 0.8369 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004414/2.274, allocations: 2.1 MB / 0.8389 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/2.274, allocations: 8 kB / 0.8389 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/2.276, allocations: 401.5 kB / 0.8393 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/2.277, allocations: 127.8 kB / 0.8394 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/2.279, allocations: 1.409 MB / 0.8408 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/2.28, allocations: 80 kB / 0.8409 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/2.28, allocations: 68.44 kB / 0.841 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/2.28, allocations: 4 kB / 0.841 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002209/2.282, allocations: 0.663 MB / 0.8416 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/2.282, allocations: 7.953 kB / 0.8416 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008104/2.283, allocations: 269.8 kB / 0.8419 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/2.284, allocations: 147.8 kB / 0.842 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/2.288, allocations: 2.446 MB / 0.8444 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/2.289, allocations: 91.89 kB / 0.8445 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/2.289, allocations: 31.98 kB / 0.8445 GB, free: 114.6 MB / 0.5261 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.0003037/2.289, allocations: 144.8 kB / 0.8447 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/2.29, allocations: 63.25 kB / 0.8447 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/2.292, allocations: 0.6842 MB / 0.8454 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/2.292, allocations: 4 kB / 0.8454 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/2.292, allocations: 0 / 0.8454 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/2.292, allocations: 0 / 0.8454 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/2.295, allocations: 1.34 MB / 0.8467 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/2.296, allocations: 0 / 0.8467 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/2.296, allocations: 87.88 kB / 0.8468 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/2.298, allocations: 361.3 kB / 0.8471 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/2.298, allocations: 23.98 kB / 0.8471 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/2.3, allocations: 1.37 MB / 0.8485 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/2.3, allocations: 0 / 0.8485 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/2.303, allocations: 0.933 MB / 0.8494 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006039/2.303, allocations: 192.3 kB / 0.8496 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/2.304, allocations: 19.98 kB / 0.8496 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/2.305, allocations: 71.94 kB / 0.8497 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/2.305, allocations: 80.3 kB / 0.8497 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/2.305, allocations: 63.81 kB / 0.8498 GB, free: 109 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006162/2.306, allocations: 345.6 kB / 0.8501 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/2.306, allocations: 0 / 0.8501 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002196/2.308, allocations: 427.8 kB / 0.8505 GB, free: 108.2 MB / 0.5261 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.003961/2.312, allocations: 1.706 MB / 0.8522 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003166/2.315, allocations: 1.046 MB / 0.8532 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/2.315, allocations: 5 kB / 0.8532 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/2.316, allocations: 277.5 kB / 0.8535 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/2.319, allocations: 228.5 kB / 0.8537 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/2.322, allocations: 1.028 MB / 0.8547 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/2.323, allocations: 0.8889 MB / 0.8556 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001565/2.324, allocations: 208.4 kB / 0.8558 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/2.325, allocations: 195.4 kB / 0.856 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/2.325, allocations: 0 / 0.856 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07016/2.395, allocations: 25.26 MB / 0.8806 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/2.395, allocations: 170.3 kB / 0.8808 GB, free: 77.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.651/6.046, allocations: 3.938 kB / 0.8808 GB, free: 77.07 MB / 0.5261 GB