Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.064e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.376, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02655/0.4026, allocations: 16.02 MB / 378.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.4168, allocations: 4.243 MB / 383.1 MB, free: 9.523 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004353/0.4212, allocations: 147.6 kB / 383.3 MB, free: 9.379 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.4258, allocations: 0.9439 MB / 384.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00916/0.435, allocations: 1.694 MB / 385.9 MB, free: 6.727 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.4398, allocations: 0.9111 MB / 386.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01445/0.4543, allocations: 5.964 MB / 392.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0499/0.5042, allocations: 18.08 MB / 410.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007334/0.5116, allocations: 3.187 MB / 414 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009145/0.5208, allocations: 3.854 MB / 417.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004468/0.5254, allocations: 459.8 kB / 418.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002674/0.5281, allocations: 320 kB / 418.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.5322, allocations: 1.817 MB / 420.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004293/0.5365, allocations: 0.8438 MB / 421.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03084/0.5674, allocations: 19.69 MB / 441 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5675, allocations: 0 / 441 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.5675, allocations: 0 / 441 MB, free: 15.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006966/0.5682, allocations: 0 / 441 MB, free: 15.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3353 * Number of variables: 3353 Notification: Performance of Generate backend data structure: time 0.05012/0.6183, allocations: 11.74 MB / 452.8 MB, free: 3.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.6184, allocations: 8.031 kB / 452.8 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1261/0.7446, allocations: 12.44 MB / 465.2 MB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/0.7661, allocations: 6.642 MB / 471.8 MB, free: 460 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001445/0.7676, allocations: 0.9069 MB / 472.8 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005763/0.7734, allocations: 1.179 MB / 473.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08112/0.8545, allocations: 18.79 MB / 492.7 MB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006848/0.8553, allocations: 23.75 kB / 492.7 MB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00478/0.8601, allocations: 496 kB / 493.2 MB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001178/0.8613, allocations: 0.6894 MB / 493.9 MB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.714/1.575, allocations: 19.65 MB / 0.5015 GB, free: 95.2 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.146/1.721, allocations: 61.91 MB / 0.562 GB, free: 44.88 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0329/1.754, allocations: 20.08 MB / 0.5816 GB, free: 23.61 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.756, allocations: 243.5 kB / 0.5818 GB, free: 23.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.841e-05/1.756, allocations: 103.8 kB / 0.5819 GB, free: 23.27 MB / 426.8 MB Notification: Performance of pre-optimization done (n=674): time 1.053e-05/1.756, allocations: 4 kB / 0.5819 GB, free: 23.26 MB / 426.8 MB Notification: Performance of matching and sorting (n=674): time 0.03356/1.789, allocations: 12.38 MB / 0.594 GB, free: 10.66 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/1.789, allocations: 120.7 kB / 0.5941 GB, free: 10.53 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01813/1.808, allocations: 7.706 MB / 0.6017 GB, free: 2.84 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001194/1.809, allocations: 133.7 kB / 0.6018 GB, free: 2.703 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004246/1.813, allocations: 4.113 MB / 0.6058 GB, free: 14.57 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003595/1.817, allocations: 2.26 MB / 0.608 GB, free: 12.33 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/1.818, allocations: 168 kB / 0.6082 GB, free: 12.17 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0007594/1.819, allocations: 0.6454 MB / 0.6088 GB, free: 11.51 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01203/1.831, allocations: 4.138 MB / 0.6129 GB, free: 7.363 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01537/1.846, allocations: 7.142 MB / 0.6198 GB, free: 14.81 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/1.862, allocations: 5.696 MB / 0.6254 GB, free: 9.07 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/1.862, allocations: 35.94 kB / 0.6254 GB, free: 9.035 MB / 458.8 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.0364/1.898, allocations: 11.86 MB / 0.637 GB, free: 13.07 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.899, allocations: 44 kB / 0.637 GB, free: 13.03 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/1.899, allocations: 100 kB / 0.6371 GB, free: 12.93 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/1.9, allocations: 409.3 kB / 0.6375 GB, free: 12.51 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01553/1.916, allocations: 2.098 MB / 0.6396 GB, free: 10.41 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.926, allocations: 8.798 MB / 0.6482 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/1.939, allocations: 1.381 MB / 0.6495 GB, free: 15.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00203/1.941, allocations: 396 kB / 0.6499 GB, free: 15.03 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01336/1.954, allocations: 4.608 MB / 0.6544 GB, free: 10.41 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002448/1.957, allocations: 0.7021 MB / 0.6551 GB, free: 9.695 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03499/1.992, allocations: 10.97 MB / 0.6658 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.532e-05/1.992, allocations: 68 kB / 0.6659 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/1.992, allocations: 0 / 0.6659 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001873/1.992, allocations: 35.86 kB / 0.6659 GB, free: 14.52 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7668/2.759, allocations: 158.4 MB / 0.8206 GB, free: 41.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003759/2.759, allocations: 91.94 kB / 0.8207 GB, free: 41.87 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01131/2.77, allocations: 1.568 MB / 0.8222 GB, free: 40.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/2.772, allocations: 372.9 kB / 0.8225 GB, free: 39.93 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001451/2.773, allocations: 248 kB / 0.8228 GB, free: 39.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007511/2.781, allocations: 8.701 MB / 0.8313 GB, free: 30.28 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.357e-05/2.781, allocations: 135.4 kB / 0.8314 GB, free: 30.14 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08672/2.868, allocations: 34.18 MB / 0.8648 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3763/3.244, allocations: 2.02 MB / 0.8668 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003899/3.248, allocations: 245.7 kB / 0.867 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01254/3.261, allocations: 0.5634 MB / 0.8675 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00359/3.264, allocations: 0.7427 MB / 0.8683 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002821/3.267, allocations: 310.7 kB / 0.8686 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02244/3.29, allocations: 5.904 MB / 0.8743 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.292e-06/3.29, allocations: 0 / 0.8743 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01999/3.31, allocations: 2.657 MB / 0.8769 GB, free: 162.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003444/3.313, allocations: 482.8 kB / 0.8774 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03421/3.347, allocations: 10.49 MB / 0.8876 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.000159/3.348, allocations: 15.62 kB / 0.8876 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01756/3.365, allocations: 5.459 MB / 0.893 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01714/3.383, allocations: 1.365 MB / 0.8943 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08658/3.469, allocations: 27.83 MB / 0.9215 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01614/3.485, allocations: 7.75 MB / 0.9291 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005455/3.491, allocations: 0.6436 MB / 0.9297 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.715e-06/3.491, allocations: 0 / 0.9297 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of Templates: time 1.523/5.014, allocations: 0.5094 GB / 1.439 GB, free: 25.86 MB / 0.5418 GB