Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_TG") Notification: Performance of loadModel(OpenIPSL): time 2.173/2.173, allocations: 231.9 MB / 244 MB, free: 0.8047 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.54e-05/5.542e-05, allocations: 4 kB / 300.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 53.33 MB / 353.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.4546, allocations: 81.63 MB / 435.2 MB, free: 8.094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4549, allocations: 79.95 kB / 435.3 MB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08261/0.5375, allocations: 20.33 MB / 455.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.44e-06/0.5375, allocations: 0 / 455.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.658e-05/0.5376, allocations: 20 kB / 455.6 MB, free: 3.609 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.005569/0.5432, allocations: 1.605 MB / 457.2 MB, free: 1.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5433, allocations: 11.97 kB / 457.3 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/0.5478, allocations: 0.5449 MB / 457.8 MB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.55, allocations: 0.7233 MB / 458.5 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003972/0.5504, allocations: 272.1 kB / 458.8 MB, free: 340 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.5506, allocations: 72 kB / 458.9 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.5531, allocations: 0.915 MB / 459.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.5531, allocations: 0 / 459.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.5533, allocations: 28 kB / 459.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.5533, allocations: 19.94 kB / 459.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.5557, allocations: 0.8319 MB / 460.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008446/0.5642, allocations: 3.432 MB / 464.1 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.5663, allocations: 0.9684 MB / 465.1 MB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.5677, allocations: 0.5583 MB / 465.6 MB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.5678, allocations: 20.69 kB / 465.6 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.5679, allocations: 43.34 kB / 465.7 MB, free: 9.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=85): time 4.286e-06/0.5679, allocations: 0 / 465.7 MB, free: 9.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.01523/0.5831, allocations: 4.016 MB / 469.7 MB, free: 5.164 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.5832, allocations: 93.83 kB / 469.8 MB, free: 5.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.5847, allocations: 0.6686 MB / 470.4 MB, free: 4.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.5849, allocations: 41.7 kB / 470.5 MB, free: 4.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.5854, allocations: 432.3 kB / 470.9 MB, free: 3.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.5859, allocations: 291.7 kB / 471.2 MB, free: 3.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.586, allocations: 16 kB / 471.2 MB, free: 3.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5862, allocations: 341.9 kB / 471.5 MB, free: 3.262 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.5874, allocations: 434 kB / 472 MB, free: 2.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.5888, allocations: 0.5247 MB / 472.5 MB, free: 2.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.5901, allocations: 478.8 kB / 473 MB, free: 1.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-06/0.5901, allocations: 0 / 473 MB, free: 1.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01582/0.6059, allocations: 4.137 MB / 477.1 MB, free: 13.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004748/0.6064, allocations: 0.7897 MB / 477.9 MB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6065, allocations: 4 kB / 477.9 MB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007508/0.614, allocations: 1.702 MB / 479.6 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008319/0.6149, allocations: 123.8 kB / 479.7 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.636, allocations: 7.296 MB / 487 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.6376, allocations: 195.1 kB / 487.2 MB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.6378, allocations: 28 kB / 487.2 MB, free: 3.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6378, allocations: 4 kB / 487.2 MB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02166/0.6595, allocations: 4.015 MB / 491.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.6596, allocations: 4 kB / 491.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007555/0.6671, allocations: 1.702 MB / 493 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/0.668, allocations: 119.8 kB / 493.1 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/0.6893, allocations: 7.283 MB / 0.4886 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.691, allocations: 175.3 kB / 0.4888 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.6912, allocations: 31.98 kB / 0.4888 GB, free: 5.844 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: TGtypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.000371/0.6916, allocations: 156.8 kB / 0.489 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.6919, allocations: 98.78 kB / 0.4891 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/0.7073, allocations: 4.136 MB / 0.4931 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.7074, allocations: 11.94 kB / 0.4931 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-06/0.7074, allocations: 0 / 0.4931 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.7074, allocations: 7.984 kB / 0.4931 GB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/0.7255, allocations: 5.554 MB / 0.4985 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.7256, allocations: 0 / 0.4985 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/0.7264, allocations: 99.83 kB / 0.4986 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007666/0.7341, allocations: 1.675 MB / 0.5003 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/0.7344, allocations: 20 kB / 0.5003 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.7524, allocations: 6.329 MB / 0.5065 GB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.272e-06/0.7525, allocations: 4 kB / 0.5065 GB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/0.7699, allocations: 4.877 MB / 0.5112 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.7704, allocations: 195.7 kB / 0.5114 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/0.7706, allocations: 12 kB / 0.5114 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.7721, allocations: 143.9 kB / 0.5116 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008364/0.7729, allocations: 204.4 kB / 0.5118 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.773, allocations: 20 kB / 0.5118 GB, free: 13.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.7742, allocations: 0.5265 MB / 0.5123 GB, free: 13.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.7742, allocations: 0 / 0.5123 GB, free: 13.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002456/0.7767, allocations: 0.6045 MB / 0.5129 GB, free: 12.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGtypeII1.transferFunction1.x_scaled[1]) * 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.0003755/0.7771, allocations: 159 kB / 0.5131 GB, free: 12.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01207/0.7891, allocations: 3.475 MB / 0.5164 GB, free: 9.203 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.7892, allocations: 4.5 kB / 0.5165 GB, free: 9.199 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005169/0.7944, allocations: 1.435 MB / 0.5179 GB, free: 7.754 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/0.7952, allocations: 79.25 kB / 0.5179 GB, free: 7.672 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.7995, allocations: 1.485 MB / 0.5194 GB, free: 6.164 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009362/0.8005, allocations: 1.072 MB / 0.5204 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009616/0.8015, allocations: 152.6 kB / 0.5206 GB, free: 4.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.8017, allocations: 47.42 kB / 0.5206 GB, free: 4.863 MB / 458.7 MB Notification: Performance of SimCode: time 2.128e-06/0.8017, allocations: 0 / 0.5206 GB, free: 4.863 MB / 458.7 MB Notification: Performance of Templates: time 0.3729/1.175, allocations: 27.73 MB / 0.5477 GB, free: 137.3 MB / 458.7 MB