Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.202e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5666, allocations: 115.8 MB / 0.5138 GB, free: 4.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5669, allocations: 83.94 kB / 0.5138 GB, free: 4.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.107/2.674, allocations: 469.4 MB / 0.9722 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.141e-06/2.674, allocations: 0 / 0.9722 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007743/2.675, allocations: 299.7 kB / 0.9725 GB, free: 27.92 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05918/2.734, allocations: 13.39 MB / 0.9856 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/2.734, allocations: 8.031 kB / 0.9856 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05809/2.792, allocations: 7.872 MB / 0.9933 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02726/2.82, allocations: 9.072 MB / 1.002 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00155/2.821, allocations: 0.9912 MB / 1.003 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005915/2.827, allocations: 1.3 MB / 1.004 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8574/3.685, allocations: 22.73 MB / 1.027 GB, free: 52.04 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005338/3.685, allocations: 22.58 kB / 1.027 GB, free: 52.04 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004546/3.69, allocations: 0.5579 MB / 1.027 GB, free: 52.04 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001594/3.691, allocations: 1.025 MB / 1.028 GB, free: 52.02 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05171/3.743, allocations: 19.33 MB / 1.047 GB, free: 51.95 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1413/3.884, allocations: 72.19 MB / 1.118 GB, free: 30.91 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02568/3.91, allocations: 28.41 MB / 1.145 GB, free: 22.61 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008907/3.919, allocations: 4.798 MB / 1.15 GB, free: 20.78 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03815/3.957, allocations: 15.8 MB / 1.165 GB, free: 14.04 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.66e-05/3.957, allocations: 89.11 kB / 1.165 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=465): time 9.072e-06/3.957, allocations: 0 / 1.165 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of matching and sorting (n=465): time 0.01821/3.976, allocations: 8.07 MB / 1.173 GB, free: 10.96 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/3.976, allocations: 128.3 kB / 1.173 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/3.986, allocations: 4.515 MB / 1.178 GB, free: 9.242 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0008976/3.987, allocations: 96.98 kB / 1.178 GB, free: 9.156 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00567/3.993, allocations: 5.865 MB / 1.184 GB, free: 4.785 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002749/3.996, allocations: 1.584 MB / 1.185 GB, free: 3.578 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/3.997, allocations: 146.8 kB / 1.185 GB, free: 3.465 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0008033/3.998, allocations: 0.6158 MB / 1.186 GB, free: 3.027 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008225/4.006, allocations: 3.966 MB / 1.19 GB, free: 1.625 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/4.019, allocations: 6.937 MB / 1.197 GB, free: 12.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02248/4.042, allocations: 5.437 MB / 1.202 GB, free: 8.242 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002049/4.042, allocations: 34.41 kB / 1.202 GB, free: 8.211 MB / 0.573 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.06262/4.105, allocations: 12.59 MB / 1.214 GB, free: 14.56 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/4.105, allocations: 52.03 kB / 1.214 GB, free: 14.51 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/4.105, allocations: 101.4 kB / 1.214 GB, free: 14.41 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/4.115, allocations: 3.074 MB / 1.217 GB, free: 12.05 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008354/4.124, allocations: 1.584 MB / 1.219 GB, free: 10.82 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/4.136, allocations: 6.412 MB / 1.225 GB, free: 5.266 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008519/4.144, allocations: 1.076 MB / 1.226 GB, free: 4.305 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/4.146, allocations: 371.6 kB / 1.227 GB, free: 3.953 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * 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 (802): * Single equations (assignments): 799 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.001737/4.148, allocations: 0.5757 MB / 1.227 GB, free: 3.445 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/4.149, allocations: 0.4938 MB / 1.228 GB, free: 2.945 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4286/4.578, allocations: 9.559 MB / 1.237 GB, free: 98.59 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.493e-05/4.578, allocations: 48.25 kB / 1.237 GB, free: 98.59 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/4.578, allocations: 3.797 kB / 1.237 GB, free: 98.59 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/4.578, allocations: 26.22 kB / 1.237 GB, free: 98.59 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05554/4.634, allocations: 20.49 MB / 1.257 GB, free: 97.9 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/4.634, allocations: 2.656 kB / 1.257 GB, free: 97.9 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004802/4.639, allocations: 0.736 MB / 1.258 GB, free: 97.9 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009645/4.648, allocations: 2.943 MB / 1.261 GB, free: 97.85 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009654/4.649, allocations: 101.5 kB / 1.261 GB, free: 97.85 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/4.66, allocations: 6.223 MB / 1.267 GB, free: 96.28 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.222e-06/4.66, allocations: 0 / 1.267 GB, free: 96.28 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02715/4.687, allocations: 13.75 MB / 1.28 GB, free: 95.84 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004596/4.691, allocations: 1.4 MB / 1.282 GB, free: 95.59 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001865/4.693, allocations: 86.17 kB / 1.282 GB, free: 95.58 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005034/4.698, allocations: 389.5 kB / 1.282 GB, free: 95.58 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/4.7, allocations: 323.3 kB / 1.282 GB, free: 95.57 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005649/4.7, allocations: 128.5 kB / 1.283 GB, free: 95.57 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.007653/4.708, allocations: 3.359 MB / 1.286 GB, free: 95.37 MB / 0.5887 GB Notification: Performance of sort global known variables: time 1.248e-06/4.708, allocations: 0 / 1.286 GB, free: 95.37 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01155/4.72, allocations: 3.186 MB / 1.289 GB, free: 94.93 MB / 0.5887 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 (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 28,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/4.721, allocations: 289.9 kB / 1.289 GB, free: 94.85 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.02125/4.742, allocations: 9.626 MB / 1.299 GB, free: 94.53 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 9.957e-06/4.742, allocations: 0.9844 kB / 1.299 GB, free: 94.53 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.01128/4.754, allocations: 4.543 MB / 1.303 GB, free: 94.25 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007478/4.761, allocations: 1.166 MB / 1.304 GB, free: 94.21 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05657/4.818, allocations: 20.49 MB / 1.324 GB, free: 90.75 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0205/4.838, allocations: 9.251 MB / 1.333 GB, free: 89.77 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.0119/4.85, allocations: 2.846 MB / 1.336 GB, free: 89.68 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003265/4.854, allocations: 365.7 kB / 1.336 GB, free: 89.67 MB / 0.5887 GB Notification: Performance of SimCode: time 2.482e-06/4.854, allocations: 4 kB / 1.336 GB, free: 89.66 MB / 0.5887 GB Notification: Performance of Templates: time 0.2608/5.115, allocations: 90.02 MB / 1.424 GB, free: 35.89 MB / 0.5887 GB