Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadModel(OpenIPSL): time 2.086/2.086, allocations: 231.9 MB / 244 MB, free: 0.8047 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.106e-05, allocations: 4 kB / 300.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09267, allocations: 53.33 MB / 353.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5129, allocations: 80.81 MB / 434.4 MB, free: 8.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.5132, allocations: 79.95 kB / 434.5 MB, free: 8.852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08157/0.5948, allocations: 19.32 MB / 453.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.116e-06/0.5948, allocations: 0 / 453.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.281e-05/0.5949, allocations: 20 kB / 453.8 MB, free: 5.453 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.005578/0.6005, allocations: 1.58 MB / 455.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.6006, allocations: 16.02 kB / 455.4 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005876/0.6064, allocations: 0.5333 MB / 455.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.6105, allocations: 0.6802 MB / 456.6 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006864/0.6112, allocations: 260.2 kB / 456.9 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004667/0.6117, allocations: 68.34 kB / 456.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004723/0.6165, allocations: 0.8993 MB / 457.8 MB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.6166, allocations: 0 / 457.8 MB, free: 1.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/0.6168, allocations: 28 kB / 457.9 MB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.6169, allocations: 16 kB / 457.9 MB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004551/0.6215, allocations: 0.7928 MB / 458.7 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.6382, allocations: 3.49 MB / 462.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004591/0.6429, allocations: 1.011 MB / 463.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/0.6457, allocations: 0.5583 MB / 463.7 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.6459, allocations: 16.75 kB / 463.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.862e-05/0.646, allocations: 43.28 kB / 463.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=86): time 7.529e-06/0.646, allocations: 0 / 463.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=86): time 0.0306/0.6766, allocations: 4.023 MB / 467.8 MB, free: 7.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.6769, allocations: 93.83 kB / 467.9 MB, free: 6.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.6794, allocations: 0.5859 MB / 468.5 MB, free: 6.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003944/0.6798, allocations: 41.7 kB / 468.5 MB, free: 6.301 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007984/0.6806, allocations: 400.4 kB / 468.9 MB, free: 5.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009485/0.6816, allocations: 307.5 kB / 469.2 MB, free: 5.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.6819, allocations: 16 kB / 469.2 MB, free: 5.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003298/0.6822, allocations: 338 kB / 469.6 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/0.6851, allocations: 438 kB / 470 MB, free: 4.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/0.6881, allocations: 0.5373 MB / 470.5 MB, free: 4.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.6895, allocations: 486.8 kB / 471 MB, free: 3.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.083e-06/0.6895, allocations: 0 / 471 MB, free: 3.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.01534/0.7049, allocations: 4.098 MB / 475.1 MB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004926/0.7054, allocations: 0.8745 MB / 476 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.7054, allocations: 4 kB / 476 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007393/0.7128, allocations: 1.698 MB / 477.7 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008713/0.7137, allocations: 127.8 kB / 477.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.7349, allocations: 7.279 MB / 485.1 MB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.7363, allocations: 183.1 kB / 485.3 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.7365, allocations: 31.98 kB / 485.3 MB, free: 5.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7365, allocations: 4 kB / 485.3 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01485/0.7514, allocations: 3.992 MB / 489.3 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.7514, allocations: 4 kB / 489.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007289/0.7587, allocations: 1.699 MB / 491 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.7596, allocations: 127.8 kB / 491.1 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.7803, allocations: 7.264 MB / 498.4 MB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.7817, allocations: 167.3 kB / 498.5 MB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.7819, allocations: 28 kB / 498.6 MB, free: 7.816 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.0003638/0.7823, allocations: 151.5 kB / 498.7 MB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.7826, allocations: 94.81 kB / 498.8 MB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/0.7973, allocations: 4.112 MB / 0.4911 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.7974, allocations: 11.95 kB / 0.4912 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7974, allocations: 4 kB / 0.4912 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.7974, allocations: 3.984 kB / 0.4912 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.8153, allocations: 5.602 MB / 0.4966 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.8153, allocations: 4 kB / 0.4966 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000859/0.8162, allocations: 103.9 kB / 0.4967 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006728/0.8229, allocations: 1.679 MB / 0.4984 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.8232, allocations: 19.98 kB / 0.4984 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/0.8409, allocations: 6.329 MB / 0.5046 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.824e-06/0.8409, allocations: 0 / 0.5046 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/0.858, allocations: 4.888 MB / 0.5093 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.8584, allocations: 183.7 kB / 0.5095 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.8586, allocations: 16 kB / 0.5095 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.8599, allocations: 139.8 kB / 0.5097 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007616/0.8606, allocations: 200.4 kB / 0.5099 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.8608, allocations: 20 kB / 0.5099 GB, free: 15.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008582/0.8616, allocations: 467.2 kB / 0.5103 GB, free: 15.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.56e-07/0.8617, allocations: 0 / 0.5103 GB, free: 15.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002178/0.8638, allocations: 0.6045 MB / 0.5109 GB, free: 14.88 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.0003711/0.8642, allocations: 151 kB / 0.5111 GB, free: 14.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01188/0.8761, allocations: 3.47 MB / 0.5145 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.633e-06/0.8762, allocations: 0.5625 kB / 0.5145 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005122/0.8813, allocations: 1.454 MB / 0.5159 GB, free: 9.762 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.8821, allocations: 70.95 kB / 0.5159 GB, free: 9.695 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.8868, allocations: 1.445 MB / 0.5173 GB, free: 8.211 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008897/0.8877, allocations: 1.048 MB / 0.5184 GB, free: 7.137 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008812/0.8886, allocations: 120.1 kB / 0.5185 GB, free: 7.016 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.8889, allocations: 47.38 kB / 0.5185 GB, free: 6.969 MB / 458.7 MB Notification: Performance of SimCode: time 1.583e-06/0.8889, allocations: 4 kB / 0.5185 GB, free: 6.965 MB / 458.7 MB Notification: Performance of Templates: time 0.3233/1.212, allocations: 27.36 MB / 0.5453 GB, free: 138.5 MB / 458.7 MB