Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.569e-05, allocations: 0 / 308 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3778, allocations: 54.85 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009049/0.387, allocations: 5.436 MB / 368.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00535/0.3924, allocations: 1.816 MB / 370.1 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.3935, allocations: 26.09 kB / 370.1 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008513/0.3944, allocations: 203.2 kB / 370.3 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.3977, allocations: 0.7115 MB / 371 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.3996, allocations: 450.2 kB / 371.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001993/0.4016, allocations: 0.5999 MB / 372.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/0.405, allocations: 1.123 MB / 373.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008178/0.4059, allocations: 347 kB / 373.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007791/0.4067, allocations: 462.6 kB / 374 MB, free: 2.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.4075, allocations: 175.8 kB / 374.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.4077, allocations: 44 kB / 374.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.408, allocations: 175.3 kB / 374.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.4082, allocations: 84 kB / 374.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.4101, allocations: 1.065 MB / 375.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4101, allocations: 3.938 kB / 375.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4101, allocations: 7.875 kB / 375.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.033e-05/0.4102, allocations: 0 / 375.5 MB, free: 1.125 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005834/0.416, allocations: 1.433 MB / 377 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4161, allocations: 11.97 kB / 377 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/0.4319, allocations: 1.431 MB / 378.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.4334, allocations: 0.5121 MB / 378.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.4335, allocations: 90.45 kB / 379 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.4338, allocations: 124 kB / 379.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0035/0.4373, allocations: 1.157 MB / 380.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.03e-05/0.4374, allocations: 8 kB / 380.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.4376, allocations: 51.95 kB / 380.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.4377, allocations: 32 kB / 380.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.4418, allocations: 1.431 MB / 381.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/0.455, allocations: 4.839 MB / 386.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/0.4584, allocations: 1.188 MB / 387.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.4586, allocations: 106.1 kB / 387.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.4587, allocations: 43.56 kB / 388 MB, free: 4.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 3.727e-06/0.4587, allocations: 0 / 388 MB, free: 4.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.003912/0.4626, allocations: 1.208 MB / 389.2 MB, free: 2.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.4627, allocations: 60.41 kB / 389.2 MB, free: 2.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.4642, allocations: 0.6909 MB / 389.9 MB, free: 2.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.4644, allocations: 45.69 kB / 390 MB, free: 2.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.4648, allocations: 489.2 kB / 390.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/0.4652, allocations: 315.5 kB / 390.8 MB, free: 1.262 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.4653, allocations: 24 kB / 390.8 MB, free: 1.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4655, allocations: 346.8 kB / 391.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.4667, allocations: 346.5 kB / 391.5 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.4681, allocations: 0.6023 MB / 392.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.4695, allocations: 430.8 kB / 392.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.4695, allocations: 0 / 392.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003573/0.4731, allocations: 1.132 MB / 393.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.4732, allocations: 13.62 kB / 393.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.4733, allocations: 8 kB / 393.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004317/0.4737, allocations: 69.59 kB / 393.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/0.4758, allocations: 267.6 kB / 394 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.4789, allocations: 2.631 MB / 396.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.4806, allocations: 154.2 kB / 396.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.4808, allocations: 44.25 kB / 396.8 MB, free: 10.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006194/0.4814, allocations: 265.4 kB / 397.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.4817, allocations: 86.95 kB / 397.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/0.485, allocations: 1.11 MB / 398.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/0.4851, allocations: 15.95 kB / 398.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4851, allocations: 3.938 kB / 398.3 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.4851, allocations: 7.984 kB / 398.3 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/0.4917, allocations: 2.723 MB / 401 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.4917, allocations: 8 kB / 401 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.4932, allocations: 183.7 kB / 401.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003946/0.4937, allocations: 61.67 kB / 401.2 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.4938, allocations: 24 kB / 401.3 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.4968, allocations: 2.635 MB / 403.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/0.4968, allocations: 11.94 kB / 403.9 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/0.5011, allocations: 1.78 MB / 405.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.5016, allocations: 211.7 kB / 405.9 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.5019, allocations: 23.98 kB / 405.9 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.5031, allocations: 55.97 kB / 406 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.5033, allocations: 80.53 kB / 406.1 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.5034, allocations: 35.98 kB / 406.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001143/0.5046, allocations: 0.5341 MB / 406.6 MB, free: 180 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5046, allocations: 4 kB / 406.6 MB, free: 176 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.00157/0.5062, allocations: 287.6 kB / 406.9 MB, free: 15.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0004146/0.5067, allocations: 159 kB / 407.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003246/0.5099, allocations: 1.091 MB / 408.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/0.51, allocations: 8.125 kB / 408.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.5118, allocations: 0.6271 MB / 408.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009901/0.5128, allocations: 114.8 kB / 408.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.518, allocations: 2.128 MB / 411 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/0.5189, allocations: 1.012 MB / 412 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/0.5195, allocations: 95.42 kB / 412.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.623e-06/0.5196, allocations: 0 / 412.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of Templates: time 0.03948/0.5591, allocations: 18.95 MB / 431.1 MB, free: 7.484 MB / 362.7 MB