Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.049e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.3582/0.4904, allocations: 17.58 MB / 428.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.5045, allocations: 4.776 MB / 433.3 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005465/0.51, allocations: 196.4 kB / 433.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005591/0.5157, allocations: 1.059 MB / 434.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.5257, allocations: 1.754 MB / 436.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006599/0.5324, allocations: 1.251 MB / 437.5 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01841/0.5508, allocations: 7.161 MB / 444.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06806/0.6189, allocations: 22.49 MB / 467.2 MB, free: 68 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/0.6301, allocations: 3.877 MB / 471.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/0.6418, allocations: 4.609 MB / 475.7 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.648, allocations: 0.5466 MB / 476.2 MB, free: 7.008 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003211/0.6512, allocations: 380 kB / 476.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004667/0.656, allocations: 2.035 MB / 478.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00571/0.6617, allocations: 0.9961 MB / 479.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03754/0.6993, allocations: 24.05 MB / 0.4919 GB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6994, allocations: 0 / 0.4919 GB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.6994, allocations: 0 / 0.4919 GB, free: 11.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007735/0.7002, allocations: 0 / 0.4919 GB, free: 11.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.07081/0.771, allocations: 15.21 MB / 0.5067 GB, free: 12.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.7711, allocations: 12.03 kB / 0.5067 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0964/0.8675, allocations: 11.73 MB / 0.5182 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02575/0.8933, allocations: 8.45 MB / 0.5264 GB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001625/0.8949, allocations: 1.059 MB / 0.5275 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006493/0.9015, allocations: 1.375 MB / 0.5288 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0803/0.9818, allocations: 23.37 MB / 0.5516 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000587/0.9825, allocations: 19.89 kB / 0.5517 GB, free: 13.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005206/0.9877, allocations: 0.5664 MB / 0.5522 GB, free: 13.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/0.9889, allocations: 0.7056 MB / 0.5529 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07129/1.06, allocations: 21.6 MB / 0.574 GB, free: 7.035 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9045/1.965, allocations: 71.5 MB / 0.6438 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03407/1.999, allocations: 28.6 MB / 0.6717 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04367/2.043, allocations: 15.36 MB / 0.6867 GB, free: 76.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.9e-05/2.043, allocations: 81.48 kB / 0.6868 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=465): time 8.106e-06/2.043, allocations: 0 / 0.6868 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=465): time 0.06304/2.106, allocations: 15.41 MB / 0.7019 GB, free: 69.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/2.106, allocations: 125.6 kB / 0.702 GB, free: 69.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/2.117, allocations: 4.487 MB / 0.7064 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/2.118, allocations: 101.3 kB / 0.7065 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004149/2.122, allocations: 5.726 MB / 0.7121 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002342/2.124, allocations: 1.588 MB / 0.7136 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009743/2.125, allocations: 149.3 kB / 0.7138 GB, free: 60.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006563/2.126, allocations: 0.6267 MB / 0.7144 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01065/2.137, allocations: 4.114 MB / 0.7184 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01298/2.15, allocations: 7.259 MB / 0.7255 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/2.163, allocations: 5.595 MB / 0.7309 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.854e-05/2.163, allocations: 28 kB / 0.731 GB, free: 44.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03495/2.198, allocations: 12.88 MB / 0.7435 GB, free: 31.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.8e-05/2.198, allocations: 52 kB / 0.7436 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/2.199, allocations: 107.9 kB / 0.7437 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/2.21, allocations: 3.064 MB / 0.7467 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/2.22, allocations: 1.603 MB / 0.7483 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/2.244, allocations: 11.13 MB / 0.7591 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009407/2.253, allocations: 1.073 MB / 0.7602 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/2.255, allocations: 384 kB / 0.7605 GB, free: 13.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * 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 (820): * Single equations (assignments): 817 * 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.01282/2.268, allocations: 5.362 MB / 0.7658 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001704/2.27, allocations: 0.4977 MB / 0.7663 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02837/2.298, allocations: 9.6 MB / 0.7756 GB, free: 14.37 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-05/2.298, allocations: 48 kB / 0.7757 GB, free: 14.32 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/2.298, allocations: 0 / 0.7757 GB, free: 14.32 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001383/2.298, allocations: 23.91 kB / 0.7757 GB, free: 14.3 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06643/2.365, allocations: 20.58 MB / 0.7958 GB, free: 9.738 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.573e-05/2.365, allocations: 3.953 kB / 0.7958 GB, free: 9.734 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00679/2.372, allocations: 0.7411 MB / 0.7965 GB, free: 8.992 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01218/2.384, allocations: 2.911 MB / 0.7994 GB, free: 6.066 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001176/2.385, allocations: 99.97 kB / 0.7995 GB, free: 5.969 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02682/2.412, allocations: 10.93 MB / 0.8101 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.412, allocations: 0 / 0.8101 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4343/2.846, allocations: 14.13 MB / 0.8239 GB, free: 172.8 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006576/2.853, allocations: 1.316 MB / 0.8252 GB, free: 172.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002877/2.856, allocations: 75.86 kB / 0.8253 GB, free: 172.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008712/2.865, allocations: 390 kB / 0.8257 GB, free: 172.7 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002324/2.867, allocations: 338.3 kB / 0.826 GB, free: 172.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001276/2.868, allocations: 135.2 kB / 0.8261 GB, free: 172.7 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01305/2.881, allocations: 3.346 MB / 0.8294 GB, free: 171.9 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.102e-06/2.882, allocations: 0 / 0.8294 GB, free: 171.9 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01782/2.899, allocations: 3.255 MB / 0.8326 GB, free: 171.1 MB / 0.5574 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.001883/2.901, allocations: 257.3 kB / 0.8328 GB, free: 170.9 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.063/2.964, allocations: 10.44 MB / 0.843 GB, free: 167.3 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/2.964, allocations: 0 / 0.843 GB, free: 167.3 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01588/2.98, allocations: 5.026 MB / 0.8479 GB, free: 165.4 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/2.991, allocations: 1.132 MB / 0.849 GB, free: 165.1 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06793/3.059, allocations: 28.19 MB / 0.8765 GB, free: 150.5 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01752/3.076, allocations: 8.959 MB / 0.8853 GB, free: 146.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003017/3.079, allocations: 426.5 kB / 0.8857 GB, free: 146.3 MB / 0.5574 GB Notification: Performance of SimCode: time 1.673e-06/3.079, allocations: 4 kB / 0.8857 GB, free: 146.3 MB / 0.5574 GB Notification: Performance of Templates: time 0.9075/3.987, allocations: 363.4 MB / 1.241 GB, free: 0.8789 MB / 0.573 GB