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_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.735/2.735, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.788e-05, allocations: 3.984 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4038, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.03041/0.4343, allocations: 16.03 MB / 378.9 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.4481, allocations: 4.232 MB / 383.1 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/0.4521, allocations: 147.6 kB / 383.3 MB, free: 9.301 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004971/0.4571, allocations: 0.944 MB / 384.2 MB, free: 8.352 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009899/0.4671, allocations: 1.706 MB / 385.9 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005825/0.4729, allocations: 0.9114 MB / 386.8 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01601/0.489, allocations: 5.968 MB / 392.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05422/0.5433, allocations: 18.08 MB / 410.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008657/0.552, allocations: 3.184 MB / 414.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009902/0.562, allocations: 3.85 MB / 417.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004663/0.5667, allocations: 463.7 kB / 418.4 MB, free: 6.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002432/0.5692, allocations: 320 kB / 418.7 MB, free: 5.781 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004033/0.5733, allocations: 1.817 MB / 420.5 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004426/0.5777, allocations: 0.8438 MB / 421.4 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0332/0.611, allocations: 19.7 MB / 441 MB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6111, allocations: 0 / 441 MB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6111, allocations: 0 / 441 MB, free: 15.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007318/0.6118, allocations: 0 / 441 MB, free: 15.37 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.0554/0.6672, allocations: 11.75 MB / 452.8 MB, free: 3.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.6673, allocations: 11.97 kB / 452.8 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1083/0.7756, allocations: 12.43 MB / 465.2 MB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/0.7994, allocations: 6.645 MB / 471.9 MB, free: 352 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001859/0.8013, allocations: 0.903 MB / 472.8 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007853/0.8092, allocations: 1.179 MB / 474 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07334/0.8826, allocations: 18.79 MB / 492.8 MB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009201/0.8836, allocations: 23.8 kB / 492.8 MB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00762/0.8913, allocations: 496 kB / 493.3 MB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001434/0.8928, allocations: 0.6894 MB / 494 MB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.781/1.674, allocations: 19.65 MB / 0.5016 GB, free: 95.17 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1656/1.84, allocations: 61.92 MB / 0.562 GB, free: 44.75 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03518/1.875, allocations: 20.08 MB / 0.5816 GB, free: 23.49 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/1.876, allocations: 244 kB / 0.5819 GB, free: 23.26 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/1.876, allocations: 103.8 kB / 0.582 GB, free: 23.14 MB / 426.8 MB Notification: Performance of pre-optimization done (n=674): time 1.085e-05/1.876, allocations: 0 / 0.582 GB, free: 23.14 MB / 426.8 MB Notification: Performance of matching and sorting (n=674): time 0.03724/1.914, allocations: 12.38 MB / 0.5941 GB, free: 10.55 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/1.914, allocations: 124.7 kB / 0.5942 GB, free: 10.41 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01894/1.933, allocations: 7.698 MB / 0.6017 GB, free: 2.727 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001423/1.934, allocations: 141.6 kB / 0.6018 GB, free: 2.582 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006355/1.941, allocations: 4.535 MB / 0.6063 GB, free: 14.02 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004091/1.945, allocations: 2.257 MB / 0.6085 GB, free: 11.79 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/1.946, allocations: 164 kB / 0.6086 GB, free: 11.62 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0008705/1.947, allocations: 0.6405 MB / 0.6093 GB, free: 10.98 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01267/1.96, allocations: 4.141 MB / 0.6133 GB, free: 6.828 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0179/1.978, allocations: 7.136 MB / 0.6203 GB, free: 14.28 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0173/1.995, allocations: 5.7 MB / 0.6258 GB, free: 8.539 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001504/1.995, allocations: 31.94 kB / 0.6259 GB, free: 8.508 MB / 458.8 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.04107/2.036, allocations: 12.26 MB / 0.6378 GB, free: 12.14 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/2.036, allocations: 48.16 kB / 0.6379 GB, free: 12.09 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002135/2.037, allocations: 104 kB / 0.638 GB, free: 11.99 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/2.038, allocations: 408.8 kB / 0.6384 GB, free: 11.57 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01644/2.055, allocations: 2.09 MB / 0.6404 GB, free: 9.48 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/2.066, allocations: 8.798 MB / 0.649 GB, free: 15.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/2.078, allocations: 1.385 MB / 0.6504 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002197/2.08, allocations: 396 kB / 0.6507 GB, free: 14.09 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.01403/2.094, allocations: 4.604 MB / 0.6552 GB, free: 9.477 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003743/2.098, allocations: 0.7021 MB / 0.6559 GB, free: 8.766 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03929/2.138, allocations: 10.97 MB / 0.6666 GB, free: 13.69 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001104/2.138, allocations: 71.98 kB / 0.6667 GB, free: 13.62 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.106e-05/2.138, allocations: 4 kB / 0.6667 GB, free: 13.61 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001938/2.138, allocations: 35.86 kB / 0.6667 GB, free: 13.58 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6717/2.81, allocations: 158.4 MB / 0.8214 GB, free: 41.01 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003579/2.81, allocations: 88 kB / 0.8215 GB, free: 40.93 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01142/2.821, allocations: 1.568 MB / 0.823 GB, free: 39.36 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/2.823, allocations: 372.9 kB / 0.8234 GB, free: 38.98 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001736/2.825, allocations: 252 kB / 0.8236 GB, free: 38.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007561/2.832, allocations: 8.694 MB / 0.8321 GB, free: 29.32 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.319e-05/2.832, allocations: 145.4 kB / 0.8322 GB, free: 29.18 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04752/2.88, allocations: 34.16 MB / 0.8656 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.469/3.349, allocations: 2.014 MB / 0.8676 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00385/3.353, allocations: 254.1 kB / 0.8678 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01063/3.364, allocations: 0.5558 MB / 0.8683 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002676/3.366, allocations: 0.7403 MB / 0.8691 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001305/3.368, allocations: 317 kB / 0.8694 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01548/3.383, allocations: 5.897 MB / 0.8751 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.093e-06/3.383, allocations: 7.562 kB / 0.8751 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01283/3.396, allocations: 2.663 MB / 0.8777 GB, free: 162.5 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.002376/3.399, allocations: 471.2 kB / 0.8782 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02885/3.427, allocations: 10.5 MB / 0.8884 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0001568/3.428, allocations: 16 kB / 0.8885 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02045/3.448, allocations: 5.46 MB / 0.8938 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01832/3.467, allocations: 1.357 MB / 0.8951 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08126/3.548, allocations: 28.19 MB / 0.9226 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01592/3.564, allocations: 8.007 MB / 0.9305 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01612/3.58, allocations: 3.64 MB / 0.934 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00428/3.584, allocations: 0.5895 MB / 0.9346 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.835e-06/3.584, allocations: 0 / 0.9346 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.2413/3.826, allocations: 95.98 MB / 1.028 GB, free: 32.25 MB / 0.5105 GB