Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.472/2.472, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.05e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3186, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.5121, allocations: 113.1 MB / 495.3 MB, free: 11.36 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5124, allocations: 83.95 kB / 495.4 MB, free: 11.27 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.239/2.751, allocations: 468.9 MB / 0.9417 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.612e-06/2.751, allocations: 2.344 kB / 0.9417 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008261/2.752, allocations: 301.3 kB / 0.942 GB, free: 43.57 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.0616/2.814, allocations: 13.53 MB / 0.9552 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/2.814, allocations: 11.12 kB / 0.9552 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06066/2.874, allocations: 8.523 MB / 0.9635 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02322/2.898, allocations: 8.818 MB / 0.9721 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001521/2.899, allocations: 1.032 MB / 0.9732 GB, free: 38.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005595/2.905, allocations: 1.312 MB / 0.9744 GB, free: 38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06597/2.971, allocations: 24.45 MB / 0.9983 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005516/2.971, allocations: 17.56 kB / 0.9983 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005175/2.977, allocations: 0.5647 MB / 0.9989 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0012/2.978, allocations: 0.929 MB / 0.9998 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05095/3.029, allocations: 21.88 MB / 1.021 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1701/3.199, allocations: 76.66 MB / 1.096 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06709/3.266, allocations: 22.51 MB / 1.118 GB, free: 4.711 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.391/3.657, allocations: 12.61 MB / 1.13 GB, free: 72.05 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08744/3.745, allocations: 37.26 MB / 1.167 GB, free: 70.6 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.697e-05/3.745, allocations: 128.9 kB / 1.167 GB, free: 70.55 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=1188): time 1.811e-05/3.745, allocations: 0 / 1.167 GB, free: 70.55 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1188): time 0.05185/3.797, allocations: 22.19 MB / 1.188 GB, free: 70.09 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/3.797, allocations: 174.9 kB / 1.189 GB, free: 69.99 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006267/3.803, allocations: 3.06 MB / 1.192 GB, free: 69.73 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.002138/3.805, allocations: 180.1 kB / 1.192 GB, free: 69.7 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.00292/3.808, allocations: 4.48 MB / 1.196 GB, free: 68.01 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.005403/3.814, allocations: 3.858 MB / 1.2 GB, free: 65.43 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/3.816, allocations: 173.4 kB / 1.2 GB, free: 65.29 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.001129/3.817, allocations: 0.7532 MB / 1.201 GB, free: 64.8 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01613/3.833, allocations: 7.91 MB / 1.209 GB, free: 61.71 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01842/3.851, allocations: 9.35 MB / 1.218 GB, free: 57.18 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01969/3.871, allocations: 9.248 MB / 1.227 GB, free: 53.59 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.677e-05/3.871, allocations: 10.78 kB / 1.227 GB, free: 53.59 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.0547/3.926, allocations: 23.48 MB / 1.25 GB, free: 44.44 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/3.926, allocations: 20 kB / 1.25 GB, free: 44.44 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/3.926, allocations: 32.84 kB / 1.25 GB, free: 44.44 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02825/3.954, allocations: 10.27 MB / 1.26 GB, free: 41.41 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008/3.962, allocations: 1.348 MB / 1.261 GB, free: 41.37 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04004/4.002, allocations: 19.47 MB / 1.28 GB, free: 24.79 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008254/4.011, allocations: 1.117 MB / 1.281 GB, free: 23.82 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002704/4.014, allocations: 388 kB / 1.282 GB, free: 23.48 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of prepare postOptimizeDAE: time 0.003103/4.017, allocations: 0.5543 MB / 1.282 GB, free: 23.01 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00234/4.019, allocations: 0.6016 MB / 1.283 GB, free: 22.4 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0529/4.072, allocations: 24.34 MB / 1.306 GB, free: 1.836 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004648/4.072, allocations: 326.6 kB / 1.307 GB, free: 1.562 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/4.072, allocations: 0 / 1.307 GB, free: 1.562 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001529/4.073, allocations: 44.67 kB / 1.307 GB, free: 1.562 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5099/4.583, allocations: 45.45 MB / 1.351 GB, free: 84.98 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001085/4.583, allocations: 1.031 kB / 1.351 GB, free: 84.98 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007242/4.59, allocations: 1.089 MB / 1.352 GB, free: 84.98 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02866/4.619, allocations: 10.24 MB / 1.362 GB, free: 84.63 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002498/4.621, allocations: 244.4 kB / 1.362 GB, free: 84.63 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04265/4.664, allocations: 19.39 MB / 1.381 GB, free: 82.39 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/4.664, allocations: 0 / 1.381 GB, free: 82.39 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.112/4.776, allocations: 35.83 MB / 1.416 GB, free: 79.88 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007821/4.784, allocations: 2.696 MB / 1.419 GB, free: 78.67 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002908/4.787, allocations: 161.8 kB / 1.419 GB, free: 78.55 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006928/4.794, allocations: 0.5238 MB / 1.42 GB, free: 78.43 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003591/4.797, allocations: 0.8911 MB / 1.421 GB, free: 78.25 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002447/4.8, allocations: 307.1 kB / 1.421 GB, free: 78.17 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004625/4.805, allocations: 2.336 MB / 1.423 GB, free: 77.35 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1e-06/4.805, allocations: 0 / 1.423 GB, free: 77.35 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01263/4.817, allocations: 3.473 MB / 1.427 GB, free: 76.7 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (565): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of Backend phase and start with SimCode phase: time 0.002817/4.82, allocations: 371.7 kB / 1.427 GB, free: 76.49 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04496/4.865, allocations: 19.69 MB / 1.446 GB, free: 69.43 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/4.865, allocations: 0 / 1.446 GB, free: 69.43 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02818/4.893, allocations: 10.9 MB / 1.457 GB, free: 65.41 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008364/4.902, allocations: 1.158 MB / 1.458 GB, free: 64.7 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0678/4.97, allocations: 28.39 MB / 1.486 GB, free: 39.92 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01985/4.989, allocations: 9.708 MB / 1.495 GB, free: 32.69 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.009372/4.999, allocations: 2.111 MB / 1.497 GB, free: 31.21 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/5.001, allocations: 378.5 kB / 1.498 GB, free: 30.86 MB / 0.5574 GB Notification: Performance of SimCode: time 1.757e-06/5.002, allocations: 4 kB / 1.498 GB, free: 30.86 MB / 0.5574 GB Notification: Performance of Templates: time 0.74/5.741, allocations: 186.2 MB / 1.679 GB, free: 41.14 MB / 0.5574 GB