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.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.276e-05, allocations: 4 kB / 304.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3582, allocations: 54.85 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1817/0.5399, allocations: 106.4 MB / 466.2 MB, free: 6.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004051/0.5404, allocations: 84.55 kB / 466.3 MB, free: 6.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.588/3.128, allocations: 470.2 MB / 0.9145 GB, free: 35.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.913e-06/3.128, allocations: 0 / 0.9145 GB, free: 35.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00107/3.129, allocations: 300.2 kB / 0.9148 GB, free: 35.77 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3915 * Number of variables: 3915 Notification: Performance of Generate backend data structure: time 0.06162/3.191, allocations: 13.42 MB / 0.9279 GB, free: 32.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/3.191, allocations: 14.06 kB / 0.928 GB, free: 32.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05928/3.25, allocations: 8.509 MB / 0.9363 GB, free: 31.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/3.273, allocations: 8.563 MB / 0.9446 GB, free: 30.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001613/3.275, allocations: 1.029 MB / 0.9456 GB, free: 30.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006078/3.281, allocations: 1.308 MB / 0.9469 GB, free: 30.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0684/3.349, allocations: 24.39 MB / 0.9707 GB, free: 28.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006212/3.35, allocations: 17.47 kB / 0.9707 GB, free: 28.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005557/3.356, allocations: 0.5646 MB / 0.9713 GB, free: 28.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00124/3.357, allocations: 0.9281 MB / 0.9722 GB, free: 28.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05292/3.41, allocations: 21.85 MB / 0.9935 GB, free: 26.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2034/3.613, allocations: 75.59 MB / 1.067 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.387/4, allocations: 20.9 MB / 1.088 GB, free: 57.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02567/4.026, allocations: 11.49 MB / 1.099 GB, free: 56.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08889/4.115, allocations: 37.24 MB / 1.135 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/4.115, allocations: 132.7 kB / 1.135 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1188): time 1.903e-05/4.115, allocations: 0 / 1.135 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1188): time 0.05306/4.168, allocations: 22.18 MB / 1.157 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/4.169, allocations: 178.6 kB / 1.157 GB, free: 51.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006092/4.175, allocations: 2.912 MB / 1.16 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002189/4.177, allocations: 178.3 kB / 1.16 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002808/4.18, allocations: 4.427 MB / 1.165 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005474/4.185, allocations: 3.859 MB / 1.168 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002641/4.188, allocations: 179.6 kB / 1.169 GB, free: 44.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001739/4.19, allocations: 0.7456 MB / 1.169 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01663/4.206, allocations: 7.906 MB / 1.177 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01888/4.225, allocations: 9.349 MB / 1.186 GB, free: 36.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02019/4.246, allocations: 9.252 MB / 1.195 GB, free: 32.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-05/4.246, allocations: 8.312 kB / 1.195 GB, free: 32.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.05838/4.304, allocations: 23.48 MB / 1.218 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/4.304, allocations: 20 kB / 1.218 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/4.304, allocations: 32 kB / 1.218 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03328/4.338, allocations: 10.27 MB / 1.228 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00756/4.345, allocations: 1.347 MB / 1.23 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03728/4.382, allocations: 19.47 MB / 1.249 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008977/4.391, allocations: 1.118 MB / 1.25 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003117/4.395, allocations: 387.8 kB / 1.25 GB, free: 11.71 MB / 0.5261 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.00539/4.4, allocations: 0.5459 MB / 1.251 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004038/4.404, allocations: 0.5909 MB / 1.251 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4894/4.894, allocations: 26.25 MB / 1.277 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005853/4.894, allocations: 325.7 kB / 1.277 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-05/4.894, allocations: 1.391 kB / 1.277 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001928/4.894, allocations: 47.17 kB / 1.277 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1062/5.001, allocations: 43.29 MB / 1.319 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001744/5.001, allocations: 2.594 kB / 1.319 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0069/5.008, allocations: 1.085 MB / 1.32 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02784/5.036, allocations: 10.24 MB / 1.33 GB, free: 73.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002627/5.038, allocations: 247.1 kB / 1.331 GB, free: 73.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0377/5.076, allocations: 19.38 MB / 1.35 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.268e-06/5.076, allocations: 2.719 kB / 1.35 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08149/5.158, allocations: 35.82 MB / 1.385 GB, free: 54.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008348/5.166, allocations: 2.677 MB / 1.387 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003562/5.17, allocations: 157.5 kB / 1.387 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008231/5.178, allocations: 0.5288 MB / 1.388 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006846/5.185, allocations: 0.8873 MB / 1.389 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004529/5.19, allocations: 310.9 kB / 1.389 GB, free: 52.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008952/5.199, allocations: 2.218 MB / 1.391 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.129e-06/5.199, allocations: 0 / 1.391 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02358/5.222, allocations: 3.473 MB / 1.395 GB, free: 51.55 MB / 0.5261 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.004448/5.227, allocations: 366.6 kB / 1.395 GB, free: 51.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.06255/5.289, allocations: 19.68 MB / 1.414 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/5.289, allocations: 7.438 kB / 1.414 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02696/5.316, allocations: 10.9 MB / 1.425 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009001/5.325, allocations: 1.162 MB / 1.426 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0707/5.396, allocations: 28.21 MB / 1.454 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02437/5.421, allocations: 9.685 MB / 1.463 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01094/5.432, allocations: 2.097 MB / 1.465 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002919/5.435, allocations: 372.5 kB / 1.465 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of SimCode: time 1.926e-06/5.435, allocations: 7.094 kB / 1.465 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of Templates: time 0.7325/6.167, allocations: 185.7 MB / 1.647 GB, free: 10.92 MB / 0.5417 GB