Running command: "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.191/2.191, allocations: 214.7 MB / 226.9 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.846e-05, allocations: 4 kB / 279.6 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 49.71 MB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5615, allocations: 79.92 MB / 409.2 MB, free: 3.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5618, allocations: 64.47 kB / 409.3 MB, free: 3.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04048/0.6024, allocations: 9.712 MB / 419 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.6024, allocations: 0 / 419 MB, free: 11.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.6024, allocations: 3.938 kB / 419 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.0005709/0.603, allocations: 401.3 kB / 419.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.6031, allocations: 8.031 kB / 419.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.874e-05/0.6032, allocations: 109.8 kB / 419.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005022/0.6037, allocations: 110.6 kB / 419.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.604, allocations: 278 kB / 419.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.6041, allocations: 158.4 kB / 420 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.6042, allocations: 154.5 kB / 420.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.977e-05/0.6043, allocations: 101 kB / 420.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.6043, allocations: 79.81 kB / 420.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.6044, allocations: 154.6 kB / 420.5 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-05/0.6044, allocations: 150.6 kB / 420.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.677e-05/0.6045, allocations: 150.6 kB / 420.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.6049, allocations: 483.8 kB / 421.3 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.277e-05/0.605, allocations: 169.6 kB / 421.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.6051, allocations: 84.14 kB / 421.5 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.6051, allocations: 83.27 kB / 421.6 MB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.373e-05/0.6052, allocations: 113.8 kB / 421.7 MB, free: 8.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 2.565e-06/0.6052, allocations: 0 / 421.7 MB, free: 8.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001055/0.6053, allocations: 37.64 kB / 421.7 MB, free: 8.574 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.6054, allocations: 130.6 kB / 421.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.6057, allocations: 175.5 kB / 422 MB, free: 8.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.6058, allocations: 25.7 kB / 422.1 MB, free: 8.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.6058, allocations: 105.8 kB / 422.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.6058, allocations: 0 / 422.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/0.6059, allocations: 0 / 422.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.606, allocations: 322.7 kB / 422.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.606, allocations: 0 / 422.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-06/0.606, allocations: 0 / 422.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.6061, allocations: 79.28 kB / 422.6 MB, free: 7.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/0.6061, allocations: 75.28 kB / 422.6 MB, free: 7.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.045e-05/0.6062, allocations: 40.58 kB / 422.7 MB, free: 7.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.848e-05/0.6062, allocations: 83.28 kB / 422.7 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.6063, allocations: 83.17 kB / 422.8 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.08e-05/0.6064, allocations: 150.6 kB / 423 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.612e-05/0.6064, allocations: 75.28 kB / 423 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-05/0.6065, allocations: 162.5 kB / 423.2 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.6066, allocations: 79.28 kB / 423.3 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.6067, allocations: 75.28 kB / 423.4 MB, free: 6.934 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.0001201/0.6068, allocations: 255.5 kB / 423.6 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.6069, allocations: 116.8 kB / 423.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.607, allocations: 117.3 kB / 423.8 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.176e-05/0.6071, allocations: 184.2 kB / 424 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.25e-05/0.6072, allocations: 180.2 kB / 424.2 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.637e-05/0.6072, allocations: 176.3 kB / 424.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.6076, allocations: 427.6 kB / 424.8 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.835e-05/0.6077, allocations: 110.6 kB / 424.9 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.6077, allocations: 109 kB / 425 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/0.6078, allocations: 180.2 kB / 425.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/0.6079, allocations: 188.1 kB / 425.4 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.736e-05/0.608, allocations: 179.8 kB / 425.5 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.298e-05/0.608, allocations: 184.2 kB / 425.7 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.6082, allocations: 307.7 kB / 426 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.6084, allocations: 197.4 kB / 426.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/0.6085, allocations: 180.2 kB / 426.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.6086, allocations: 105 kB / 426.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.6087, allocations: 184.2 kB / 426.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.6088, allocations: 108.9 kB / 426.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.609, allocations: 137.6 kB / 426.9 MB, free: 3.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.609, allocations: 0 / 426.9 MB, free: 3.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.6094, allocations: 19.98 kB / 426.9 MB, free: 3.18 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.0006383/0.6101, allocations: 0.8354 MB / 427.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 4.499e-05/0.6102, allocations: 0 / 427.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6102, allocations: 0 / 427.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.859e-06/0.6102, allocations: 3.938 kB / 427.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.6107, allocations: 0.5341 MB / 428.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.6113, allocations: 236.8 kB / 428.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.6117, allocations: 0.6965 MB / 429.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.6117, allocations: 8 kB / 429.2 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.6118, allocations: 21.48 kB / 429.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of SimCode: time 1.894e-06/0.6118, allocations: 0 / 429.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.6379, allocations: 2.257 MB / 431.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/0.6383, allocations: 159.9 kB / 431.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.104, allocations: 7.938 kB / 431.7 MB, free: 14.34 MB / 362.7 MB