Running command: "" <> buildModelFMU(HanserModelica.Rotational.Drive,fileNamePrefix="HanserModelica_HanserModelica_Rotational_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.189/2.189, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.424e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4679/0.5824, allocations: 81.2 MB / 410.5 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.5827, allocations: 67.09 kB / 410.5 MB, free: 2.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02252/0.6053, allocations: 4.882 MB / 415.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6053, allocations: 0 / 415.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.571e-05/0.6054, allocations: 8 kB / 415.4 MB, free: 14.11 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008759/0.6062, allocations: 466.5 kB / 415.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.6063, allocations: 16.03 kB / 415.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.605e-05/0.6064, allocations: 45.55 kB / 415.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.232e-05/0.6065, allocations: 19.72 kB / 416 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.607, allocations: 258.2 kB / 416.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.6071, allocations: 8.109 kB / 416.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.6071, allocations: 11 kB / 416.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.6075, allocations: 134.6 kB / 416.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.6075, allocations: 0 / 416.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.6076, allocations: 11.19 kB / 416.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.6076, allocations: 0 / 416.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.6079, allocations: 67.27 kB / 416.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.6091, allocations: 0.6404 MB / 417.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.6094, allocations: 91.27 kB / 417.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.6095, allocations: 28.42 kB / 417.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.6096, allocations: 3.938 kB / 417.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.6098, allocations: 84.67 kB / 417.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.495e-06/0.6098, allocations: 0 / 417.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003828/0.6102, allocations: 119.4 kB / 417.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.6103, allocations: 51.41 kB / 417.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.6107, allocations: 246.1 kB / 417.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.6107, allocations: 28.83 kB / 417.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.6109, allocations: 144.5 kB / 417.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.6109, allocations: 33.98 kB / 417.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.611, allocations: 3.188 kB / 417.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6111, allocations: 333.7 kB / 418.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.6112, allocations: 34.31 kB / 418.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.6114, allocations: 69.41 kB / 418.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.6115, allocations: 33.23 kB / 418.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.6115, allocations: 7.953 kB / 418.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003848/0.6119, allocations: 146.1 kB / 418.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.612, allocations: 4 kB / 418.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.612, allocations: 0 / 418.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.612, allocations: 7.984 kB / 418.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.6123, allocations: 27.94 kB / 418.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6123, allocations: 3.984 kB / 418.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.6125, allocations: 7.312 kB / 418.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.6125, allocations: 8 kB / 418.6 MB, free: 11.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.6126, allocations: 120.4 kB / 418.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.6127, allocations: 27.67 kB / 418.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.6131, allocations: 132.1 kB / 418.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6131, allocations: 0 / 418.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6131, allocations: 0 / 418.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.6131, allocations: 0 / 418.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.6135, allocations: 252.4 kB / 419.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6135, allocations: 0 / 419.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.6137, allocations: 23.94 kB / 419.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6138, allocations: 8 kB / 419.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.6138, allocations: 0 / 419.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.6138, allocations: 0 / 419.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6138, allocations: 3.938 kB / 419.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.6143, allocations: 183.8 kB / 419.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.6144, allocations: 107.5 kB / 419.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.6145, allocations: 3.953 kB / 419.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.6146, allocations: 11.48 kB / 419.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.6147, allocations: 12 kB / 419.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.6147, allocations: 7.984 kB / 419.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003003/0.615, allocations: 197.4 kB / 419.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.615, allocations: 0 / 419.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004154/0.6155, allocations: 55.06 kB / 419.7 MB, free: 10 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.w,load.phi) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002387/0.6179, allocations: 1.02 MB / 420.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.6183, allocations: 80.17 kB / 420.8 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6184, allocations: 0 / 420.8 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.6185, allocations: 42.55 kB / 420.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.6191, allocations: 35.86 kB / 420.9 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.621, allocations: 464.2 kB / 421.3 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.6216, allocations: 0.7502 MB / 422.1 MB, free: 7.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.6218, allocations: 19.64 kB / 422.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.622, allocations: 62.86 kB / 422.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.622, allocations: 0 / 422.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08031/0.7023, allocations: 3.98 MB / 426.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003045/0.7027, allocations: 175.6 kB / 426.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.297, allocations: 64 / 426.3 MB, free: 3.488 MB / 346.7 MB