Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.094e-05, allocations: 0 / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3372, allocations: 58.82 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.4898, allocations: 100.8 MB / 483 MB, free: 7.711 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4901, allocations: 79.95 kB / 483.1 MB, free: 7.633 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1686/0.6587, allocations: 39.14 MB / 0.51 GB, free: 28 kB / 442.8 MB Notification: Performance of FrontEnd: time 2.027e-06/0.6587, allocations: 0 / 0.51 GB, free: 28 kB / 442.8 MB Notification: Performance of Transformations before backend: time 5.07e-05/0.6588, allocations: 20 kB / 0.51 GB, free: 8 kB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007248/0.6661, allocations: 1.702 MB / 0.5117 GB, free: 14.25 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6661, allocations: 8.031 kB / 0.5117 GB, free: 14.25 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009853/0.676, allocations: 1.052 MB / 0.5127 GB, free: 13.19 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.6776, allocations: 0.6104 MB / 0.5133 GB, free: 12.54 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.6778, allocations: 98.72 kB / 0.5134 GB, free: 12.44 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.6781, allocations: 143.9 kB / 0.5135 GB, free: 12.3 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/0.6817, allocations: 1.444 MB / 0.5149 GB, free: 10.81 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.6818, allocations: 4 kB / 0.5149 GB, free: 10.81 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.682, allocations: 56 kB / 0.515 GB, free: 10.75 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.6821, allocations: 32 kB / 0.515 GB, free: 10.72 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003652/0.6857, allocations: 1.485 MB / 0.5165 GB, free: 9.234 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.6976, allocations: 5.623 MB / 0.522 GB, free: 3.328 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/0.701, allocations: 2.322 MB / 0.5242 GB, free: 0.7305 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.7024, allocations: 0.6256 MB / 0.5248 GB, free: 100 kB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3149/1.017, allocations: 107.2 kB / 0.5249 GB, free: 114.1 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/1.017, allocations: 46.84 kB / 0.525 GB, free: 114 MB / 458.8 MB Notification: Performance of pre-optimization done (n=129): time 5.413e-06/1.017, allocations: 0 / 0.525 GB, free: 114 MB / 458.8 MB Notification: Performance of matching and sorting (n=129): time 0.003567/1.021, allocations: 1.246 MB / 0.5262 GB, free: 113.9 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/1.021, allocations: 91.27 kB / 0.5263 GB, free: 113.9 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009491/1.022, allocations: 414.7 kB / 0.5267 GB, free: 113.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/1.022, allocations: 45.08 kB / 0.5267 GB, free: 113.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/1.023, allocations: 482.9 kB / 0.5272 GB, free: 113.5 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/1.023, allocations: 429.5 kB / 0.5276 GB, free: 113.3 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/1.023, allocations: 25.97 kB / 0.5276 GB, free: 113.3 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001503/1.023, allocations: 384.7 kB / 0.528 GB, free: 113 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.024, allocations: 424.8 kB / 0.5284 GB, free: 113 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.026, allocations: 0.6643 MB / 0.529 GB, free: 112.7 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/1.027, allocations: 0.4916 MB / 0.5295 GB, free: 112.7 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/1.027, allocations: 2.5 kB / 0.5295 GB, free: 112.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00369/1.031, allocations: 1.512 MB / 0.531 GB, free: 112.6 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.031, allocations: 8.25 kB / 0.531 GB, free: 112.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.031, allocations: 7.312 kB / 0.531 GB, free: 112.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/1.033, allocations: 0.5085 MB / 0.5315 GB, free: 112.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.034, allocations: 210.9 kB / 0.5317 GB, free: 112.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.047, allocations: 4.264 MB / 0.5359 GB, free: 111.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.048, allocations: 136 kB / 0.536 GB, free: 111.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/1.049, allocations: 56.97 kB / 0.5361 GB, free: 111.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0004583/1.049, allocations: 168.2 kB / 0.5362 GB, free: 110.9 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/1.05, allocations: 89.14 kB / 0.5363 GB, free: 110.9 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005664/1.055, allocations: 1.511 MB / 0.5378 GB, free: 110.8 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/1.055, allocations: 13.66 kB / 0.5378 GB, free: 110.8 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.549e-06/1.055, allocations: 3.156 kB / 0.5378 GB, free: 110.8 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.879e-05/1.056, allocations: 6.656 kB / 0.5378 GB, free: 110.8 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009126/1.065, allocations: 2.818 MB / 0.5406 GB, free: 110.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.122e-06/1.065, allocations: 3.094 kB / 0.5406 GB, free: 110.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008379/1.066, allocations: 150.3 kB / 0.5407 GB, free: 110.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/1.068, allocations: 0.5075 MB / 0.5412 GB, free: 110.4 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.068, allocations: 24.34 kB / 0.5412 GB, free: 110.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007978/1.076, allocations: 4.26 MB / 0.5454 GB, free: 108.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.076, allocations: 5.281 kB / 0.5454 GB, free: 108.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004552/1.08, allocations: 2.208 MB / 0.5475 GB, free: 107.1 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/1.081, allocations: 295 kB / 0.5478 GB, free: 106.9 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/1.081, allocations: 26.17 kB / 0.5478 GB, free: 106.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007572/1.082, allocations: 62.61 kB / 0.5479 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/1.082, allocations: 95.39 kB / 0.548 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.082, allocations: 37.42 kB / 0.548 GB, free: 106.8 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0004314/1.083, allocations: 311.3 kB / 0.5483 GB, free: 106.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.61e-07/1.083, allocations: 0 / 0.5483 GB, free: 106.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.001486/1.084, allocations: 421.5 kB / 0.5487 GB, free: 106.6 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003381/1.085, allocations: 184 kB / 0.5489 GB, free: 106.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.003601/1.088, allocations: 1.646 MB / 0.5505 GB, free: 105.8 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.082e-06/1.088, allocations: 0 / 0.5505 GB, free: 105.8 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/1.091, allocations: 1.084 MB / 0.5516 GB, free: 105.2 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/1.091, allocations: 86.39 kB / 0.5517 GB, free: 105.2 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/1.097, allocations: 2.074 MB / 0.5537 GB, free: 104.3 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/1.098, allocations: 1.106 MB / 0.5548 GB, free: 103.6 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0007571/1.098, allocations: 110.2 kB / 0.5549 GB, free: 103.6 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/1.099, allocations: 62.95 kB / 0.5549 GB, free: 103.5 MB / 458.8 MB Notification: Performance of SimCode: time 1.734e-06/1.099, allocations: 0 / 0.5549 GB, free: 103.5 MB / 458.8 MB Notification: Performance of Templates: time 0.03525/1.134, allocations: 16.04 MB / 0.5706 GB, free: 99.18 MB / 458.8 MB