Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.997e-05, allocations: 6.188 kB / 228.1 MB, free: 8 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07878/0.07883, allocations: 38.77 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004979/0.08387, allocations: 3.046 MB / 269.9 MB, free: 14.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.08635, allocations: 0.8964 MB / 270.8 MB, free: 13.17 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.08685, allocations: 23.94 kB / 270.9 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.08726, allocations: 131.2 kB / 271 MB, free: 13.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008703/0.08815, allocations: 195.3 kB / 271.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.08852, allocations: 83.91 kB / 271.3 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.0898, allocations: 0.6509 MB / 271.9 MB, free: 12.09 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.09083, allocations: 0.5518 MB / 272.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007366/0.09159, allocations: 355.1 kB / 272.8 MB, free: 11.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.09264, allocations: 490.4 kB / 273.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.09292, allocations: 52 kB / 273.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.09313, allocations: 52 kB / 273.4 MB, free: 10.6 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000413/0.09355, allocations: 307 kB / 273.7 MB, free: 10.3 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.09394, allocations: 116 kB / 273.8 MB, free: 10.19 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.09621, allocations: 1.613 MB / 275.4 MB, free: 8.57 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.09625, allocations: 0 / 275.4 MB, free: 8.57 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.09627, allocations: 0 / 275.4 MB, free: 8.57 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.736e-05/0.09636, allocations: 0 / 275.4 MB, free: 8.57 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003864/0.1002, allocations: 1.346 MB / 276.8 MB, free: 7.172 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.1003, allocations: 15.97 kB / 276.8 MB, free: 7.156 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/0.1008, allocations: 138.3 kB / 276.9 MB, free: 7.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.1029, allocations: 0.8025 MB / 277.7 MB, free: 6.176 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.103, allocations: 82.22 kB / 277.8 MB, free: 6.094 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.1033, allocations: 108 kB / 277.9 MB, free: 5.988 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.1078, allocations: 1.529 MB / 279.4 MB, free: 4.414 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.1079, allocations: 4 kB / 279.4 MB, free: 4.41 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.108, allocations: 44 kB / 279.5 MB, free: 4.367 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.1081, allocations: 28 kB / 279.5 MB, free: 4.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.112, allocations: 1.308 MB / 280.8 MB, free: 3.023 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/0.1233, allocations: 4.252 MB / 285.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.1252, allocations: 1.306 MB / 286.4 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/0.1253, allocations: 4.438 kB / 286.4 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.1254, allocations: 50.98 kB / 286.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 3.276e-06/0.1254, allocations: 0 / 286.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=50): time 0.005336/0.1307, allocations: 1.97 MB / 288.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1308, allocations: 55.84 kB / 288.4 MB, free: 11 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.1324, allocations: 0.7455 MB / 289.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.1325, allocations: 41.64 kB / 289.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.133, allocations: 0.5517 MB / 289.8 MB, free: 9.648 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.1332, allocations: 173.5 kB / 290 MB, free: 9.477 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.1333, allocations: 12 kB / 290 MB, free: 9.465 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1335, allocations: 338.8 kB / 290.3 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008392/0.1343, allocations: 316.9 kB / 290.6 MB, free: 8.816 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009095/0.1352, allocations: 407.3 kB / 291 MB, free: 8.387 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009702/0.1362, allocations: 377.9 kB / 291.4 MB, free: 8.016 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1362, allocations: 0 / 291.4 MB, free: 8.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002368/0.1386, allocations: 0.8741 MB / 292.2 MB, free: 7.133 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.1387, allocations: 7.984 kB / 292.3 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1387, allocations: 4.312 kB / 292.3 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/0.1391, allocations: 112.7 kB / 292.4 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.1402, allocations: 123.8 kB / 292.5 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/0.1438, allocations: 2.205 MB / 294.7 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008008/0.1446, allocations: 32.05 kB / 294.7 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.1447, allocations: 19.98 kB / 294.7 MB, free: 4.496 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009907/0.1457, allocations: 457.5 kB / 295.2 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.1459, allocations: 71.16 kB / 295.3 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.1462, allocations: 95.06 kB / 295.4 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.1462, allocations: 7.953 kB / 295.4 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.1462, allocations: 0 / 295.4 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1462, allocations: 4 kB / 295.4 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005779/0.152, allocations: 2.016 MB / 297.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.1521, allocations: 0 / 297.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007261/0.1528, allocations: 87.88 kB / 297.5 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004021/0.1532, allocations: 104.8 kB / 297.6 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.1533, allocations: 15.98 kB / 297.6 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2805/0.4338, allocations: 2.139 MB / 299.7 MB, free: 28.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.4338, allocations: 4.469 kB / 299.7 MB, free: 28.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.437, allocations: 1.233 MB / 301 MB, free: 28.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/0.4376, allocations: 224.4 kB / 301.2 MB, free: 28 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.4378, allocations: 11.66 kB / 301.2 MB, free: 28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.4386, allocations: 57.78 kB / 301.2 MB, free: 28 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.4387, allocations: 39 kB / 301.3 MB, free: 27.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.4388, allocations: 15.56 kB / 301.3 MB, free: 27.99 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001214/0.44, allocations: 0.5867 MB / 301.9 MB, free: 27.89 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.4401, allocations: 0.6562 kB / 301.9 MB, free: 27.89 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001214/0.4413, allocations: 211.7 kB / 302.1 MB, free: 27.89 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002087/0.4415, allocations: 115.3 kB / 302.2 MB, free: 27.81 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.4439, allocations: 0.8311 MB / 303 MB, free: 27.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.4439, allocations: 1.531 kB / 303 MB, free: 27.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4451, allocations: 497.1 kB / 303.5 MB, free: 27.34 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.4465, allocations: 160.5 kB / 303.7 MB, free: 27.3 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005356/0.4519, allocations: 2.607 MB / 306.3 MB, free: 25.9 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.4532, allocations: 1.337 MB / 307.6 MB, free: 25.08 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.4536, allocations: 53.97 kB / 307.7 MB, free: 25.07 MB / 250.7 MB Notification: Performance of SimCode: time 1.322e-06/0.4536, allocations: 0 / 307.7 MB, free: 25.07 MB / 250.7 MB Notification: Performance of Templates: time 0.03406/0.4877, allocations: 18.15 MB / 325.8 MB, free: 12.45 MB / 250.7 MB