Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.157e-05, allocations: 8 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 38.76 MB / 263.7 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.3224, allocations: 71 MB / 334.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.3227, allocations: 67.95 kB / 334.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07672/0.3995, allocations: 18.87 MB / 353.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.562e-06/0.3995, allocations: 0 / 353.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.3996, allocations: 31.94 kB / 353.7 MB, free: 15.67 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003536/0.4032, allocations: 1.321 MB / 355 MB, free: 14.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4032, allocations: 8.031 kB / 355 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.4037, allocations: 142.3 kB / 355.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.4058, allocations: 0.8531 MB / 356 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.406, allocations: 78.56 kB / 356.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/0.4063, allocations: 115.9 kB / 356.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.4097, allocations: 1.453 MB / 357.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.4098, allocations: 0 / 357.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.41, allocations: 52 kB / 357.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.41, allocations: 24 kB / 357.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.4128, allocations: 1.164 MB / 358.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009646/0.4225, allocations: 4.26 MB / 363.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.4241, allocations: 1.282 MB / 364.5 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009471/0.4251, allocations: 438.6 kB / 364.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.4251, allocations: 4.438 kB / 364.9 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.4252, allocations: 46.92 kB / 364.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.516e-06/0.4252, allocations: 4 kB / 364.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.00377/0.429, allocations: 1.639 MB / 366.6 MB, free: 2.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4291, allocations: 59.84 kB / 366.6 MB, free: 2.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.4305, allocations: 0.7261 MB / 367.4 MB, free: 1.449 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-05/0.4307, allocations: 37.7 kB / 367.4 MB, free: 1.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/0.4312, allocations: 0.5594 MB / 368 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.4314, allocations: 177.5 kB / 368.1 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.4314, allocations: 8 kB / 368.1 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4316, allocations: 334.8 kB / 368.5 MB, free: 328 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.4322, allocations: 285 kB / 368.7 MB, free: 44 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1845/0.6167, allocations: 370.9 kB / 369.1 MB, free: 85.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008504/0.6176, allocations: 356.4 kB / 369.5 MB, free: 85.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.399e-06/0.6176, allocations: 1.125 kB / 369.5 MB, free: 85.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001909/0.6196, allocations: 0.8174 MB / 370.3 MB, free: 85.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.6196, allocations: 6.969 kB / 370.3 MB, free: 85.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.6196, allocations: 2.281 kB / 370.3 MB, free: 85.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.62, allocations: 109.3 kB / 370.4 MB, free: 85.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.6207, allocations: 127.3 kB / 370.5 MB, free: 85.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.6231, allocations: 2.178 MB / 372.7 MB, free: 83.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/0.6238, allocations: 27.89 kB / 372.7 MB, free: 83.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.6239, allocations: 20.28 kB / 372.7 MB, free: 83.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.6241, allocations: 140.3 kB / 372.9 MB, free: 83.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.6242, allocations: 78.33 kB / 372.9 MB, free: 83.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.6245, allocations: 89.77 kB / 373 MB, free: 83.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.619e-06/0.6245, allocations: 7.172 kB / 373 MB, free: 83.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.99e-06/0.6245, allocations: 4.5 kB / 373 MB, free: 83.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6245, allocations: 5.969 kB / 373.1 MB, free: 83.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/0.6284, allocations: 1.993 MB / 375 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.867e-06/0.6284, allocations: 3.328 kB / 375.1 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.629, allocations: 91.53 kB / 375.1 MB, free: 83.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/0.6293, allocations: 101.9 kB / 375.2 MB, free: 83.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.6294, allocations: 14.12 kB / 375.3 MB, free: 83.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.6317, allocations: 2.128 MB / 377.4 MB, free: 81.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.717e-06/0.6317, allocations: 4.844 kB / 377.4 MB, free: 81.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.6337, allocations: 1.209 MB / 378.6 MB, free: 81.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.6341, allocations: 229 kB / 378.8 MB, free: 81.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.6343, allocations: 15.02 kB / 378.8 MB, free: 81.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005974/0.6349, allocations: 52.98 kB / 378.9 MB, free: 81.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.635, allocations: 47.19 kB / 378.9 MB, free: 81.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.6351, allocations: 14.19 kB / 378.9 MB, free: 81.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009326/0.636, allocations: 0.578 MB / 379.5 MB, free: 81.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.6361, allocations: 3.969 kB / 379.5 MB, free: 81.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001097/0.6372, allocations: 210.5 kB / 379.7 MB, free: 81.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001919/0.6374, allocations: 120.1 kB / 379.8 MB, free: 81.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.6388, allocations: 0.7548 MB / 380.6 MB, free: 81.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6389, allocations: 3.594 kB / 380.6 MB, free: 81.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008378/0.6397, allocations: 478.1 kB / 381.1 MB, free: 80.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6408, allocations: 159.4 kB / 381.2 MB, free: 80.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.6445, allocations: 1.748 MB / 383 MB, free: 80.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009988/0.6456, allocations: 1.344 MB / 384.3 MB, free: 79.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.6459, allocations: 53.3 kB / 384.4 MB, free: 79.4 MB / 314.7 MB Notification: Performance of SimCode: time 2.076e-06/0.6459, allocations: 0 / 384.4 MB, free: 79.4 MB / 314.7 MB Notification: Performance of Templates: time 0.02486/0.6708, allocations: 18.06 MB / 402.4 MB, free: 67.42 MB / 314.7 MB