Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.401e-05/4.413e-05, allocations: 3.797 kB / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3664/0.4798, allocations: 89.65 MB / 432.2 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.48, allocations: 84.83 kB / 432.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6743/1.154, allocations: 152.5 MB / 0.5711 GB, free: 104.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.879e-06/1.154, allocations: 0 / 0.5711 GB, free: 104.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00016/1.155, allocations: 95.19 kB / 0.5712 GB, free: 104.6 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01364/1.168, allocations: 4.064 MB / 0.5751 GB, free: 102.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.168, allocations: 11.25 kB / 0.5751 GB, free: 102.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006903/1.175, allocations: 0.9682 MB / 0.5761 GB, free: 102.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005993/1.181, allocations: 2.723 MB / 0.5787 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/1.181, allocations: 322.7 kB / 0.5791 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009069/1.182, allocations: 430.2 kB / 0.5795 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/1.195, allocations: 6.438 MB / 0.5857 GB, free: 97.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/1.195, allocations: 3.938 kB / 0.5858 GB, free: 97.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005789/1.196, allocations: 190.6 kB / 0.5859 GB, free: 97.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002972/1.196, allocations: 317.2 kB / 0.5862 GB, free: 97.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009356/1.205, allocations: 4.581 MB / 0.5907 GB, free: 95.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0302/1.235, allocations: 20.74 MB / 0.611 GB, free: 79.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005863/1.241, allocations: 5.559 MB / 0.6164 GB, free: 73.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/1.243, allocations: 0.7096 MB / 0.6171 GB, free: 72.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/1.243, allocations: 108.9 kB / 0.6172 GB, free: 72.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.243, allocations: 39.34 kB / 0.6172 GB, free: 72.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 4.254e-06/1.243, allocations: 0 / 0.6172 GB, free: 72.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.002004/1.245, allocations: 1.115 MB / 0.6183 GB, free: 71.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/1.245, allocations: 68.19 kB / 0.6184 GB, free: 71.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/1.247, allocations: 1.293 MB / 0.6196 GB, free: 69.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/1.247, allocations: 41.7 kB / 0.6197 GB, free: 69.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008607/1.248, allocations: 1.958 MB / 0.6216 GB, free: 67.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/1.248, allocations: 366.5 kB / 0.6219 GB, free: 67.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/1.248, allocations: 48 kB / 0.622 GB, free: 67.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/1.248, allocations: 451.3 kB / 0.6224 GB, free: 66.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/1.25, allocations: 0.8243 MB / 0.6232 GB, free: 66.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/1.252, allocations: 1.941 MB / 0.6251 GB, free: 63.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/1.253, allocations: 1.343 MB / 0.6264 GB, free: 62.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/1.253, allocations: 12 kB / 0.6264 GB, free: 62.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004585/1.258, allocations: 2.723 MB / 0.6291 GB, free: 59.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/1.258, allocations: 21 kB / 0.6291 GB, free: 59.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/1.258, allocations: 43.94 kB / 0.6292 GB, free: 59.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.1e-05/1.258, allocations: 64 kB / 0.6292 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/1.26, allocations: 0.5343 MB / 0.6297 GB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.157e-05/1.26, allocations: 83.66 kB / 0.6298 GB, free: 58.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.262, allocations: 289.1 kB / 0.6301 GB, free: 58.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/1.262, allocations: 124 kB / 0.6302 GB, free: 58.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 281 * 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.0003166/1.263, allocations: 259.9 kB / 0.6305 GB, free: 58.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/1.263, allocations: 134.3 kB / 0.6306 GB, free: 57.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/1.265, allocations: 1.435 MB / 0.632 GB, free: 56.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001585/1.267, allocations: 1.006 MB / 0.633 GB, free: 55.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.215e-06/1.267, allocations: 4 kB / 0.633 GB, free: 55.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.267, allocations: 7.984 kB / 0.633 GB, free: 55.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01695/1.284, allocations: 11.99 MB / 0.6447 GB, free: 42.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/1.284, allocations: 20 kB / 0.6447 GB, free: 42.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008952/1.285, allocations: 211.8 kB / 0.6449 GB, free: 42.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.058e-05/1.285, allocations: 31.94 kB / 0.645 GB, free: 42.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.81e-05/1.285, allocations: 51.98 kB / 0.645 GB, free: 42.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-05/1.285, allocations: 35.86 kB / 0.645 GB, free: 42.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.99e-05/1.285, allocations: 31.88 kB / 0.6451 GB, free: 42.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/1.289, allocations: 3.721 MB / 0.6487 GB, free: 38.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/1.289, allocations: 343 kB / 0.649 GB, free: 37.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/1.29, allocations: 43.98 kB / 0.6491 GB, free: 37.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009563/1.291, allocations: 59.95 kB / 0.6491 GB, free: 37.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/1.291, allocations: 135.5 kB / 0.6493 GB, free: 37.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.291, allocations: 51.98 kB / 0.6493 GB, free: 37.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001518/1.292, allocations: 0.9696 MB / 0.6503 GB, free: 36.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.292, allocations: 4 kB / 0.6503 GB, free: 36.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003132/1.296, allocations: 0.9516 MB / 0.6512 GB, free: 35.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * 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.0003845/1.296, allocations: 258.1 kB / 0.6514 GB, free: 35.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003021/1.299, allocations: 1.812 MB / 0.6532 GB, free: 33.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.299, allocations: 4 kB / 0.6532 GB, free: 33.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009536/1.3, allocations: 0.6027 MB / 0.6538 GB, free: 32.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/1.302, allocations: 356.4 kB / 0.6541 GB, free: 32.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.313, allocations: 5.668 MB / 0.6597 GB, free: 26.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/1.316, allocations: 3.141 MB / 0.6627 GB, free: 23.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002524/1.319, allocations: 0.825 MB / 0.6635 GB, free: 22.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/1.319, allocations: 111.4 kB / 0.6637 GB, free: 22.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.992e-06/1.319, allocations: 3.938 kB / 0.6637 GB, free: 22.46 MB / 442.7 MB Notification: Performance of Templates: time 0.04628/1.365, allocations: 17.31 MB / 0.6806 GB, free: 5.414 MB / 442.7 MB