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_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.615e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4184, allocations: 54.85 MB / 362.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01027/0.4287, allocations: 5.431 MB / 368.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006672/0.4354, allocations: 1.812 MB / 370.1 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.437, allocations: 28 kB / 370.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.4383, allocations: 198.6 kB / 370.3 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.4421, allocations: 0.7282 MB / 371.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.4443, allocations: 438.4 kB / 371.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.4467, allocations: 0.5929 MB / 372.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/0.4505, allocations: 1.127 MB / 373.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009759/0.4516, allocations: 339.1 kB / 373.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008745/0.4524, allocations: 466.5 kB / 374 MB, free: 2.582 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009655/0.4534, allocations: 175.8 kB / 374.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.4537, allocations: 44 kB / 374.2 MB, free: 2.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.4539, allocations: 175.3 kB / 374.4 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.4543, allocations: 84 kB / 374.5 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.4565, allocations: 1.07 MB / 375.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4565, allocations: 0 / 375.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-05/0.4566, allocations: 0 / 375.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.965e-05/0.4566, allocations: 7.938 kB / 375.6 MB, free: 1.035 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.006364/0.463, allocations: 1.437 MB / 377 MB, free: 15.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.4631, allocations: 8.031 kB / 377 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/0.4795, allocations: 1.423 MB / 378.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.4811, allocations: 0.516 MB / 378.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.4812, allocations: 90.45 kB / 379 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003327/0.4816, allocations: 120 kB / 379.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/0.4851, allocations: 1.153 MB / 380.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/0.4852, allocations: 7.938 kB / 380.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.4854, allocations: 51.95 kB / 380.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.254e-05/0.4855, allocations: 32 kB / 380.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/0.4895, allocations: 1.435 MB / 381.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.5018, allocations: 4.843 MB / 386.7 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.5051, allocations: 1.194 MB / 387.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.5054, allocations: 106.1 kB / 388 MB, free: 4.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.5054, allocations: 39.56 kB / 388 MB, free: 4.043 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 4.027e-06/0.5054, allocations: 0 / 388 MB, free: 4.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.003748/0.5092, allocations: 1.208 MB / 389.2 MB, free: 2.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.5093, allocations: 64.41 kB / 389.3 MB, free: 2.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.5108, allocations: 0.6909 MB / 390 MB, free: 2.016 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.5109, allocations: 41.7 kB / 390 MB, free: 1.969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/0.5114, allocations: 466.7 kB / 390.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/0.5118, allocations: 315.5 kB / 390.8 MB, free: 1.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.5119, allocations: 20 kB / 390.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000257/0.5122, allocations: 394.7 kB / 391.2 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.5134, allocations: 346.5 kB / 391.5 MB, free: 448 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.5148, allocations: 0.6063 MB / 392.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.5162, allocations: 426.8 kB / 392.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.5162, allocations: 8 kB / 392.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003586/0.5198, allocations: 1.166 MB / 393.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.5199, allocations: 8 kB / 393.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.5199, allocations: 8 kB / 393.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/0.5204, allocations: 69.61 kB / 393.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.5224, allocations: 259.6 kB / 394 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/0.5256, allocations: 2.635 MB / 396.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.5273, allocations: 154.6 kB / 396.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.5274, allocations: 47.98 kB / 396.9 MB, free: 10.68 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.000632/0.5281, allocations: 257.3 kB / 397.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.5283, allocations: 90.88 kB / 397.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.5314, allocations: 1.118 MB / 398.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.5315, allocations: 11.95 kB / 398.3 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5315, allocations: 4 kB / 398.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5315, allocations: 3.984 kB / 398.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/0.5375, allocations: 2.715 MB / 401.1 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.5375, allocations: 4 kB / 401.1 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.539, allocations: 187.7 kB / 401.3 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/0.5394, allocations: 65.98 kB / 401.3 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.584e-05/0.5395, allocations: 31.98 kB / 401.3 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.5424, allocations: 2.635 MB / 404 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.5424, allocations: 12.03 kB / 404 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00494/0.5474, allocations: 1.776 MB / 405.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004884/0.5479, allocations: 211.8 kB / 406 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.5482, allocations: 27.98 kB / 406 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.5493, allocations: 56.05 kB / 406.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.5496, allocations: 76.45 kB / 406.1 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/0.5497, allocations: 36 kB / 406.2 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00116/0.5509, allocations: 0.5381 MB / 406.7 MB, free: 24 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5509, allocations: 3.938 kB / 406.7 MB, free: 20 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001363/0.5522, allocations: 287.5 kB / 407 MB, free: 15.73 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.0003691/0.5526, allocations: 155 kB / 407.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.5557, allocations: 1.094 MB / 408.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5557, allocations: 0 / 408.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.5572, allocations: 0.6318 MB / 408.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009849/0.5582, allocations: 114.7 kB / 409 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.5633, allocations: 2.1 MB / 411.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008309/0.5642, allocations: 1.008 MB / 412.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001232/0.5655, allocations: 155.4 kB / 412.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004156/0.5659, allocations: 79.42 kB / 412.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5659, allocations: 0 / 412.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of Templates: time 0.0297/0.5956, allocations: 9.44 MB / 421.8 MB, free: 0.8203 MB / 346.7 MB