Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 270 MB / 282.6 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.972e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3225, allocations: 61.89 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.4962, allocations: 115.8 MB / 0.5124 GB, free: 6.762 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4965, allocations: 83.94 kB / 0.5124 GB, free: 6.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.29/2.787, allocations: 469.4 MB / 0.9708 GB, free: 63.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.4e-06/2.787, allocations: 0 / 0.9708 GB, free: 63.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0006637/2.788, allocations: 296.6 kB / 0.9711 GB, free: 63.39 MB / 0.5417 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.05749/2.845, allocations: 13.39 MB / 0.9842 GB, free: 59.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/2.845, allocations: 6.969 kB / 0.9842 GB, free: 59.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06173/2.907, allocations: 7.879 MB / 0.9919 GB, free: 59.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02299/2.93, allocations: 9.069 MB / 1.001 GB, free: 57.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00105/2.931, allocations: 0.9902 MB / 1.002 GB, free: 57.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004797/2.936, allocations: 1.29 MB / 1.003 GB, free: 57.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05977/2.996, allocations: 22.74 MB / 1.025 GB, free: 56.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004738/2.996, allocations: 21.25 kB / 1.025 GB, free: 56.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004375/3.001, allocations: 0.5581 MB / 1.026 GB, free: 56.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001251/3.002, allocations: 1.033 MB / 1.027 GB, free: 56.24 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04918/3.051, allocations: 19.33 MB / 1.046 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1494/3.2, allocations: 72.19 MB / 1.116 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3824/3.583, allocations: 28.42 MB / 1.144 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00995/3.593, allocations: 4.802 MB / 1.149 GB, free: 46.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03653/3.629, allocations: 15.8 MB / 1.164 GB, free: 45.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/3.63, allocations: 88.48 kB / 1.164 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=465): time 9.791e-06/3.63, allocations: 0 / 1.164 GB, free: 45.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=465): time 0.01681/3.646, allocations: 8.077 MB / 1.172 GB, free: 44.94 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/3.647, allocations: 124 kB / 1.172 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009467/3.656, allocations: 4.525 MB / 1.176 GB, free: 44.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008303/3.657, allocations: 97.42 kB / 1.177 GB, free: 44.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003607/3.66, allocations: 5.684 MB / 1.182 GB, free: 41.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001972/3.662, allocations: 1.579 MB / 1.184 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008353/3.663, allocations: 145.7 kB / 1.184 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005066/3.664, allocations: 0.6207 MB / 1.184 GB, free: 40.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008011/3.672, allocations: 3.964 MB / 1.188 GB, free: 40.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01013/3.682, allocations: 6.934 MB / 1.195 GB, free: 36.75 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/3.693, allocations: 5.447 MB / 1.2 GB, free: 36.69 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001417/3.693, allocations: 32.92 kB / 1.2 GB, free: 36.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.02712/3.72, allocations: 12.2 MB / 1.212 GB, free: 36.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/3.72, allocations: 48.81 kB / 1.212 GB, free: 36.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/3.72, allocations: 100.4 kB / 1.212 GB, free: 36.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009129/3.729, allocations: 3.082 MB / 1.215 GB, free: 36.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008559/3.738, allocations: 1.579 MB / 1.217 GB, free: 36.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/3.749, allocations: 6.416 MB / 1.223 GB, free: 34.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008131/3.757, allocations: 1.061 MB / 1.224 GB, free: 34.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/3.759, allocations: 377 kB / 1.225 GB, free: 34.23 MB / 0.5573 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.001682/3.76, allocations: 0.5782 MB / 1.225 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/3.762, allocations: 0.4909 MB / 1.226 GB, free: 33.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01979/3.781, allocations: 9.358 MB / 1.235 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-05/3.781, allocations: 46.84 kB / 1.235 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/3.781, allocations: 0 / 1.235 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.971e-05/3.782, allocations: 21.19 kB / 1.235 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0456/3.827, allocations: 20.48 MB / 1.255 GB, free: 29.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/3.827, allocations: 0 / 1.255 GB, free: 29.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005017/3.832, allocations: 0.7433 MB / 1.256 GB, free: 29.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009171/3.841, allocations: 2.947 MB / 1.259 GB, free: 28.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009621/3.842, allocations: 100.6 kB / 1.259 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/3.853, allocations: 6.226 MB / 1.265 GB, free: 25.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.492e-06/3.853, allocations: 3.594 kB / 1.265 GB, free: 25.08 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02667/3.879, allocations: 13.75 MB / 1.278 GB, free: 19.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004036/3.884, allocations: 1.402 MB / 1.28 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001652/3.885, allocations: 79.19 kB / 1.28 GB, free: 18.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00485/3.89, allocations: 395 kB / 1.28 GB, free: 18.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/3.891, allocations: 312.7 kB / 1.28 GB, free: 18.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005753/3.892, allocations: 128.1 kB / 1.28 GB, free: 18.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.007371/3.899, allocations: 3.363 MB / 1.284 GB, free: 17.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.222e-06/3.899, allocations: 2.812 kB / 1.284 GB, free: 17.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01096/3.91, allocations: 3.185 MB / 1.287 GB, free: 15.28 MB / 0.5573 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.001222/3.912, allocations: 295.9 kB / 1.287 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01952/3.931, allocations: 9.627 MB / 1.296 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.115e-06/3.931, allocations: 0 / 1.296 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01024/3.942, allocations: 4.551 MB / 1.301 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006648/3.948, allocations: 1.161 MB / 1.302 GB, free: 2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06328/4.012, allocations: 20.65 MB / 1.322 GB, free: 1.918 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0203/4.032, allocations: 9.093 MB / 1.331 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/4.034, allocations: 427.4 kB / 1.331 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of SimCode: time 1.91e-06/4.034, allocations: 4 kB / 1.331 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of Templates: time 1.159/5.194, allocations: 362.1 MB / 1.685 GB, free: 98.53 MB / 0.6198 GB