Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.123/2.123, allocations: 231.9 MB / 244 MB, free: 0.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.469e-05, allocations: 4 kB / 300.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 53.34 MB / 353.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.567, allocations: 80.8 MB / 434.5 MB, free: 8.715 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5673, allocations: 79.95 kB / 434.6 MB, free: 8.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0939/0.6612, allocations: 19.31 MB / 453.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6613, allocations: 8 kB / 453.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.819e-05/0.6614, allocations: 20 kB / 453.9 MB, free: 5.238 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.007747/0.6691, allocations: 1.587 MB / 455.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.6692, allocations: 12.03 kB / 455.5 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004181/0.6696, allocations: 122.5 kB / 455.6 MB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/0.675, allocations: 0.5333 MB / 456.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.6775, allocations: 0.6759 MB / 456.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004609/0.678, allocations: 272.2 kB / 457.1 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.6783, allocations: 72.34 kB / 457.2 MB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.681, allocations: 0.8914 MB / 458.1 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.681, allocations: 3.938 kB / 458.1 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.6812, allocations: 28 kB / 458.1 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.6812, allocations: 16 kB / 458.1 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.6838, allocations: 0.7928 MB / 458.9 MB, free: 96 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.6951, allocations: 3.486 MB / 462.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.6983, allocations: 1.007 MB / 463.4 MB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.7, allocations: 0.5621 MB / 464 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.7002, allocations: 16.75 kB / 464 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.7003, allocations: 47.34 kB / 464 MB, free: 10.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=86): time 3.877e-06/0.7003, allocations: 0 / 464 MB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=86): time 0.02358/0.7239, allocations: 4.027 MB / 468.1 MB, free: 6.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.724, allocations: 85.89 kB / 468.1 MB, free: 6.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.7254, allocations: 0.5859 MB / 468.7 MB, free: 5.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000293/0.7257, allocations: 41.7 kB / 468.8 MB, free: 5.949 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.7262, allocations: 396.5 kB / 469.1 MB, free: 5.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004917/0.7267, allocations: 303.5 kB / 469.4 MB, free: 5.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.7268, allocations: 16 kB / 469.5 MB, free: 5.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.727, allocations: 342 kB / 469.8 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.7284, allocations: 438 kB / 470.2 MB, free: 4.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.7299, allocations: 0.5334 MB / 470.8 MB, free: 3.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.7314, allocations: 486.8 kB / 471.2 MB, free: 3.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.7315, allocations: 0 / 471.2 MB, free: 3.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.02415/0.7556, allocations: 4.102 MB / 475.3 MB, free: 15.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003906/0.7561, allocations: 0.8721 MB / 476.2 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.7561, allocations: 4 kB / 476.2 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/0.7671, allocations: 1.694 MB / 477.9 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.7684, allocations: 127.8 kB / 478 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02865/0.7971, allocations: 7.285 MB / 485.3 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.7994, allocations: 179.3 kB / 485.5 MB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.7997, allocations: 27.98 kB / 485.5 MB, free: 4.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7997, allocations: 4 kB / 485.5 MB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0238/0.8235, allocations: 3.999 MB / 489.5 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.8236, allocations: 7.984 kB / 489.5 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.8346, allocations: 1.691 MB / 491.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.8359, allocations: 127.8 kB / 491.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/0.8634, allocations: 7.268 MB / 498.6 MB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.8657, allocations: 163.3 kB / 498.8 MB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.866, allocations: 36 kB / 498.8 MB, free: 7.465 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: AVRtypeIII1.vref:VARIABLE(fixed = false protected = true ) type: Real 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 (69): * Single equations (assignments): 68 * 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.000433/0.8664, allocations: 143.5 kB / 498.9 MB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.8668, allocations: 90.83 kB / 499 MB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02327/0.8901, allocations: 4.116 MB / 0.4914 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.8901, allocations: 15.98 kB / 0.4914 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8901, allocations: 0 / 0.4914 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-05/0.8902, allocations: 3.984 kB / 0.4914 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02704/0.9172, allocations: 5.602 MB / 0.4968 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.9173, allocations: 0 / 0.4968 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.9186, allocations: 107.9 kB / 0.4969 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0102/0.9288, allocations: 1.679 MB / 0.4986 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002654/0.9291, allocations: 16 kB / 0.4986 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/0.9527, allocations: 6.329 MB / 0.5048 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.9528, allocations: 3.984 kB / 0.5048 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02592/0.9787, allocations: 4.903 MB / 0.5096 GB, free: 152 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/0.9793, allocations: 180 kB / 0.5097 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.9796, allocations: 12 kB / 0.5098 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/0.9818, allocations: 131.9 kB / 0.5099 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/0.9829, allocations: 204.4 kB / 0.5101 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.983, allocations: 20 kB / 0.5101 GB, free: 15.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001013/0.9841, allocations: 467.2 kB / 0.5105 GB, free: 15.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.9841, allocations: 4 kB / 0.5105 GB, free: 15.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002836/0.9869, allocations: 0.5928 MB / 0.5111 GB, free: 14.54 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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.02642/1.013, allocations: 5.632 MB / 0.5166 GB, free: 8.855 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01808/1.032, allocations: 3.471 MB / 0.52 GB, free: 5.363 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.032, allocations: 4.125 kB / 0.52 GB, free: 5.359 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00806/1.04, allocations: 1.45 MB / 0.5214 GB, free: 3.895 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/1.041, allocations: 63 kB / 0.5215 GB, free: 3.836 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/1.047, allocations: 1.611 MB / 0.5231 GB, free: 2.176 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/1.048, allocations: 1.048 MB / 0.5241 GB, free: 1.098 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001107/1.049, allocations: 124.1 kB / 0.5242 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007579/1.05, allocations: 331.3 kB / 0.5245 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/1.05, allocations: 0 / 0.5245 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4088/1.458, allocations: 34.97 MB / 0.5587 GB, free: 131.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/1.459, allocations: 172.5 kB / 0.5588 GB, free: 131.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.609/5.068, allocations: 0 / 0.5588 GB, free: 131.6 MB / 458.7 MB