Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.165/2.165, allocations: 231.9 MB / 244 MB, free: 0.7188 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.042e-05, allocations: 8 kB / 300.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 53.34 MB / 353.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4821/0.5995, allocations: 79.95 MB / 433.6 MB, free: 9.578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.5999, allocations: 75.94 kB / 433.7 MB, free: 9.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08327/0.6832, allocations: 18.07 MB / 451.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6832, allocations: 0 / 451.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.854e-05/0.6833, allocations: 16 kB / 451.8 MB, free: 7.363 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.007413/0.6907, allocations: 1.494 MB / 453.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.6908, allocations: 12.03 kB / 453.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004287/0.6912, allocations: 110.5 kB / 453.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005286/0.6965, allocations: 0.5217 MB / 453.9 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.6989, allocations: 0.6413 MB / 454.6 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/0.6994, allocations: 259.8 kB / 454.8 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.6997, allocations: 60 kB / 454.9 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.7022, allocations: 0.7537 MB / 455.6 MB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.7023, allocations: 4 kB / 455.6 MB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.7024, allocations: 24 kB / 455.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.7025, allocations: 16 kB / 455.7 MB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.705, allocations: 0.7524 MB / 456.4 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.7151, allocations: 3.132 MB / 459.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.7176, allocations: 0.8822 MB / 460.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.7192, allocations: 0.523 MB / 461 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.7194, allocations: 16.77 kB / 461 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.7195, allocations: 43.28 kB / 461 MB, free: 13.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 4.598e-06/0.7195, allocations: 0 / 461 MB, free: 13.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.02335/0.7429, allocations: 3.941 MB / 465 MB, free: 9.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.743, allocations: 64.19 kB / 465 MB, free: 9.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.7443, allocations: 0.5507 MB / 465.6 MB, free: 9.168 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002638/0.7446, allocations: 45.64 kB / 465.6 MB, free: 9.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.745, allocations: 384.3 kB / 466 MB, free: 8.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/0.7455, allocations: 260.1 kB / 466.3 MB, free: 8.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.7457, allocations: 16 kB / 466.3 MB, free: 8.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.7458, allocations: 333.9 kB / 466.6 MB, free: 8.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.7472, allocations: 401.6 kB / 467 MB, free: 7.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.7486, allocations: 499.6 kB / 467.5 MB, free: 7.219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.75, allocations: 438 kB / 467.9 MB, free: 6.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.75, allocations: 0 / 467.9 MB, free: 6.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.02343/0.7735, allocations: 4.027 MB / 471.9 MB, free: 2.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.7736, allocations: 10.5 kB / 471.9 MB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.7736, allocations: 4 kB / 471.9 MB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/0.7841, allocations: 1.714 MB / 473.7 MB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.7851, allocations: 95.89 kB / 473.8 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02702/0.8122, allocations: 7.104 MB / 480.9 MB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.8144, allocations: 163.3 kB / 481 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.8146, allocations: 31.98 kB / 481.1 MB, free: 9.488 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 prepare postOptimizeDAE: time 0.0003291/0.8149, allocations: 132.9 kB / 481.2 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.8152, allocations: 82.97 kB / 481.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02309/0.8383, allocations: 4.064 MB / 485.3 MB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.8384, allocations: 8 kB / 485.3 MB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.8384, allocations: 4 kB / 485.3 MB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.8384, allocations: 3.984 kB / 485.3 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/0.8639, allocations: 5.319 MB / 490.7 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.864, allocations: 0 / 490.7 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009523/0.8649, allocations: 87.89 kB / 490.7 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01005/0.875, allocations: 1.687 MB / 492.4 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/0.8752, allocations: 16 kB / 492.4 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02317/0.8984, allocations: 6.341 MB / 498.8 MB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8985, allocations: 0 / 498.8 MB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03409/0.9326, allocations: 4.721 MB / 0.4917 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.9332, allocations: 179.8 kB / 0.4919 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004331/0.9337, allocations: 16.06 kB / 0.4919 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/0.9365, allocations: 119.9 kB / 0.492 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001571/0.9382, allocations: 196.4 kB / 0.4922 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/0.9384, allocations: 20 kB / 0.4922 GB, free: 2.191 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001435/0.9398, allocations: 455.2 kB / 0.4927 GB, free: 1.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.9399, allocations: 0 / 0.4927 GB, free: 1.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0027/0.9426, allocations: 359.5 kB / 0.493 GB, free: 1.398 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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.04058/0.9832, allocations: 5.309 MB / 0.4982 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0126/0.9959, allocations: 1.863 MB / 0.5 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.996, allocations: 0 / 0.5 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007952/1.004, allocations: 1.412 MB / 0.5014 GB, free: 8.762 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/1.005, allocations: 62.94 kB / 0.5014 GB, free: 8.703 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/1.009, allocations: 1.28 MB / 0.5027 GB, free: 7.375 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/1.01, allocations: 1.005 MB / 0.5037 GB, free: 6.344 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004814/1.011, allocations: 57.06 kB / 0.5037 GB, free: 6.285 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000715/1.011, allocations: 303.3 kB / 0.504 GB, free: 5.988 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/1.011, allocations: 0 / 0.504 GB, free: 5.988 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3879/1.399, allocations: 25 MB / 0.5284 GB, free: 141.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/1.4, allocations: 166.4 kB / 0.5286 GB, free: 141.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.538/4.937, allocations: 0 / 0.5286 GB, free: 141.7 MB / 458.7 MB