Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadModel(ModelicaTest): time 1.967/1.967, allocations: 209.3 MB / 224.4 MB, free: 0.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.502e-05, allocations: 3.984 kB / 276.1 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3501, allocations: 48.7 MB / 324.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003317/0.3534, allocations: 2.024 MB / 326.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3549, allocations: 0.5253 MB / 327.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.3552, allocations: 5.656 kB / 327.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.798e-05/0.3553, allocations: 34.02 kB / 327.4 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.3555, allocations: 78.73 kB / 327.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.3558, allocations: 45.05 kB / 327.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.3561, allocations: 148.5 kB / 327.7 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.3563, allocations: 59.75 kB / 327.7 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3565, allocations: 84.47 kB / 327.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.3567, allocations: 90.36 kB / 327.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.3568, allocations: 9.312 kB / 327.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.3568, allocations: 10 kB / 327.9 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.3569, allocations: 36.38 kB / 328 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.357, allocations: 23.06 kB / 328 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.3573, allocations: 203.4 kB / 328.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3573, allocations: 1.375 kB / 328.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3574, allocations: 4 kB / 328.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.3574, allocations: 0 / 328.2 MB, free: 1.348 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000921/0.3583, allocations: 488.9 kB / 328.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3584, allocations: 14.14 kB / 328.7 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3585, allocations: 33.81 kB / 328.7 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.3588, allocations: 244.4 kB / 329 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.3589, allocations: 12.91 kB / 329 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.359, allocations: 21.47 kB / 329 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.3595, allocations: 188.5 kB / 329.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3596, allocations: 0.6094 kB / 329.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.3596, allocations: 7 kB / 329.2 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3596, allocations: 4.688 kB / 329.2 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.3601, allocations: 152 kB / 329.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.3622, allocations: 0.8139 MB / 330.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.3625, allocations: 97.7 kB / 330.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3626, allocations: 5.188 kB / 330.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.3626, allocations: 32.22 kB / 330.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.986e-06/0.3626, allocations: 5.25 kB / 330.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002939/0.3656, allocations: 0.7509 MB / 331 MB, free: 15.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3657, allocations: 53.62 kB / 331.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.366, allocations: 186.6 kB / 331.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.3661, allocations: 26.89 kB / 331.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.3662, allocations: 232.2 kB / 331.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/0.3663, allocations: 58.86 kB / 331.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.3664, allocations: 5.125 kB / 331.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3665, allocations: 324.2 kB / 331.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3668, allocations: 62.09 kB / 332 MB, free: 14.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.3671, allocations: 109.1 kB / 332.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3674, allocations: 80.05 kB / 332.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3674, allocations: 1.156 kB / 332.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009523/0.3684, allocations: 286.3 kB / 332.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3684, allocations: 10.25 kB / 332.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3685, allocations: 1.344 kB / 332.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000407/0.3689, allocations: 72.47 kB / 332.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.3692, allocations: 31.22 kB / 332.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/0.3727, allocations: 2.833 MB / 335.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.373, allocations: 12.89 kB / 335.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.3731, allocations: 9.5 kB / 335.4 MB, free: 11.48 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.3733, allocations: 137.8 kB / 335.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.3734, allocations: 17.44 kB / 335.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.3734, allocations: 24.83 kB / 335.6 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3735, allocations: 6.75 kB / 335.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3735, allocations: 1.375 kB / 335.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3735, allocations: 1.875 kB / 335.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.374, allocations: 287 kB / 335.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.374, allocations: 3.953 kB / 335.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.3742, allocations: 18.02 kB / 335.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003408/0.3746, allocations: 69.7 kB / 336 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.3746, allocations: 10.12 kB / 336 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.378, allocations: 2.817 MB / 338.8 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.378, allocations: 4.641 kB / 338.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3791, allocations: 408.8 kB / 339.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3794, allocations: 110 kB / 339.3 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.3794, allocations: 5.219 kB / 339.3 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.3797, allocations: 17.53 kB / 339.3 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.3799, allocations: 18.47 kB / 339.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.3799, allocations: 3.281 kB / 339.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.3801, allocations: 159.5 kB / 339.5 MB, free: 7.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3801, allocations: 3.938 kB / 339.5 MB, free: 7.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.3807, allocations: 64.69 kB / 339.6 MB, free: 7.797 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.3809, allocations: 107 kB / 339.7 MB, free: 7.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.382, allocations: 410.8 kB / 340.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.382, allocations: 1.875 kB / 340.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007213/0.3828, allocations: 340.4 kB / 340.4 MB, free: 7.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.3832, allocations: 25.34 kB / 340.4 MB, free: 7.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.3848, allocations: 0.6373 MB / 341.1 MB, free: 6.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.3853, allocations: 0.7567 MB / 341.8 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3854, allocations: 18.12 kB / 341.8 MB, free: 5.984 MB / 282.7 MB Notification: Performance of SimCode: time 3.326e-06/0.3854, allocations: 0 / 341.8 MB, free: 5.984 MB / 282.7 MB Notification: Performance of Templates: time 0.01089/0.3963, allocations: 4.356 MB / 346.2 MB, free: 4.57 MB / 282.7 MB