Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 2.241/2.241, allocations: 194.9 MB / 211.2 MB, free: 8.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.65e-05, allocations: 4 kB / 258.8 MB, free: 8.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006046/0.341, allocations: 3.28 MB / 306.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.3442, allocations: 1.001 MB / 307.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007749/0.3451, allocations: 33.84 kB / 307.6 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.3456, allocations: 164.5 kB / 307.8 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.3469, allocations: 183 kB / 307.9 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.3474, allocations: 91.91 kB / 308 MB, free: 8.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.349, allocations: 0.6277 MB / 308.7 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.3508, allocations: 0.9755 MB / 309.6 MB, free: 7.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008973/0.3518, allocations: 371 kB / 310 MB, free: 6.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.353, allocations: 478.2 kB / 310.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.3535, allocations: 63.98 kB / 310.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002285/0.3537, allocations: 52 kB / 310.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.3541, allocations: 291 kB / 310.9 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.3545, allocations: 120 kB / 311 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.3577, allocations: 1.938 MB / 312.9 MB, free: 4.012 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3578, allocations: 4 kB / 312.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3578, allocations: 0 / 312.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.582e-05/0.3579, allocations: 0 / 312.9 MB, free: 4.008 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.004614/0.3625, allocations: 1.414 MB / 314.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.3626, allocations: 8.031 kB / 314.3 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009104/0.3635, allocations: 162.1 kB / 314.5 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.366, allocations: 0.8715 MB / 315.4 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.3662, allocations: 106.8 kB / 315.5 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/0.3666, allocations: 132 kB / 315.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005374/0.372, allocations: 1.696 MB / 317.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.3721, allocations: 0 / 317.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.3723, allocations: 56 kB / 317.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/0.3724, allocations: 36 kB / 317.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/0.3773, allocations: 1.506 MB / 318.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.3913, allocations: 4.994 MB / 323.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.3929, allocations: 0.9723 MB / 324.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.914e-05/0.393, allocations: 4 kB / 324.9 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.3931, allocations: 46.5 kB / 324.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 3.156e-06/0.3931, allocations: 0 / 324.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.005188/0.3983, allocations: 1.801 MB / 326.7 MB, free: 5.742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3984, allocations: 63.41 kB / 326.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.3998, allocations: 0.6036 MB / 327.4 MB, free: 5.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.163e-05/0.3999, allocations: 29.7 kB / 327.4 MB, free: 5.023 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006769/0.4006, allocations: 0.6484 MB / 328.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.4009, allocations: 149.8 kB / 328.2 MB, free: 4.219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.401, allocations: 12 kB / 328.2 MB, free: 4.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.4012, allocations: 330.8 kB / 328.5 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.4024, allocations: 280.9 kB / 328.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.4037, allocations: 401.3 kB / 329.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.4047, allocations: 344.6 kB / 329.5 MB, free: 2.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4047, allocations: 7.938 kB / 329.5 MB, free: 2.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002187/0.4069, allocations: 0.8049 MB / 330.3 MB, free: 1.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.407, allocations: 11.98 kB / 330.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.407, allocations: 4 kB / 330.4 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003656/0.4074, allocations: 85 kB / 330.4 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009208/0.4083, allocations: 119.8 kB / 330.6 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/0.4114, allocations: 1.952 MB / 332.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007691/0.4122, allocations: 31.89 kB / 332.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/0.4123, allocations: 20 kB / 332.6 MB, free: 15.63 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001152/0.4135, allocations: 0.4944 MB / 333.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.4137, allocations: 63.25 kB / 333.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.4139, allocations: 77.95 kB / 333.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.414, allocations: 8 kB / 333.2 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.414, allocations: 3.938 kB / 333.2 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.414, allocations: 3.984 kB / 333.2 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005341/0.4194, allocations: 1.946 MB / 335.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.4194, allocations: 7.891 kB / 335.2 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.4201, allocations: 71.95 kB / 335.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.4205, allocations: 80.8 kB / 335.3 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.4205, allocations: 15.98 kB / 335.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.4234, allocations: 1.905 MB / 337.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.4235, allocations: 4.031 kB / 337.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.4263, allocations: 1.099 MB / 338.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/0.427, allocations: 188.3 kB / 338.5 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.4272, allocations: 12.23 kB / 338.5 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.4278, allocations: 43.97 kB / 338.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.428, allocations: 43.94 kB / 338.6 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.428, allocations: 8 kB / 338.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.4291, allocations: 486.7 kB / 339.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4291, allocations: 0 / 339.1 MB, free: 8.812 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001142/0.4302, allocations: 200 kB / 339.3 MB, free: 8.617 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002113/0.4305, allocations: 115.1 kB / 339.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.4328, allocations: 0.7553 MB / 340.2 MB, free: 7.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.4329, allocations: 8 kB / 340.2 MB, free: 7.723 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.434, allocations: 430.7 kB / 340.6 MB, free: 7.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.4355, allocations: 151.7 kB / 340.7 MB, free: 7.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006577/0.4421, allocations: 2.764 MB / 343.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.4437, allocations: 1.418 MB / 344.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.4441, allocations: 55.42 kB / 345 MB, free: 2.836 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4441, allocations: 0 / 345 MB, free: 2.836 MB / 282.7 MB Notification: Performance of Templates: time 0.04143/0.4855, allocations: 18.98 MB / 364 MB, free: 15.86 MB / 314.7 MB