Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.93e-05, allocations: 0 / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3719, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.03136/0.4034, allocations: 18.54 MB / 381.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.4181, allocations: 4.717 MB / 386.1 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004479/0.4227, allocations: 179.5 kB / 386.3 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005053/0.4278, allocations: 1.095 MB / 387.4 MB, free: 5.242 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009541/0.4373, allocations: 1.788 MB / 389.2 MB, free: 3.445 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006229/0.4436, allocations: 1.157 MB / 390.3 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0171/0.4607, allocations: 7.148 MB / 397.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0655/0.5263, allocations: 22.46 MB / 419.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009194/0.5355, allocations: 3.901 MB / 423.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/0.5466, allocations: 4.668 MB / 428.5 MB, free: 12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/0.5517, allocations: 0.527 MB / 429 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003036/0.5548, allocations: 380 kB / 429.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004515/0.5593, allocations: 2.082 MB / 431.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005043/0.5644, allocations: 1 MB / 432.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03617/0.6006, allocations: 23.92 MB / 456.4 MB, free: 36 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.6007, allocations: 0 / 456.4 MB, free: 36 kB / 378.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.6007, allocations: 0 / 456.4 MB, free: 36 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008072/0.6015, allocations: 0 / 456.4 MB, free: 36 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3915 * Number of variables: 3915 Notification: Performance of Generate backend data structure: time 0.0717/0.6733, allocations: 15.34 MB / 471.7 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.6733, allocations: 12.03 kB / 471.8 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1164/0.7898, allocations: 12.71 MB / 484.5 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02497/0.8148, allocations: 7.771 MB / 492.2 MB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001805/0.8166, allocations: 1.075 MB / 493.3 MB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006653/0.8233, allocations: 1.39 MB / 494.7 MB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7377/1.561, allocations: 23.81 MB / 0.5064 GB, free: 85.97 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007624/1.562, allocations: 20.28 kB / 0.5064 GB, free: 85.96 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005333/1.567, allocations: 0.5749 MB / 0.5069 GB, free: 85.52 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001149/1.568, allocations: 0.7323 MB / 0.5076 GB, free: 85.45 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06461/1.633, allocations: 22.3 MB / 0.5294 GB, free: 73.21 MB / 426.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1659/1.799, allocations: 72.07 MB / 0.5998 GB, free: 76 kB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04403/1.843, allocations: 31.57 MB / 0.6306 GB, free: 13.52 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05083/1.894, allocations: 15.48 MB / 0.6458 GB, free: 13.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/1.894, allocations: 82.11 kB / 0.6458 GB, free: 13.89 MB / 490.8 MB Notification: Performance of pre-optimization done (n=465): time 9.047e-06/1.894, allocations: 0 / 0.6458 GB, free: 13.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=465): time 0.06917/1.963, allocations: 15.36 MB / 0.6608 GB, free: 14.44 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.964, allocations: 124.7 kB / 0.661 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/1.975, allocations: 4.48 MB / 0.6653 GB, free: 9.82 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001065/1.977, allocations: 97.7 kB / 0.6654 GB, free: 9.719 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005827/1.982, allocations: 5.84 MB / 0.6711 GB, free: 3.832 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00298/1.985, allocations: 1.595 MB / 0.6727 GB, free: 2.215 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/1.987, allocations: 156 kB / 0.6728 GB, free: 2.062 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009762/1.988, allocations: 0.6293 MB / 0.6735 GB, free: 1.426 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01314/2.001, allocations: 4.168 MB / 0.6775 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01647/2.018, allocations: 7.494 MB / 0.6848 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5164/2.534, allocations: 5.698 MB / 0.6904 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001421/2.534, allocations: 31.75 kB / 0.6904 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.06258/2.597, allocations: 13.12 MB / 0.7032 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/2.597, allocations: 56.38 kB / 0.7033 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002492/2.597, allocations: 116.6 kB / 0.7034 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02707/2.624, allocations: 3.073 MB / 0.7064 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01494/2.639, allocations: 1.667 MB / 0.708 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03179/2.671, allocations: 11.14 MB / 0.7189 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009672/2.681, allocations: 1.108 MB / 0.72 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/2.683, allocations: 408.3 kB / 0.7204 GB, free: 157.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01259/2.696, allocations: 5.399 MB / 0.7257 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/2.697, allocations: 0.4948 MB / 0.7261 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02716/2.724, allocations: 9.604 MB / 0.7355 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/2.724, allocations: 48 kB / 0.7356 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/2.724, allocations: 0 / 0.7356 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001221/2.725, allocations: 25.22 kB / 0.7356 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05557/2.78, allocations: 20.62 MB / 0.7557 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-05/2.78, allocations: 4 kB / 0.7557 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006406/2.787, allocations: 0.7309 MB / 0.7564 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01063/2.797, allocations: 2.922 MB / 0.7593 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/2.798, allocations: 95.98 kB / 0.7594 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02207/2.821, allocations: 10.92 MB / 0.7701 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/2.821, allocations: 0 / 0.7701 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03525/2.856, allocations: 14.08 MB / 0.7838 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004267/2.86, allocations: 1.317 MB / 0.7851 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002114/2.862, allocations: 76 kB / 0.7852 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006064/2.868, allocations: 395.5 kB / 0.7855 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001678/2.87, allocations: 335.3 kB / 0.7859 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006719/2.871, allocations: 139.9 kB / 0.786 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007869/2.879, allocations: 3.317 MB / 0.7892 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.71e-07/2.879, allocations: 4 kB / 0.7892 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01171/2.891, allocations: 3.295 MB / 0.7925 GB, free: 94.28 MB / 0.5105 GB 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: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/2.892, allocations: 257.5 kB / 0.7927 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02817/2.92, allocations: 10.55 MB / 0.803 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/2.92, allocations: 0.8125 kB / 0.803 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01548/2.936, allocations: 5.025 MB / 0.8079 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009385/2.945, allocations: 1.134 MB / 0.809 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0648/3.01, allocations: 28.36 MB / 0.8367 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01848/3.029, allocations: 9.005 MB / 0.8455 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002977/3.032, allocations: 443.3 kB / 0.8459 GB, free: 39.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/3.032, allocations: 0 / 0.8459 GB, free: 39.41 MB / 0.5105 GB Notification: Performance of Templates: time 1.306/4.338, allocations: 364.7 MB / 1.202 GB, free: 90.09 MB / 0.5418 GB