Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.28/2.28, allocations: 231.9 MB / 244 MB, free: 0.8047 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.592e-05, allocations: 7.984 kB / 300.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 53.34 MB / 353.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4912/0.6092, allocations: 81.62 MB / 435.3 MB, free: 7.926 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.6096, allocations: 73 kB / 435.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09381/0.7034, allocations: 20.33 MB / 455.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7034, allocations: 0 / 455.7 MB, free: 3.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.28e-05/0.7036, allocations: 28 kB / 455.7 MB, free: 3.438 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.007926/0.7115, allocations: 1.605 MB / 457.3 MB, free: 1.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.7116, allocations: 12.03 kB / 457.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004644/0.712, allocations: 126.4 kB / 457.5 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005366/0.7174, allocations: 0.5448 MB / 458 MB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.72, allocations: 0.7194 MB / 458.7 MB, free: 344 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004546/0.7205, allocations: 268.1 kB / 459 MB, free: 36 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/0.7208, allocations: 72.05 kB / 459.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.7237, allocations: 0.9188 MB / 460 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.7237, allocations: 0 / 460 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.7239, allocations: 28 kB / 460 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.7239, allocations: 20 kB / 460 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.7267, allocations: 0.828 MB / 460.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.7379, allocations: 3.432 MB / 464.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/0.7404, allocations: 0.9669 MB / 465.3 MB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.7422, allocations: 0.5621 MB / 465.8 MB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.7424, allocations: 20.75 kB / 465.9 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.7424, allocations: 39.34 kB / 465.9 MB, free: 8.902 MB / 394.7 MB Notification: Performance of pre-optimization done (n=85): time 3.046e-06/0.7424, allocations: 0 / 465.9 MB, free: 8.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.02367/0.7661, allocations: 4.023 MB / 469.9 MB, free: 4.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.7662, allocations: 85.89 kB / 470 MB, free: 4.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.7679, allocations: 0.6686 MB / 470.7 MB, free: 4.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003031/0.7682, allocations: 45.7 kB / 470.7 MB, free: 4.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000466/0.7687, allocations: 436.3 kB / 471.1 MB, free: 3.605 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.7692, allocations: 287.7 kB / 471.4 MB, free: 3.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.7693, allocations: 16 kB / 471.4 MB, free: 3.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.7695, allocations: 341.9 kB / 471.8 MB, free: 2.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.7709, allocations: 434 kB / 472.2 MB, free: 2.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.7724, allocations: 0.5247 MB / 472.7 MB, free: 1.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.7739, allocations: 478.8 kB / 473.2 MB, free: 1.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.774, allocations: 0 / 473.2 MB, free: 1.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.02378/0.7977, allocations: 4.137 MB / 477.3 MB, free: 13.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003727/0.7982, allocations: 0.7912 MB / 478.1 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.7982, allocations: 4 kB / 478.1 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/0.8092, allocations: 1.706 MB / 479.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.8104, allocations: 123.8 kB / 479.9 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02815/0.8386, allocations: 7.29 MB / 487.2 MB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.8412, allocations: 195.1 kB / 487.4 MB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/0.8416, allocations: 28 kB / 487.5 MB, free: 3.027 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8416, allocations: 8 kB / 487.5 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02388/0.8655, allocations: 4.007 MB / 491.5 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.8656, allocations: 7.984 kB / 491.5 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.8765, allocations: 1.702 MB / 493.2 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.8777, allocations: 119.8 kB / 493.3 MB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02794/0.9057, allocations: 7.283 MB / 0.4888 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.9081, allocations: 179.3 kB / 0.489 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/0.9083, allocations: 28 kB / 0.489 GB, free: 5.547 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: TGtypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004209/0.9088, allocations: 160.8 kB / 0.4892 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.9092, allocations: 98.78 kB / 0.4893 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02352/0.9327, allocations: 4.144 MB / 0.4933 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.9328, allocations: 8 kB / 0.4933 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9328, allocations: 4 kB / 0.4933 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/0.9329, allocations: 3.984 kB / 0.4934 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02657/0.9594, allocations: 5.538 MB / 0.4988 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.9595, allocations: 7.984 kB / 0.4988 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.9607, allocations: 103.8 kB / 0.4989 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01013/0.9708, allocations: 1.675 MB / 0.5005 GB, free: 9.676 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002801/0.9712, allocations: 16 kB / 0.5005 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02409/0.9953, allocations: 6.333 MB / 0.5067 GB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9953, allocations: 4 kB / 0.5067 GB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02723/1.023, allocations: 4.877 MB / 0.5115 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/1.023, allocations: 191.7 kB / 0.5117 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004406/1.024, allocations: 16 kB / 0.5117 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/1.027, allocations: 143.9 kB / 0.5118 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/1.028, allocations: 200.4 kB / 0.512 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/1.028, allocations: 24 kB / 0.512 GB, free: 13.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001749/1.03, allocations: 0.5265 MB / 0.5125 GB, free: 13.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.03, allocations: 0 / 0.5125 GB, free: 13.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004201/1.034, allocations: 0.6006 MB / 0.5131 GB, free: 12.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGtypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0325/1.067, allocations: 5.488 MB / 0.5185 GB, free: 7.051 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01787/1.085, allocations: 3.471 MB / 0.5219 GB, free: 3.555 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/1.085, allocations: 0 / 0.5219 GB, free: 3.555 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007886/1.093, allocations: 1.439 MB / 0.5233 GB, free: 2.105 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000971/1.094, allocations: 79.3 kB / 0.5233 GB, free: 2.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/1.1, allocations: 1.642 MB / 0.525 GB, free: 352 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4152/1.515, allocations: 1.067 MB / 0.526 GB, free: 138 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002079/1.518, allocations: 148.9 kB / 0.5261 GB, free: 138 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/1.519, allocations: 355.6 kB / 0.5265 GB, free: 138 MB / 458.7 MB Notification: Performance of SimCode: time 2.575e-06/1.519, allocations: 0 / 0.5265 GB, free: 138 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/1.644, allocations: 35.84 MB / 0.5615 GB, free: 130.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/1.644, allocations: 171.5 kB / 0.5616 GB, free: 130.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.924/5.569, allocations: 0 / 0.5616 GB, free: 130.3 MB / 458.7 MB