Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadModel(ModelicaTest): time 2.604/2.604, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.554e-05/5.547e-05, allocations: 4 kB / 308 MB, free: 8 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4357, allocations: 54.86 MB / 362.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003601/0.4394, allocations: 2.03 MB / 364.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.4409, allocations: 0.5252 MB / 365.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.4411, allocations: 9.688 kB / 365.4 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.249e-05/0.4412, allocations: 31.47 kB / 365.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.4415, allocations: 78.17 kB / 365.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.4418, allocations: 49.56 kB / 365.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.4421, allocations: 155.2 kB / 365.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.4423, allocations: 52.67 kB / 365.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.4425, allocations: 82.52 kB / 365.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.4427, allocations: 89.36 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.4428, allocations: 9.625 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.4428, allocations: 14.19 kB / 366 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.4429, allocations: 45.75 kB / 366 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.443, allocations: 23.94 kB / 366 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.4433, allocations: 196.6 kB / 366.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4433, allocations: 0 / 366.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4433, allocations: 1.156 kB / 366.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4433, allocations: 0 / 366.2 MB, free: 9.27 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001002/0.4443, allocations: 494.3 kB / 366.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4444, allocations: 13.38 kB / 366.7 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.287e-05/0.4445, allocations: 32.52 kB / 366.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.4449, allocations: 237.5 kB / 367 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.445, allocations: 20.42 kB / 367 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.445, allocations: 25.47 kB / 367 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.4456, allocations: 188.4 kB / 367.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4456, allocations: 1.375 kB / 367.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.4457, allocations: 9.312 kB / 367.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.4457, allocations: 9.797 kB / 367.2 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.4462, allocations: 142.8 kB / 367.4 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.4482, allocations: 0.814 MB / 368.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.4486, allocations: 97.95 kB / 368.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4486, allocations: 1.031 kB / 368.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.4487, allocations: 40.38 kB / 368.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.975e-06/0.4487, allocations: 0 / 368.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.002839/0.4515, allocations: 0.7452 MB / 369.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.4516, allocations: 61.47 kB / 369.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.4519, allocations: 186.4 kB / 369.3 MB, free: 6.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.4519, allocations: 31.05 kB / 369.3 MB, free: 6.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.4521, allocations: 228.1 kB / 369.6 MB, free: 6.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.4522, allocations: 62.11 kB / 369.6 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.4522, allocations: 5.312 kB / 369.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4524, allocations: 321.4 kB / 369.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.4526, allocations: 62.94 kB / 370 MB, free: 6.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.4529, allocations: 109.5 kB / 370.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.4532, allocations: 77.78 kB / 370.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4532, allocations: 0 / 370.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008846/0.4541, allocations: 284.2 kB / 370.5 MB, free: 5.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4542, allocations: 7.938 kB / 370.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4542, allocations: 0 / 370.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.4546, allocations: 77.59 kB / 370.5 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.4549, allocations: 28.64 kB / 370.6 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.4581, allocations: 2.831 MB / 373.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.4584, allocations: 11.98 kB / 373.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.4584, allocations: 8 kB / 373.4 MB, free: 2.547 MB / 298.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.000203/0.4586, allocations: 139.7 kB / 373.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.4587, allocations: 23.72 kB / 373.6 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.4588, allocations: 25.84 kB / 373.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4588, allocations: 3.938 kB / 373.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4588, allocations: 4 kB / 373.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.4588, allocations: 3.953 kB / 373.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.4593, allocations: 285.5 kB / 373.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4593, allocations: 0 / 373.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.4595, allocations: 23.98 kB / 373.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003185/0.4598, allocations: 66.05 kB / 374 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.4598, allocations: 7.938 kB / 374 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003048/0.4629, allocations: 2.812 MB / 376.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4629, allocations: 3.953 kB / 376.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.464, allocations: 410.1 kB / 377.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.231e-05/0.4641, allocations: 88.95 kB / 377.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.4642, allocations: 8 kB / 377.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.4645, allocations: 20.42 kB / 377.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.4646, allocations: 19.97 kB / 377.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.4646, allocations: 8 kB / 377.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.4648, allocations: 148.2 kB / 377.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4648, allocations: 0 / 377.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004925/0.4653, allocations: 64 kB / 377.6 MB, free: 14.04 MB / 314.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.0001452/0.4655, allocations: 103.2 kB / 377.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009897/0.4665, allocations: 425.3 kB / 378.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4665, allocations: 4.062 kB / 378.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006644/0.4672, allocations: 333.1 kB / 378.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4676, allocations: 23.98 kB / 378.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.4691, allocations: 0.633 MB / 379.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4695, allocations: 0.7479 MB / 379.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.08e-05/0.4696, allocations: 23.42 kB / 379.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4696, allocations: 0 / 379.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of Templates: time 0.009512/0.4792, allocations: 4.343 MB / 384.2 MB, free: 7.301 MB / 314.7 MB