Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.483e-05/3.5e-05, allocations: 7.984 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08388/0.08394, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4309, allocations: 89.37 MB / 406.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4312, allocations: 85.58 kB / 406.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6852/1.116, allocations: 156.4 MB / 0.5495 GB, free: 97.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.13e-06/1.116, allocations: 0 / 0.5495 GB, free: 97.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001744/1.117, allocations: 96.03 kB / 0.5496 GB, free: 97.76 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.0146/1.131, allocations: 4.214 MB / 0.5538 GB, free: 96.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/1.131, allocations: 7.344 kB / 0.5538 GB, free: 96.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/1.145, allocations: 1.689 MB / 0.5554 GB, free: 96.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/1.151, allocations: 2.688 MB / 0.558 GB, free: 95.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/1.151, allocations: 354.8 kB / 0.5584 GB, free: 95.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/1.153, allocations: 451.4 kB / 0.5588 GB, free: 95.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/1.169, allocations: 7.402 MB / 0.566 GB, free: 93.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/1.169, allocations: 3.844 kB / 0.566 GB, free: 93.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000682/1.17, allocations: 198.7 kB / 0.5662 GB, free: 93.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/1.17, allocations: 297.7 kB / 0.5665 GB, free: 93.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/1.185, allocations: 6.039 MB / 0.5724 GB, free: 91.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04469/1.229, allocations: 23.24 MB / 0.5951 GB, free: 77.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007535/1.237, allocations: 6.429 MB / 0.6014 GB, free: 71.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005307/1.242, allocations: 3.278 MB / 0.6046 GB, free: 68.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01863/1.261, allocations: 10.81 MB / 0.6151 GB, free: 58.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.261, allocations: 52.56 kB / 0.6152 GB, free: 58.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=319): time 7.23e-06/1.261, allocations: 0 / 0.6152 GB, free: 58.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=319): time 0.008677/1.27, allocations: 5.169 MB / 0.6202 GB, free: 53.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/1.27, allocations: 81.41 kB / 0.6203 GB, free: 52.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/1.272, allocations: 1.064 MB / 0.6214 GB, free: 51.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003847/1.272, allocations: 61.7 kB / 0.6214 GB, free: 51.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007228/1.273, allocations: 1.679 MB / 0.6231 GB, free: 50.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000947/1.274, allocations: 1.048 MB / 0.6241 GB, free: 49.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/1.274, allocations: 56 kB / 0.6241 GB, free: 49.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002911/1.274, allocations: 0.4944 MB / 0.6246 GB, free: 48.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/1.278, allocations: 2.189 MB / 0.6268 GB, free: 46.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004073/1.282, allocations: 2.872 MB / 0.6296 GB, free: 43.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004476/1.286, allocations: 2.694 MB / 0.6322 GB, free: 40.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.176e-05/1.286, allocations: 4 kB / 0.6322 GB, free: 40.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01104/1.298, allocations: 6.181 MB / 0.6382 GB, free: 34.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/1.298, allocations: 20 kB / 0.6382 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/1.298, allocations: 20 kB / 0.6383 GB, free: 34.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/1.3, allocations: 1.419 MB / 0.6397 GB, free: 32.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/1.303, allocations: 0.5109 MB / 0.6402 GB, free: 32.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005514/1.308, allocations: 5.161 MB / 0.6452 GB, free: 27.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/1.311, allocations: 380.4 kB / 0.6456 GB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003828/1.311, allocations: 143.9 kB / 0.6457 GB, free: 26.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006164/1.312, allocations: 256.2 kB / 0.6459 GB, free: 26.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/1.313, allocations: 173.7 kB / 0.6461 GB, free: 26.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009539/1.322, allocations: 5.583 MB / 0.6516 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009177/1.331, allocations: 5.127 MB / 0.6566 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.331, allocations: 7.953 kB / 0.6566 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.331, allocations: 7.969 kB / 0.6566 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/1.352, allocations: 11.11 MB / 0.6674 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/1.352, allocations: 4 kB / 0.6674 GB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.353, allocations: 279.6 kB / 0.6677 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/1.356, allocations: 1.385 MB / 0.6691 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004682/1.356, allocations: 67.95 kB / 0.6691 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2425/1.599, allocations: 5.11 MB / 0.6741 GB, free: 93.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.428e-06/1.599, allocations: 2.625 kB / 0.6741 GB, free: 93.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/1.616, allocations: 8.502 MB / 0.6824 GB, free: 93.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.618, allocations: 0.7315 MB / 0.6831 GB, free: 93.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/1.619, allocations: 41.12 kB / 0.6832 GB, free: 93.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.62, allocations: 88.58 kB / 0.6833 GB, free: 93.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006905/1.621, allocations: 245.7 kB / 0.6835 GB, free: 93.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/1.621, allocations: 79.08 kB / 0.6836 GB, free: 93.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00148/1.623, allocations: 0.7767 MB / 0.6843 GB, free: 93.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.698e-06/1.623, allocations: 0 / 0.6843 GB, free: 93.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003511/1.626, allocations: 1.079 MB / 0.6854 GB, free: 93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005686/1.627, allocations: 214.3 kB / 0.6856 GB, free: 92.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00958/1.636, allocations: 5.072 MB / 0.6905 GB, free: 92.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.443e-06/1.636, allocations: 0 / 0.6905 GB, free: 92.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004886/1.641, allocations: 2.444 MB / 0.6929 GB, free: 92.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.643, allocations: 302.1 kB / 0.6932 GB, free: 92.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/1.661, allocations: 8.289 MB / 0.7013 GB, free: 91.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00401/1.665, allocations: 3.338 MB / 0.7046 GB, free: 90.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00225/1.668, allocations: 0.5959 MB / 0.7051 GB, free: 90.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/1.668, allocations: 112.9 kB / 0.7053 GB, free: 90.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/1.668, allocations: 0 / 0.7053 GB, free: 90.83 MB / 426.7 MB Notification: Performance of Templates: time 0.09412/1.762, allocations: 43.44 MB / 0.7477 GB, free: 77.75 MB / 426.7 MB