Running command: "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.119/2.119, allocations: 214.7 MB / 226.9 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.288e-05/4.314e-05, allocations: 7.984 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.6278, allocations: 80 MB / 409.3 MB, free: 3.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6281, allocations: 67.53 kB / 409.3 MB, free: 3.434 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04002/0.6682, allocations: 9.531 MB / 418.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6682, allocations: 0 / 418.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.6682, allocations: 0 / 418.9 MB, free: 11.5 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005178/0.6688, allocations: 401.4 kB / 419.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6688, allocations: 8.031 kB / 419.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.136e-05/0.6689, allocations: 117.8 kB / 419.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.6693, allocations: 110.3 kB / 419.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.6697, allocations: 276.8 kB / 419.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.6698, allocations: 150.6 kB / 419.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.6699, allocations: 154.5 kB / 420.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.661e-05/0.67, allocations: 101.5 kB / 420.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.992e-05/0.6701, allocations: 83.27 kB / 420.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.6702, allocations: 154.6 kB / 420.4 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.442e-05/0.6702, allocations: 150.6 kB / 420.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.6703, allocations: 154.5 kB / 420.7 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.6708, allocations: 482.3 kB / 421.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.671, allocations: 169.6 kB / 421.3 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/0.671, allocations: 80.14 kB / 421.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.6711, allocations: 75.28 kB / 421.5 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.381e-05/0.6712, allocations: 112.9 kB / 421.6 MB, free: 8.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 2.755e-06/0.6712, allocations: 4 kB / 421.6 MB, free: 8.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001037/0.6713, allocations: 41.55 kB / 421.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.6714, allocations: 126.7 kB / 421.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.6717, allocations: 165 kB / 421.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.6717, allocations: 25.7 kB / 421.9 MB, free: 8.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.6718, allocations: 101.9 kB / 422 MB, free: 8.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.6718, allocations: 0 / 422 MB, free: 8.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-07/0.6718, allocations: 0 / 422 MB, free: 8.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.672, allocations: 326.4 kB / 422.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-06/0.672, allocations: 0 / 422.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.672, allocations: 0 / 422.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.6721, allocations: 75.28 kB / 422.4 MB, free: 7.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.668e-05/0.6721, allocations: 75.28 kB / 422.5 MB, free: 7.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.206e-05/0.6722, allocations: 33.61 kB / 422.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.6723, allocations: 87.22 kB / 422.6 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.446e-05/0.6723, allocations: 83.17 kB / 422.7 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.692e-05/0.6724, allocations: 154.6 kB / 422.8 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.6725, allocations: 75.28 kB / 422.9 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.361e-05/0.6725, allocations: 162.5 kB / 423.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.6727, allocations: 75.28 kB / 423.2 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.6728, allocations: 75.28 kB / 423.2 MB, free: 6.957 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.000136/0.6729, allocations: 267.1 kB / 423.5 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.673, allocations: 108.9 kB / 423.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.425e-05/0.6731, allocations: 116.4 kB / 423.7 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.899e-05/0.6732, allocations: 180.2 kB / 423.9 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.854e-05/0.6733, allocations: 183 kB / 424.1 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-05/0.6734, allocations: 176.3 kB / 424.2 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.6737, allocations: 434.5 kB / 424.7 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-05/0.6738, allocations: 106.6 kB / 424.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.6738, allocations: 109 kB / 424.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.487e-05/0.6739, allocations: 176.3 kB / 425 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.007e-05/0.674, allocations: 180.2 kB / 425.2 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-05/0.6741, allocations: 180.2 kB / 425.4 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.47e-05/0.6742, allocations: 192.2 kB / 425.6 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.6744, allocations: 303.2 kB / 425.9 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.6745, allocations: 190 kB / 426.1 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6747, allocations: 187.8 kB / 426.2 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.6748, allocations: 109 kB / 426.4 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6749, allocations: 188.1 kB / 426.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.675, allocations: 105 kB / 426.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002039/0.6752, allocations: 138.5 kB / 426.8 MB, free: 3.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6752, allocations: 0 / 426.8 MB, free: 3.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.6756, allocations: 19.88 kB / 426.8 MB, free: 3.211 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006431/0.6763, allocations: 0.8512 MB / 427.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 4.095e-05/0.6764, allocations: 3.953 kB / 427.7 MB, free: 2.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6764, allocations: 0 / 427.7 MB, free: 2.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.6764, allocations: 32 / 427.7 MB, free: 2.332 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.6769, allocations: 0.5301 MB / 428.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.6775, allocations: 239.8 kB / 428.4 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.6779, allocations: 0.6965 MB / 429.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.6779, allocations: 4 kB / 429.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.678, allocations: 24.61 kB / 429.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.193e-06/0.678, allocations: 0 / 429.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08512/0.7631, allocations: 2.439 MB / 431.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.7635, allocations: 153.9 kB / 431.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/3.169, allocations: 7.938 kB / 431.7 MB, free: 14.18 MB / 362.7 MB