Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.796e-05, allocations: 0 / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.0944, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.4626, allocations: 89.72 MB / 432.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.4628, allocations: 77.83 kB / 432.3 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7316/1.194, allocations: 152.5 MB / 0.5711 GB, free: 104.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.976e-06/1.194, allocations: 0 / 0.5711 GB, free: 104.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002058/1.195, allocations: 97.75 kB / 0.5712 GB, free: 104.3 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.01556/1.21, allocations: 4.061 MB / 0.5752 GB, free: 102.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.21, allocations: 11.62 kB / 0.5752 GB, free: 102.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008309/1.219, allocations: 0.9669 MB / 0.5761 GB, free: 102.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006218/1.225, allocations: 2.729 MB / 0.5788 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002869/1.225, allocations: 325 kB / 0.5791 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/1.226, allocations: 425.3 kB / 0.5795 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/1.241, allocations: 6.439 MB / 0.5858 GB, free: 97.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/1.241, allocations: 0 / 0.5858 GB, free: 97.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005936/1.242, allocations: 190.5 kB / 0.586 GB, free: 97.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003096/1.242, allocations: 321.3 kB / 0.5863 GB, free: 97.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/1.254, allocations: 4.584 MB / 0.5908 GB, free: 95.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.035/1.289, allocations: 20.74 MB / 0.611 GB, free: 79.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/1.295, allocations: 5.556 MB / 0.6164 GB, free: 73.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/1.296, allocations: 0.7153 MB / 0.6171 GB, free: 72.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/1.297, allocations: 108.7 kB / 0.6172 GB, free: 72.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/1.297, allocations: 39.34 kB / 0.6173 GB, free: 72.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 5.63e-06/1.297, allocations: 0 / 0.6173 GB, free: 72.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.002/1.299, allocations: 1.108 MB / 0.6184 GB, free: 71.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/1.299, allocations: 68.17 kB / 0.6184 GB, free: 71.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/1.301, allocations: 1.293 MB / 0.6197 GB, free: 70.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.406e-05/1.301, allocations: 45.69 kB / 0.6197 GB, free: 69.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008436/1.302, allocations: 1.972 MB / 0.6217 GB, free: 67.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/1.302, allocations: 369.4 kB / 0.622 GB, free: 67.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/1.302, allocations: 48 kB / 0.6221 GB, free: 67.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/1.302, allocations: 403.3 kB / 0.6224 GB, free: 67.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.304, allocations: 0.8282 MB / 0.6233 GB, free: 66.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/1.306, allocations: 1.941 MB / 0.6251 GB, free: 63.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/1.307, allocations: 1.343 MB / 0.6265 GB, free: 62.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/1.307, allocations: 12 kB / 0.6265 GB, free: 62.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004671/1.312, allocations: 2.681 MB / 0.6291 GB, free: 59.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/1.312, allocations: 24 kB / 0.6291 GB, free: 59.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.23e-05/1.312, allocations: 36 kB / 0.6291 GB, free: 59.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.782e-05/1.312, allocations: 64.06 kB / 0.6292 GB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/1.314, allocations: 0.5342 MB / 0.6297 GB, free: 59.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.219e-05/1.315, allocations: 79.72 kB / 0.6298 GB, free: 59.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.316, allocations: 301 kB / 0.6301 GB, free: 58.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/1.317, allocations: 124 kB / 0.6302 GB, free: 58.66 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.0003226/1.317, allocations: 259.9 kB / 0.6305 GB, free: 58.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/1.317, allocations: 142.2 kB / 0.6306 GB, free: 58.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/1.32, allocations: 1.42 MB / 0.632 GB, free: 56.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001582/1.321, allocations: 1.006 MB / 0.633 GB, free: 55.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.763e-06/1.321, allocations: 4 kB / 0.633 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/1.321, allocations: 3.984 kB / 0.633 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/1.339, allocations: 11.99 MB / 0.6447 GB, free: 43.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/1.339, allocations: 16.22 kB / 0.6447 GB, free: 43.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009163/1.34, allocations: 223.6 kB / 0.6449 GB, free: 42.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.25e-05/1.34, allocations: 27.84 kB / 0.6449 GB, free: 42.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.695e-05/1.34, allocations: 44 kB / 0.645 GB, free: 42.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.673e-05/1.34, allocations: 43.78 kB / 0.645 GB, free: 42.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.881e-05/1.34, allocations: 31.88 kB / 0.6451 GB, free: 42.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00368/1.344, allocations: 3.729 MB / 0.6487 GB, free: 38.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000744/1.345, allocations: 335.1 kB / 0.649 GB, free: 38.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/1.345, allocations: 47.98 kB / 0.6491 GB, free: 38.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.346, allocations: 63.94 kB / 0.6491 GB, free: 37.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.346, allocations: 131.5 kB / 0.6492 GB, free: 37.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.346, allocations: 52 kB / 0.6493 GB, free: 37.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001608/1.348, allocations: 0.9735 MB / 0.6502 GB, free: 36.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.89e-07/1.348, allocations: 0 / 0.6502 GB, free: 36.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003373/1.351, allocations: 0.9516 MB / 0.6512 GB, free: 35.85 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.0004861/1.352, allocations: 255.3 kB / 0.6514 GB, free: 35.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003223/1.355, allocations: 1.819 MB / 0.6532 GB, free: 33.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/1.355, allocations: 4 kB / 0.6532 GB, free: 33.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.356, allocations: 0.5949 MB / 0.6538 GB, free: 33.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/1.358, allocations: 360.2 kB / 0.6541 GB, free: 32.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/1.37, allocations: 5.543 MB / 0.6595 GB, free: 27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00327/1.373, allocations: 3.062 MB / 0.6625 GB, free: 23.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/1.374, allocations: 143.4 kB / 0.6627 GB, free: 23.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.782e-06/1.374, allocations: 0 / 0.6627 GB, free: 23.77 MB / 442.7 MB Notification: Performance of Templates: time 0.3139/1.688, allocations: 37.34 MB / 0.6991 GB, free: 82.84 MB / 442.7 MB