Running command: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadModel(ModelicaTest): time 2.73/2.73, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.06e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3825, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005144/0.3877, allocations: 2.729 MB / 365.6 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.39, allocations: 0.7509 MB / 366.3 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.3904, allocations: 18.22 kB / 366.3 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.3906, allocations: 52.02 kB / 366.4 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.3911, allocations: 126.2 kB / 366.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.3915, allocations: 97.83 kB / 366.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.3921, allocations: 278.8 kB / 366.9 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.3925, allocations: 134.5 kB / 367 MB, free: 8.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.3929, allocations: 145.5 kB / 367.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.3932, allocations: 168.9 kB / 367.3 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.3933, allocations: 22.59 kB / 367.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.054e-05/0.3934, allocations: 19.09 kB / 367.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.489e-05/0.3935, allocations: 76.8 kB / 367.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3937, allocations: 43.62 kB / 367.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.3943, allocations: 418.7 kB / 367.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3943, allocations: 0 / 367.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3943, allocations: 0 / 367.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.3943, allocations: 0.9688 kB / 367.9 MB, free: 8.176 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001802/0.3961, allocations: 0.6713 MB / 368.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3962, allocations: 10.09 kB / 368.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.3964, allocations: 48.72 kB / 368.6 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.3971, allocations: 306.3 kB / 368.9 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.3971, allocations: 35.75 kB / 369 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.3973, allocations: 45.5 kB / 369 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.3986, allocations: 462.8 kB / 369.5 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3987, allocations: 3.938 kB / 369.5 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.3988, allocations: 21.28 kB / 369.5 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.3988, allocations: 22.64 kB / 369.5 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.4001, allocations: 331.5 kB / 369.8 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.4042, allocations: 1.693 MB / 371.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.4052, allocations: 245 kB / 371.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.4053, allocations: 3.984 kB / 371.8 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.4054, allocations: 42.56 kB / 371.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.126e-06/0.4054, allocations: 0 / 371.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.004793/0.4102, allocations: 1.331 MB / 373.1 MB, free: 3.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.4103, allocations: 85.09 kB / 373.2 MB, free: 3.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.4107, allocations: 233.7 kB / 373.4 MB, free: 2.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.4107, allocations: 29.7 kB / 373.5 MB, free: 2.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.411, allocations: 318 kB / 373.8 MB, free: 2.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.4111, allocations: 118.3 kB / 373.9 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.4111, allocations: 8 kB / 373.9 MB, free: 2.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4113, allocations: 330.8 kB / 374.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.4118, allocations: 108.8 kB / 374.3 MB, free: 1.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.4124, allocations: 216.3 kB / 374.6 MB, free: 1.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.413, allocations: 134.7 kB / 374.7 MB, free: 1.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.413, allocations: 0 / 374.7 MB, free: 1.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001391/0.4144, allocations: 406.9 kB / 375.1 MB, free: 1.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4144, allocations: 11.94 kB / 375.1 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4145, allocations: 7.984 kB / 375.1 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.4147, allocations: 28.84 kB / 375.1 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008936/0.4156, allocations: 128.1 kB / 375.3 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.4171, allocations: 1.324 MB / 376.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.4176, allocations: 24.05 kB / 376.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.4177, allocations: 16 kB / 376.6 MB, free: 15.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002842/0.418, allocations: 161.7 kB / 376.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4181, allocations: 31.62 kB / 376.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.4182, allocations: 34.45 kB / 376.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4182, allocations: 7.953 kB / 376.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4182, allocations: 3.984 kB / 376.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4183, allocations: 11.98 kB / 376.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/0.4191, allocations: 417.4 kB / 377.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/0.4191, allocations: 0 / 377.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/0.42, allocations: 95.88 kB / 377.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.4202, allocations: 24.84 kB / 377.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.4202, allocations: 11.88 kB / 377.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.4216, allocations: 1.327 MB / 378.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.4216, allocations: 4.031 kB / 378.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.4234, allocations: 0.6129 MB / 379.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.4236, allocations: 124.8 kB / 379.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.4237, allocations: 8 kB / 379.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.4242, allocations: 19.98 kB / 379.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.4243, allocations: 23.88 kB / 379.5 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.4243, allocations: 12 kB / 379.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003163/0.4247, allocations: 186 kB / 379.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.4247, allocations: 4 kB / 379.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006472/0.4253, allocations: 88 kB / 379.8 MB, free: 12.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/0.4255, allocations: 107.2 kB / 379.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.4269, allocations: 408 kB / 380.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4269, allocations: 0 / 380.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006607/0.4276, allocations: 248.9 kB / 380.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.4282, allocations: 45.09 kB / 380.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.4308, allocations: 1.129 MB / 381.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.4314, allocations: 0.8191 MB / 382.5 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.4316, allocations: 31.38 kB / 382.6 MB, free: 9.164 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4316, allocations: 4 kB / 382.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of Templates: time 0.01438/0.446, allocations: 5.662 MB / 388.2 MB, free: 3.5 MB / 314.7 MB