Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.249/2.249, allocations: 231.9 MB / 244 MB, free: 0.8008 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.059e-05/6.045e-05, allocations: 4 kB / 300.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1318, allocations: 53.33 MB / 353.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4951/0.627, allocations: 80.74 MB / 434.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.6274, allocations: 71.97 kB / 434.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1014/0.7288, allocations: 19.32 MB / 453.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.7289, allocations: 0 / 453.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.637e-05/0.729, allocations: 20 kB / 453.8 MB, free: 5.344 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.008324/0.7373, allocations: 1.586 MB / 455.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.7374, allocations: 8.031 kB / 455.4 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005104/0.7379, allocations: 118.5 kB / 455.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00549/0.7434, allocations: 0.5256 MB / 456.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.746, allocations: 0.6802 MB / 456.8 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005208/0.7466, allocations: 260.5 kB / 457 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/0.747, allocations: 72 kB / 457.1 MB, free: 1.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.7501, allocations: 0.8915 MB / 458 MB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.7502, allocations: 7.938 kB / 458 MB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.7504, allocations: 24 kB / 458 MB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.7504, allocations: 16 kB / 458 MB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/0.7535, allocations: 0.7889 MB / 458.8 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.7662, allocations: 3.49 MB / 462.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/0.7696, allocations: 1.004 MB / 463.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.7715, allocations: 0.566 MB / 463.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.7718, allocations: 12.77 kB / 463.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.7718, allocations: 39.34 kB / 463.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=85): time 4.569e-06/0.7718, allocations: 0 / 463.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.02403/0.7959, allocations: 4.015 MB / 467.9 MB, free: 6.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.796, allocations: 89.88 kB / 468 MB, free: 6.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.7975, allocations: 0.5938 MB / 468.6 MB, free: 6.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003258/0.7979, allocations: 45.7 kB / 468.7 MB, free: 6.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/0.7984, allocations: 400.4 kB / 469.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/0.799, allocations: 299.6 kB / 469.3 MB, free: 5.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.7992, allocations: 16 kB / 469.4 MB, free: 5.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.7994, allocations: 341.9 kB / 469.7 MB, free: 5.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.8009, allocations: 434 kB / 470.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.8027, allocations: 0.5412 MB / 470.7 MB, free: 4.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.8042, allocations: 474 kB / 471.1 MB, free: 3.574 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.8043, allocations: 0 / 471.1 MB, free: 3.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.02421/0.8285, allocations: 4.125 MB / 475.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004154/0.829, allocations: 0.8782 MB / 476.1 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.829, allocations: 4 kB / 476.1 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.8399, allocations: 1.71 MB / 477.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.8412, allocations: 127.8 kB / 478 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02764/0.8689, allocations: 7.283 MB / 485.3 MB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.8712, allocations: 179.2 kB / 485.4 MB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.8714, allocations: 31.98 kB / 485.5 MB, free: 5.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.8715, allocations: 4 kB / 485.5 MB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02344/0.8949, allocations: 4.027 MB / 489.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.895, allocations: 0 / 489.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.9055, allocations: 1.714 MB / 491.2 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.9068, allocations: 115.8 kB / 491.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02738/0.9342, allocations: 7.283 MB / 498.6 MB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.9364, allocations: 171.2 kB / 498.8 MB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.9367, allocations: 27.98 kB / 498.8 MB, free: 7.52 MB / 426.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 (67): * Single equations (assignments): 66 * 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.0003897/0.9371, allocations: 156.8 kB / 498.9 MB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.9374, allocations: 94.88 kB / 499 MB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02332/0.9608, allocations: 4.112 MB / 0.4914 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.9608, allocations: 8 kB / 0.4914 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9608, allocations: 0 / 0.4914 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/0.9609, allocations: 7.969 kB / 0.4914 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02716/0.9881, allocations: 5.61 MB / 0.4969 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.9881, allocations: 0 / 0.4969 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.9894, allocations: 99.89 kB / 0.4969 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/0.9996, allocations: 1.675 MB / 0.4986 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/0.9999, allocations: 19.98 kB / 0.4986 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02426/1.024, allocations: 6.353 MB / 0.5048 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.024, allocations: 0 / 0.5048 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02557/1.05, allocations: 4.86 MB / 0.5096 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/1.05, allocations: 195.8 kB / 0.5097 GB, free: 4 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/1.051, allocations: 16.08 kB / 0.5098 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.053, allocations: 127.9 kB / 0.5099 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/1.054, allocations: 204.4 kB / 0.5101 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/1.054, allocations: 20 kB / 0.5101 GB, free: 15.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001034/1.055, allocations: 479.2 kB / 0.5105 GB, free: 15.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.055, allocations: 0 / 0.5105 GB, free: 15.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003017/1.058, allocations: 0.5928 MB / 0.5111 GB, free: 14.58 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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.03072/1.089, allocations: 5.601 MB / 0.5166 GB, free: 8.934 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02789/1.117, allocations: 3.471 MB / 0.52 GB, free: 5.434 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.117, allocations: 0 / 0.52 GB, free: 5.434 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01255/1.129, allocations: 1.443 MB / 0.5214 GB, free: 3.977 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/1.131, allocations: 66.98 kB / 0.5215 GB, free: 3.914 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009665/1.141, allocations: 1.589 MB / 0.523 GB, free: 2.273 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.142, allocations: 1.048 MB / 0.524 GB, free: 1.199 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001575/1.144, allocations: 124 kB / 0.5242 GB, free: 1.074 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.145, allocations: 331.3 kB / 0.5245 GB, free: 0.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/1.145, allocations: 0 / 0.5245 GB, free: 0.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4026/1.547, allocations: 34.89 MB / 0.5585 GB, free: 132.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/1.548, allocations: 172.5 kB / 0.5587 GB, free: 132 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.868/5.415, allocations: 0 / 0.5587 GB, free: 132 MB / 458.7 MB