Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.782/1.782, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.668e-05, allocations: 2.375 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07854/0.07859, allocations: 44.49 MB / 299.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.4448, allocations: 77.86 MB / 377.7 MB, free: 22.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4451, allocations: 75.52 kB / 377.8 MB, free: 22.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09943/0.5446, allocations: 21.17 MB / 398.9 MB, free: 19.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.895e-06/0.5446, allocations: 0 / 398.9 MB, free: 19.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.141e-05/0.5447, allocations: 39.09 kB / 399 MB, free: 19.38 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: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.002561/0.5473, allocations: 1.417 MB / 400.4 MB, free: 18.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.5473, allocations: 11.62 kB / 400.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006029/0.5479, allocations: 177.5 kB / 400.6 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.5496, allocations: 0.9277 MB / 401.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.5497, allocations: 104.2 kB / 401.6 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.55, allocations: 131.9 kB / 401.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.5533, allocations: 1.791 MB / 403.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.5533, allocations: 3.906 kB / 403.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.5535, allocations: 55.38 kB / 403.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.5536, allocations: 34.59 kB / 403.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002845/0.5564, allocations: 1.318 MB / 404.9 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009849/0.5663, allocations: 5.011 MB / 409.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/0.5672, allocations: 0.9487 MB / 410.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.5692, allocations: 467.8 kB / 411.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.337e-05/0.5693, allocations: 11.67 kB / 411.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.5693, allocations: 34.38 kB / 411.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 7.642e-06/0.5694, allocations: 0 / 411.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.005886/0.5753, allocations: 1.556 MB / 413 MB, free: 14.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.5754, allocations: 63.28 kB / 413 MB, free: 14.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.5772, allocations: 0.5979 MB / 413.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.171e-05/0.5773, allocations: 36.55 kB / 413.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/0.5778, allocations: 0.6446 MB / 414.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.5781, allocations: 150.6 kB / 414.4 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.5782, allocations: 11.12 kB / 414.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5783, allocations: 337.1 kB / 414.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/0.5792, allocations: 257.7 kB / 415 MB, free: 12.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009796/0.5802, allocations: 389.5 kB / 415.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.5813, allocations: 329.2 kB / 415.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.913e-06/0.5813, allocations: 0 / 415.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002824/0.5841, allocations: 0.7886 MB / 416.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.5842, allocations: 4.75 kB / 416.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.5842, allocations: 3.938 kB / 416.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/0.5849, allocations: 112.3 kB / 416.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.586, allocations: 117.6 kB / 416.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/0.5904, allocations: 2.13 MB / 418.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.5917, allocations: 38.72 kB / 418.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.5919, allocations: 19.5 kB / 418.9 MB, free: 10.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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.0002895/0.5922, allocations: 134.8 kB / 419.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.5925, allocations: 62.73 kB / 419.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.5929, allocations: 80.53 kB / 419.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5929, allocations: 3.906 kB / 419.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.593, allocations: 7.906 kB / 419.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.593, allocations: 3.984 kB / 419.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008067/0.6011, allocations: 1.977 MB / 421.2 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.6012, allocations: 0 / 421.2 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/0.6021, allocations: 81.36 kB / 421.3 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006162/0.6027, allocations: 101.1 kB / 421.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.464e-05/0.6028, allocations: 11.28 kB / 421.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.6079, allocations: 2.085 MB / 423.5 MB, free: 24.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.608, allocations: 0 / 423.5 MB, free: 24.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/0.6117, allocations: 1.119 MB / 424.6 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/0.6126, allocations: 198.6 kB / 424.8 MB, free: 23.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.6128, allocations: 17.08 kB / 424.8 MB, free: 23.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.614, allocations: 38.61 kB / 424.8 MB, free: 23.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.6143, allocations: 33.86 kB / 424.9 MB, free: 23.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.34e-05/0.6144, allocations: 23.23 kB / 424.9 MB, free: 23.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001687/0.6161, allocations: 474.1 kB / 425.4 MB, free: 23.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.256e-06/0.6161, allocations: 0 / 425.4 MB, free: 23.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002456/0.6186, allocations: 206.1 kB / 425.6 MB, free: 23.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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.0003793/0.619, allocations: 121.6 kB / 425.7 MB, free: 23.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002901/0.6219, allocations: 0.7311 MB / 426.4 MB, free: 23.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.43e-06/0.622, allocations: 0 / 426.4 MB, free: 23.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.6237, allocations: 450.4 kB / 426.9 MB, free: 23.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.6258, allocations: 158.9 kB / 427 MB, free: 23.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007625/0.6335, allocations: 1.824 MB / 428.8 MB, free: 22.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/0.6363, allocations: 1.42 MB / 430.3 MB, free: 20.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.6368, allocations: 50.39 kB / 430.3 MB, free: 20.93 MB / 330.7 MB Notification: Performance of SimCode: time 2.694e-06/0.6368, allocations: 0 / 430.3 MB, free: 20.93 MB / 330.7 MB Notification: Performance of Templates: time 0.03828/0.6751, allocations: 18.95 MB / 449.3 MB, free: 6.473 MB / 330.7 MB