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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 2.171/2.171, allocations: 194.9 MB / 211.2 MB, free: 8.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.304e-05, allocations: 3.906 kB / 258.8 MB, free: 8.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3032, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01401/0.3173, allocations: 8.27 MB / 311.6 MB, free: 5.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006987/0.3244, allocations: 2.38 MB / 313.9 MB, free: 3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.3261, allocations: 71.81 kB / 314 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.3279, allocations: 445.5 kB / 314.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.332, allocations: 0.806 MB / 315.2 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.3349, allocations: 0.6145 MB / 315.9 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005386/0.3403, allocations: 2.203 MB / 318.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02089/0.3613, allocations: 7.961 MB / 326 MB, free: 6.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.3644, allocations: 1.216 MB / 327.2 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003683/0.3681, allocations: 1.468 MB / 328.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.3703, allocations: 287.8 kB / 329 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008015/0.3711, allocations: 124 kB / 329.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000955/0.3721, allocations: 0.5912 MB / 329.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.3734, allocations: 316 kB / 330 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.3861, allocations: 7.618 MB / 337.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3861, allocations: 0 / 337.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.3861, allocations: 0 / 337.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002656/0.3864, allocations: 0 / 337.6 MB, free: 11.21 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.02465/0.4111, allocations: 4.494 MB / 342.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.4112, allocations: 8.031 kB / 342.1 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03102/0.4422, allocations: 2.398 MB / 344.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009344/0.4516, allocations: 2.345 MB / 346.9 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006484/0.4523, allocations: 365.8 kB / 347.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002432/0.4548, allocations: 476 kB / 347.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/0.4779, allocations: 6.585 MB / 354.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/0.4781, allocations: 7.906 kB / 354.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/0.4795, allocations: 203.9 kB / 354.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003554/0.4799, allocations: 226.1 kB / 354.7 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.5003, allocations: 6.094 MB / 360.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05489/0.5553, allocations: 22.69 MB / 383.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/0.5734, allocations: 10.81 MB / 394.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009252/0.5827, allocations: 3.573 MB / 397.9 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5828, allocations: 34.56 kB / 397.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.426e-06/0.5828, allocations: 0 / 397.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001299/0.5841, allocations: 0.6724 MB / 398.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.5842, allocations: 51.41 kB / 398.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004935/0.5892, allocations: 1.957 MB / 400.6 MB, free: 9.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.5893, allocations: 29.7 kB / 400.6 MB, free: 9.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002477/0.5918, allocations: 2.396 MB / 403 MB, free: 6.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.592, allocations: 91.39 kB / 403.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.5923, allocations: 52 kB / 403.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003036/0.5926, allocations: 415.8 kB / 403.6 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/0.595, allocations: 0.8558 MB / 404.4 MB, free: 5.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00367/0.5987, allocations: 2.261 MB / 406.7 MB, free: 2.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003553/0.6023, allocations: 1.42 MB / 408.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-05/0.6024, allocations: 20 kB / 408.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.008595/0.611, allocations: 3.072 MB / 411.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/0.6112, allocations: 32.06 kB / 411.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.852e-05/0.6113, allocations: 52 kB / 411.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.6114, allocations: 79.94 kB / 411.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/0.6151, allocations: 0.5731 MB / 411.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001427/0.6152, allocations: 99.64 kB / 412 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.6188, allocations: 404.2 kB / 412.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004783/0.6194, allocations: 151.9 kB / 412.6 MB, free: 12.43 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.004331/0.6237, allocations: 1.714 MB / 414.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.6241, allocations: 134.2 kB / 414.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009588/0.6251, allocations: 343 kB / 414.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003925/0.6255, allocations: 185.6 kB / 414.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6255, allocations: 0 / 414.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.6256, allocations: 0 / 414.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008945/0.6345, allocations: 3.196 MB / 418.1 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6346, allocations: 0 / 418.1 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.6348, allocations: 15.98 kB / 418.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.6348, allocations: 4 kB / 418.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.6348, allocations: 0 / 418.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.6348, allocations: 0 / 418.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6348, allocations: 7.953 kB / 418.2 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.636, allocations: 0.531 MB / 418.7 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/0.6367, allocations: 259.2 kB / 418.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.637, allocations: 3.984 kB / 418.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.638, allocations: 27.92 kB / 419 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.638, allocations: 11.98 kB / 419 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.6381, allocations: 4 kB / 419 MB, free: 5.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00364/0.6417, allocations: 1.4 MB / 420.4 MB, free: 4.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.6418, allocations: 0 / 420.4 MB, free: 4.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004071/0.6458, allocations: 0.9904 MB / 421.4 MB, free: 3.496 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.0004124/0.6463, allocations: 147.2 kB / 421.5 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004152/0.6505, allocations: 1.565 MB / 423.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.6505, allocations: 0 / 423.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.6508, allocations: 95.83 kB / 423.2 MB, free: 1.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.6536, allocations: 324.1 kB / 423.5 MB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2968/0.9505, allocations: 7.427 MB / 430.9 MB, free: 100.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007963/0.9585, allocations: 3.118 MB / 434 MB, free: 99.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/0.9593, allocations: 125.1 kB / 434.2 MB, free: 99.22 MB / 362.7 MB Notification: Performance of SimCode: time 2.214e-06/0.9594, allocations: 3.5 kB / 434.2 MB, free: 99.22 MB / 362.7 MB Notification: Performance of Templates: time 0.0863/1.046, allocations: 39.05 MB / 473.2 MB, free: 64.78 MB / 362.7 MB