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.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.873/1.873, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.363e-05, allocations: 0 / 258.8 MB, free: 7.855 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3084, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01298/0.3215, allocations: 8.262 MB / 311.6 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006592/0.3281, allocations: 2.386 MB / 314 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.3294, allocations: 71.81 kB / 314 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.3307, allocations: 437.5 kB / 314.5 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003355/0.3341, allocations: 0.8021 MB / 315.3 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.3365, allocations: 0.6223 MB / 315.9 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00479/0.3413, allocations: 2.195 MB / 318.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02024/0.3616, allocations: 7.98 MB / 326.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.3643, allocations: 1.208 MB / 327.3 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.3677, allocations: 1.471 MB / 328.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.3695, allocations: 279.8 kB / 329 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.3701, allocations: 128 kB / 329.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007605/0.3708, allocations: 0.5874 MB / 329.7 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.372, allocations: 316 kB / 330 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.3829, allocations: 7.616 MB / 337.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3829, allocations: 0 / 337.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3829, allocations: 0 / 337.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002301/0.3832, allocations: 3.938 kB / 337.7 MB, free: 11.1 MB / 282.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.01745/0.4006, allocations: 4.498 MB / 342.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4007, allocations: 8.031 kB / 342.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02154/0.4222, allocations: 2.398 MB / 344.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006674/0.429, allocations: 2.345 MB / 346.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004958/0.4295, allocations: 365.8 kB / 347.3 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.4314, allocations: 476 kB / 347.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02205/0.4535, allocations: 6.589 MB / 354.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/0.4537, allocations: 3.906 kB / 354.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/0.4551, allocations: 203.9 kB / 354.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003338/0.4555, allocations: 226.1 kB / 354.7 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01963/0.4751, allocations: 6.102 MB / 360.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05286/0.528, allocations: 22.68 MB / 383.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/0.5443, allocations: 10.8 MB / 394.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008314/0.5526, allocations: 3.581 MB / 397.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5527, allocations: 30.56 kB / 397.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.316e-06/0.5527, allocations: 0 / 397.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001159/0.5539, allocations: 0.672 MB / 398.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.554, allocations: 51.41 kB / 398.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004971/0.5589, allocations: 1.957 MB / 400.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.5591, allocations: 29.7 kB / 400.7 MB, free: 9.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002278/0.5614, allocations: 2.386 MB / 403 MB, free: 6.613 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.5616, allocations: 83.41 kB / 403.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.5618, allocations: 52 kB / 403.2 MB, free: 6.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003461/0.5622, allocations: 459.8 kB / 403.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.5645, allocations: 0.8597 MB / 404.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.568, allocations: 2.261 MB / 406.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.5715, allocations: 1.423 MB / 408.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.946e-05/0.5715, allocations: 16 kB / 408.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.008287/0.5798, allocations: 3.118 MB / 411.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.095e-05/0.5799, allocations: 24 kB / 411.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.892e-05/0.58, allocations: 52 kB / 411.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.5802, allocations: 79.92 kB / 411.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/0.5837, allocations: 0.5771 MB / 412 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001156/0.5839, allocations: 91.66 kB / 412.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/0.5872, allocations: 408.6 kB / 412.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/0.5876, allocations: 151.9 kB / 412.7 MB, free: 12.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (312): * Single equations (assignments): 308 * 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.00393/0.5916, allocations: 1.718 MB / 414.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/0.592, allocations: 134.2 kB / 414.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008488/0.5928, allocations: 343.1 kB / 414.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003584/0.5932, allocations: 181.6 kB / 415 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5932, allocations: 0 / 415 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5933, allocations: 0 / 415 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008132/0.6014, allocations: 3.192 MB / 418.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.6015, allocations: 3.938 kB / 418.2 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.6016, allocations: 16 kB / 418.2 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.6017, allocations: 0 / 418.2 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.6017, allocations: 4.031 kB / 418.2 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6017, allocations: 4 kB / 418.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.6017, allocations: 3.953 kB / 418.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.6027, allocations: 0.5271 MB / 418.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/0.6034, allocations: 263.2 kB / 419 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.6037, allocations: 4 kB / 419 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000839/0.6045, allocations: 31.98 kB / 419.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.6046, allocations: 11.98 kB / 419.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.6046, allocations: 4 kB / 419.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003242/0.6079, allocations: 1.4 MB / 420.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.6079, allocations: 0 / 420.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003648/0.6116, allocations: 0.9865 MB / 421.5 MB, free: 3.316 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0003504/0.6119, allocations: 139.2 kB / 421.6 MB, free: 3.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003957/0.6159, allocations: 1.567 MB / 423.2 MB, free: 1.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.616, allocations: 2 kB / 423.2 MB, free: 1.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.6162, allocations: 91.83 kB / 423.3 MB, free: 1.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.6189, allocations: 323.9 kB / 423.6 MB, free: 1.203 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3043/0.9232, allocations: 7.549 MB / 431.1 MB, free: 100 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004557/0.9278, allocations: 3.203 MB / 434.3 MB, free: 99.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003348/0.9312, allocations: 0.7995 MB / 435.1 MB, free: 98.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.9315, allocations: 97.23 kB / 435.2 MB, free: 98.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.784e-06/0.9316, allocations: 0 / 435.2 MB, free: 98.95 MB / 362.7 MB Notification: Performance of Templates: time 0.05196/0.9835, allocations: 16.95 MB / 452.2 MB, free: 85.74 MB / 362.7 MB