Running command: "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.24/2.24, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.871e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 49.7 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.5554, allocations: 79.98 MB / 409.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5557, allocations: 70.34 kB / 409.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04243/0.5982, allocations: 10.28 MB / 419.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5982, allocations: 4 kB / 419.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.5982, allocations: 7.188 kB / 419.6 MB, free: 11.24 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.0005177/0.5988, allocations: 400.5 kB / 420 MB, free: 10.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.5988, allocations: 8.031 kB / 420 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.215e-05/0.5989, allocations: 105.8 kB / 420.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.5994, allocations: 110.2 kB / 420.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.5997, allocations: 276.9 kB / 420.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-05/0.5998, allocations: 154.5 kB / 420.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.5999, allocations: 162.5 kB / 420.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.694e-05/0.5999, allocations: 105.5 kB / 420.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.6, allocations: 79.28 kB / 421 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.683e-05/0.6001, allocations: 154.5 kB / 421.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.6001, allocations: 150.6 kB / 421.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.069e-05/0.6002, allocations: 154.6 kB / 421.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.6006, allocations: 478.4 kB / 421.9 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.6007, allocations: 169.6 kB / 422.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.6007, allocations: 84.12 kB / 422.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.6008, allocations: 79.28 kB / 422.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.6008, allocations: 112.3 kB / 422.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.6009, allocations: 0 / 422.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 9.312e-05/0.601, allocations: 37.61 kB / 422.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.601, allocations: 134.6 kB / 422.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.6013, allocations: 171.9 kB / 422.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.6014, allocations: 25.7 kB / 422.7 MB, free: 7.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.6014, allocations: 107.4 kB / 422.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.6015, allocations: 0 / 422.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-07/0.6015, allocations: 0 / 422.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6016, allocations: 322.5 kB / 423.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.6016, allocations: 0 / 423.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-06/0.6017, allocations: 0 / 423.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.6017, allocations: 75.28 kB / 423.2 MB, free: 7.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.007e-05/0.6017, allocations: 79.28 kB / 423.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.175e-05/0.6018, allocations: 37.52 kB / 423.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.6019, allocations: 83.28 kB / 423.4 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.642e-05/0.6019, allocations: 83.17 kB / 423.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-05/0.602, allocations: 158.5 kB / 423.6 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.212e-05/0.6021, allocations: 75.28 kB / 423.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.547e-05/0.6022, allocations: 154.5 kB / 423.8 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.6023, allocations: 79.28 kB / 423.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.6024, allocations: 83.22 kB / 424 MB, free: 6.668 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.0001221/0.6025, allocations: 254.7 kB / 424.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.6026, allocations: 116.8 kB / 424.4 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.6027, allocations: 113.3 kB / 424.5 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-05/0.6028, allocations: 187.8 kB / 424.7 MB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.327e-05/0.6029, allocations: 188.2 kB / 424.8 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.56e-05/0.6029, allocations: 176.3 kB / 425 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.6032, allocations: 420.3 kB / 425.4 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.07e-05/0.6033, allocations: 106.6 kB / 425.5 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.6033, allocations: 109 kB / 425.6 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.28e-05/0.6034, allocations: 183.8 kB / 425.8 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.558e-05/0.6035, allocations: 188.1 kB / 426 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.349e-05/0.6036, allocations: 176.3 kB / 426.2 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-05/0.6037, allocations: 180.2 kB / 426.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.6039, allocations: 314.8 kB / 426.7 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.604, allocations: 190 kB / 426.8 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.6041, allocations: 184.2 kB / 427 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.6043, allocations: 105 kB / 427.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.6044, allocations: 183.5 kB / 427.3 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.6044, allocations: 104.9 kB / 427.4 MB, free: 3.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.6046, allocations: 143.3 kB / 427.5 MB, free: 2.938 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6047, allocations: 4 kB / 427.5 MB, free: 2.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004036/0.6051, allocations: 18.25 kB / 427.6 MB, free: 2.918 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.000619/0.6057, allocations: 0.8401 MB / 428.4 MB, free: 2.055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 4.524e-05/0.6058, allocations: 4.016 kB / 428.4 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6058, allocations: 4 kB / 428.4 MB, free: 2.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-06/0.6058, allocations: 3.938 kB / 428.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.6063, allocations: 0.5346 MB / 429 MB, free: 1.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.6069, allocations: 237.7 kB / 429.2 MB, free: 1.246 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.6072, allocations: 0.7004 MB / 429.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.584e-05/0.6073, allocations: 4 kB / 429.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.6074, allocations: 26.86 kB / 429.9 MB, free: 0.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6074, allocations: 0 / 429.9 MB, free: 0.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.6332, allocations: 2.48 MB / 432.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004661/0.6338, allocations: 156 kB / 432.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/3.159, allocations: 7.875 kB / 432.6 MB, free: 13.84 MB / 362.7 MB