Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.294/2.294, allocations: 231.9 MB / 244 MB, free: 0.7188 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.714e-05, allocations: 7.984 kB / 300.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 53.34 MB / 353.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4436/0.5626, allocations: 81.53 MB / 435.2 MB, free: 7.996 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/0.563, allocations: 71.97 kB / 435.3 MB, free: 7.926 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09633/0.6594, allocations: 20.7 MB / 456 MB, free: 3.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6594, allocations: 0 / 456 MB, free: 3.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.669e-05/0.6595, allocations: 16 kB / 456 MB, free: 3.145 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007981/0.6675, allocations: 1.692 MB / 457.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.6676, allocations: 15.97 kB / 457.7 MB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00041/0.668, allocations: 122.7 kB / 457.8 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005231/0.6732, allocations: 0.5487 MB / 458.4 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.6755, allocations: 0.6924 MB / 459.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004648/0.676, allocations: 268.2 kB / 459.3 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.6764, allocations: 76 kB / 459.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.6791, allocations: 0.847 MB / 460.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.6792, allocations: 0 / 460.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.6794, allocations: 32 kB / 460.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.6794, allocations: 16 kB / 460.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.6821, allocations: 0.8436 MB / 461.2 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.6931, allocations: 3.486 MB / 464.6 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.6956, allocations: 0.9672 MB / 465.6 MB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.6972, allocations: 0.5778 MB / 466.2 MB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.6974, allocations: 12.77 kB / 466.2 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.6975, allocations: 43.28 kB / 466.2 MB, free: 8.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 4.318e-06/0.6975, allocations: 3.938 kB / 466.2 MB, free: 8.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.02371/0.7212, allocations: 4.058 MB / 470.3 MB, free: 4.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.7214, allocations: 64.14 kB / 470.4 MB, free: 4.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.7229, allocations: 0.6493 MB / 471 MB, free: 3.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003671/0.7233, allocations: 45.64 kB / 471.1 MB, free: 3.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/0.7239, allocations: 464.4 kB / 471.5 MB, free: 3.227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006836/0.7246, allocations: 319.2 kB / 471.8 MB, free: 2.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.7248, allocations: 20 kB / 471.8 MB, free: 2.891 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.725, allocations: 337.9 kB / 472.2 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.7265, allocations: 446 kB / 472.6 MB, free: 2.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.7284, allocations: 0.5286 MB / 473.1 MB, free: 1.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.7301, allocations: 478 kB / 473.6 MB, free: 1.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.7302, allocations: 4 kB / 473.6 MB, free: 1.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0245/0.7547, allocations: 4.137 MB / 477.7 MB, free: 12.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.7548, allocations: 8 kB / 477.8 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.7548, allocations: 4 kB / 477.8 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.7657, allocations: 1.71 MB / 479.5 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.7673, allocations: 151.8 kB / 479.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02801/0.7953, allocations: 7.295 MB / 486.9 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.7978, allocations: 203.1 kB / 487.1 MB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.798, allocations: 24 kB / 487.1 MB, free: 3.402 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 (70): * Single equations (assignments): 69 * 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.0003676/0.7983, allocations: 148.9 kB / 487.3 MB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.7987, allocations: 98.78 kB / 487.4 MB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02766/0.8263, allocations: 4.18 MB / 491.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.8264, allocations: 12 kB / 491.6 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.8265, allocations: 0 / 491.6 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.383e-05/0.8265, allocations: 7.922 kB / 491.6 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03965/0.8662, allocations: 5.585 MB / 497.2 MB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.8663, allocations: 3.984 kB / 497.2 MB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/0.8687, allocations: 135.8 kB / 497.3 MB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.015/0.8838, allocations: 1.683 MB / 499 MB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003261/0.8842, allocations: 16 kB / 499 MB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02642/0.9106, allocations: 6.344 MB / 0.4935 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9107, allocations: 0 / 0.4935 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03615/0.9468, allocations: 4.921 MB / 0.4983 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006263/0.9475, allocations: 195.6 kB / 0.4985 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/0.9481, allocations: 20 kB / 0.4985 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/0.9512, allocations: 151.9 kB / 0.4986 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001809/0.9531, allocations: 208.4 kB / 0.4988 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/0.9534, allocations: 23.98 kB / 0.4989 GB, free: 11.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001632/0.955, allocations: 0.507 MB / 0.4994 GB, free: 10.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.9551, allocations: 0 / 0.4994 GB, free: 10.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002788/0.9579, allocations: 399.5 kB / 0.4997 GB, free: 10.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 60 * 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.03322/0.9911, allocations: 5.524 MB / 0.5051 GB, free: 4.922 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009694/1.001, allocations: 1.977 MB / 0.5071 GB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.001, allocations: 0 / 0.5071 GB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00818/1.009, allocations: 1.467 MB / 0.5085 GB, free: 1.457 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.01, allocations: 74.23 kB / 0.5086 GB, free: 1.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00592/1.016, allocations: 1.545 MB / 0.5101 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008433/1.017, allocations: 1.061 MB / 0.5111 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005596/1.018, allocations: 73.44 kB / 0.5112 GB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008417/1.019, allocations: 387.2 kB / 0.5116 GB, free: 14.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/1.019, allocations: 0 / 0.5116 GB, free: 14.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4898/1.509, allocations: 27.69 MB / 0.5386 GB, free: 137.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/1.509, allocations: 192.4 kB / 0.5388 GB, free: 137.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.774/5.283, allocations: 0 / 0.5388 GB, free: 137.1 MB / 458.7 MB