Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,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.BalancingDelta") Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.77e-05, allocations: 4 kB / 258.8 MB, free: 8.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3155, allocations: 44.52 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01778/0.3334, allocations: 7.907 MB / 311.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007556/0.341, allocations: 2.331 MB / 313.5 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.3429, allocations: 63.88 kB / 313.6 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.345, allocations: 409.6 kB / 314 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.3496, allocations: 0.8177 MB / 314.8 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.3525, allocations: 0.604 MB / 315.4 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005267/0.3578, allocations: 2.004 MB / 317.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01927/0.3771, allocations: 7.005 MB / 324.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002816/0.38, allocations: 1.111 MB / 325.5 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003449/0.3835, allocations: 1.374 MB / 326.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.3857, allocations: 271.8 kB / 327.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009151/0.3867, allocations: 120 kB / 327.3 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.3878, allocations: 0.5601 MB / 327.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.3891, allocations: 292 kB / 328.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.3997, allocations: 6.798 MB / 334.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3997, allocations: 0 / 334.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.428e-06/0.3998, allocations: 3.938 kB / 334.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002329/0.4, allocations: 4 kB / 335 MB, free: 13.94 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01706/0.4171, allocations: 4.196 MB / 339.1 MB, free: 9.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4172, allocations: 12.02 kB / 339.2 MB, free: 9.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02447/0.4416, allocations: 2.566 MB / 341.7 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006502/0.4482, allocations: 2.135 MB / 343.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000561/0.4488, allocations: 341 kB / 344.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.4508, allocations: 440 kB / 344.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02928/0.4802, allocations: 6.056 MB / 350.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002869/0.4805, allocations: 3.906 kB / 350.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002055/0.4826, allocations: 184 kB / 350.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004905/0.4832, allocations: 217.3 kB / 351.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0251/0.5083, allocations: 5.771 MB / 356.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0579/0.5662, allocations: 21.47 MB / 378.3 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/0.5809, allocations: 8.97 MB / 387.3 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.591, allocations: 3.864 MB / 391.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.5912, allocations: 38.73 kB / 391.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.848e-06/0.5912, allocations: 0 / 391.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001921/0.5931, allocations: 0.9079 MB / 392.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.5932, allocations: 55.59 kB / 392.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004857/0.5981, allocations: 1.89 MB / 394 MB, free: 140 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/0.5982, allocations: 29.7 kB / 394.1 MB, free: 104 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002221/0.6004, allocations: 2.234 MB / 396.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.6007, allocations: 134.6 kB / 396.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.6011, allocations: 52 kB / 396.5 MB, free: 13.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002807/0.6014, allocations: 416 kB / 396.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.6039, allocations: 0.9106 MB / 397.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/0.6081, allocations: 2.269 MB / 400.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.6119, allocations: 1.459 MB / 401.5 MB, free: 7.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.074e-05/0.612, allocations: 12 kB / 401.5 MB, free: 7.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.009154/0.6212, allocations: 3.164 MB / 404.7 MB, free: 4.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.6213, allocations: 24.97 kB / 404.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-05/0.6214, allocations: 48 kB / 404.8 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.6215, allocations: 76 kB / 404.8 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00531/0.6268, allocations: 0.5927 MB / 405.4 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000235/0.6271, allocations: 95.61 kB / 405.5 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/0.6333, allocations: 416.2 kB / 405.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007274/0.6341, allocations: 148 kB / 406.1 MB, free: 3.352 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 316 * 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.004329/0.6385, allocations: 1.55 MB / 407.6 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/0.6389, allocations: 134.2 kB / 407.8 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.6403, allocations: 0.557 MB / 408.3 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006354/0.641, allocations: 285.4 kB / 408.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.641, allocations: 7.938 kB / 408.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.641, allocations: 3.953 kB / 408.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008724/0.6498, allocations: 3.391 MB / 412 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.6498, allocations: 4 kB / 412 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.6502, allocations: 31.98 kB / 412 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/0.6502, allocations: 7.984 kB / 412 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.6502, allocations: 7.938 kB / 412.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.6502, allocations: 4 kB / 412.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.6503, allocations: 3.984 kB / 412.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.6519, allocations: 0.8718 MB / 412.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/0.6526, allocations: 291.3 kB / 413.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003283/0.6529, allocations: 4 kB / 413.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009722/0.6539, allocations: 39.94 kB / 413.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.654, allocations: 19.88 kB / 413.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.654, allocations: 12 kB / 413.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003358/0.6574, allocations: 1.383 MB / 414.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.6575, allocations: 0 / 414.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003809/0.6613, allocations: 0.9323 MB / 415.6 MB, free: 9.566 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 14 * 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.0004117/0.6617, allocations: 147.2 kB / 415.8 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004606/0.6664, allocations: 1.689 MB / 417.4 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.6664, allocations: 320 / 417.4 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.6668, allocations: 147.8 kB / 417.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.6694, allocations: 280.8 kB / 417.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/0.6862, allocations: 6.972 MB / 424.8 MB, free: 280 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3089/0.9952, allocations: 2.874 MB / 427.7 MB, free: 102.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/0.9959, allocations: 130.7 kB / 427.8 MB, free: 102.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.9959, allocations: 0 / 427.8 MB, free: 102.1 MB / 362.7 MB Notification: Performance of Templates: time 0.07224/1.068, allocations: 36.81 MB / 464.6 MB, free: 73.76 MB / 362.7 MB