Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.249e-05, allocations: 0 / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.08917, allocations: 50.41 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4768, allocations: 89.56 MB / 432.6 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4771, allocations: 84.27 kB / 432.7 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6406/1.118, allocations: 135.4 MB / 0.5548 GB, free: 104.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.453e-06/1.118, allocations: 0 / 0.5548 GB, free: 104.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001481/1.118, allocations: 89.33 kB / 0.5549 GB, free: 104.9 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01172/1.13, allocations: 3.693 MB / 0.5585 GB, free: 103.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.13, allocations: 11.47 kB / 0.5585 GB, free: 103.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007306/1.137, allocations: 0.9407 MB / 0.5594 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/1.142, allocations: 2.425 MB / 0.5618 GB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/1.143, allocations: 293.8 kB / 0.5621 GB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008163/1.143, allocations: 394.5 kB / 0.5625 GB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/1.155, allocations: 5.757 MB / 0.5681 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/1.156, allocations: 10.06 kB / 0.5681 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005301/1.156, allocations: 171.8 kB / 0.5683 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000285/1.156, allocations: 279.9 kB / 0.5685 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008599/1.165, allocations: 4.205 MB / 0.5726 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02695/1.192, allocations: 18.63 MB / 0.5908 GB, free: 90.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004803/1.197, allocations: 3.874 MB / 0.5946 GB, free: 87.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/1.198, allocations: 0.8379 MB / 0.5954 GB, free: 87.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/1.198, allocations: 103.6 kB / 0.5955 GB, free: 87.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/1.199, allocations: 43.38 kB / 0.5956 GB, free: 87.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 4.904e-06/1.199, allocations: 0 / 0.5956 GB, free: 87.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.002181/1.201, allocations: 1.161 MB / 0.5967 GB, free: 86.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/1.201, allocations: 67.83 kB / 0.5968 GB, free: 86.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/1.203, allocations: 1.19 MB / 0.5979 GB, free: 86.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/1.203, allocations: 41.67 kB / 0.598 GB, free: 86.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008044/1.204, allocations: 1.749 MB / 0.5997 GB, free: 84.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/1.204, allocations: 381.1 kB / 0.6 GB, free: 84.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/1.204, allocations: 43.44 kB / 0.6001 GB, free: 84.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002119/1.204, allocations: 441.2 kB / 0.6005 GB, free: 84.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/1.206, allocations: 0.8402 MB / 0.6013 GB, free: 83.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.208, allocations: 1.835 MB / 0.6031 GB, free: 82.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/1.21, allocations: 1.292 MB / 0.6044 GB, free: 81.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/1.21, allocations: 10.91 kB / 0.6044 GB, free: 81.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004779/1.214, allocations: 2.671 MB / 0.607 GB, free: 80.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/1.215, allocations: 24.03 kB / 0.607 GB, free: 80.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/1.215, allocations: 32 kB / 0.6071 GB, free: 80.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.355e-05/1.215, allocations: 52 kB / 0.6071 GB, free: 79.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/1.217, allocations: 0.5316 MB / 0.6076 GB, free: 79.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.943e-05/1.217, allocations: 71.44 kB / 0.6077 GB, free: 79.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.219, allocations: 299 kB / 0.608 GB, free: 79.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/1.219, allocations: 112 kB / 0.6081 GB, free: 79.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003187/1.219, allocations: 252.7 kB / 0.6083 GB, free: 78.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/1.219, allocations: 125.2 kB / 0.6084 GB, free: 78.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/1.222, allocations: 1.513 MB / 0.6099 GB, free: 77.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00175/1.224, allocations: 1.075 MB / 0.611 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.021e-06/1.224, allocations: 0 / 0.611 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/1.224, allocations: 7.469 kB / 0.611 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.242, allocations: 12.1 MB / 0.6228 GB, free: 65.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/1.242, allocations: 24 kB / 0.6228 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.243, allocations: 227.5 kB / 0.623 GB, free: 65.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.324e-05/1.243, allocations: 32 kB / 0.6231 GB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.243, allocations: 51.98 kB / 0.6231 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.868e-05/1.243, allocations: 39.86 kB / 0.6232 GB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.021e-05/1.243, allocations: 31.88 kB / 0.6232 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/1.247, allocations: 3.928 MB / 0.627 GB, free: 60.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/1.247, allocations: 243.2 kB / 0.6272 GB, free: 60.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/1.248, allocations: 55.97 kB / 0.6273 GB, free: 60.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.249, allocations: 63.95 kB / 0.6274 GB, free: 60 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/1.249, allocations: 151.4 kB / 0.6275 GB, free: 59.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.249, allocations: 59.98 kB / 0.6276 GB, free: 59.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001405/1.25, allocations: 0.8875 MB / 0.6284 GB, free: 58.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.7e-07/1.25, allocations: 0 / 0.6284 GB, free: 58.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003029/1.253, allocations: 0.8819 MB / 0.6293 GB, free: 58.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004437/1.254, allocations: 266.2 kB / 0.6295 GB, free: 57.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003028/1.257, allocations: 1.838 MB / 0.6313 GB, free: 55.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.838e-06/1.257, allocations: 0 / 0.6313 GB, free: 55.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.258, allocations: 0.63 MB / 0.632 GB, free: 55.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/1.26, allocations: 315.5 kB / 0.6323 GB, free: 55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.27, allocations: 5.29 MB / 0.6374 GB, free: 49.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/1.273, allocations: 2.872 MB / 0.6402 GB, free: 46.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002322/1.275, allocations: 0.7688 MB / 0.641 GB, free: 45.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/1.275, allocations: 107.4 kB / 0.6411 GB, free: 45.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.545e-06/1.275, allocations: 0 / 0.6411 GB, free: 45.59 MB / 442.7 MB Notification: Performance of Templates: time 0.04086/1.316, allocations: 16.28 MB / 0.657 GB, free: 29.61 MB / 442.7 MB