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.1_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.13e-05, allocations: 4 kB / 228.1 MB, free: 8.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 38.78 MB / 266.9 MB, free: 1.145 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.00598/0.1118, allocations: 3.266 MB / 270.2 MB, free: 13.85 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.1148, allocations: 0.9704 MB / 271.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.1154, allocations: 31.88 kB / 271.2 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005018/0.1159, allocations: 167.1 kB / 271.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.1169, allocations: 175.4 kB / 271.5 MB, free: 12.51 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1172, allocations: 99.83 kB / 271.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.1186, allocations: 0.624 MB / 272.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.1204, allocations: 0.9678 MB / 273.2 MB, free: 10.8 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008742/0.1213, allocations: 382.9 kB / 273.6 MB, free: 10.43 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.1224, allocations: 466.3 kB / 274 MB, free: 9.973 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.1227, allocations: 67.98 kB / 274.1 MB, free: 9.906 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.1229, allocations: 52 kB / 274.1 MB, free: 9.855 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.1233, allocations: 299 kB / 274.4 MB, free: 9.562 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.1237, allocations: 112 kB / 274.5 MB, free: 9.453 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.1268, allocations: 1.952 MB / 276.5 MB, free: 7.496 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1269, allocations: 0 / 276.5 MB, free: 7.496 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1269, allocations: 0 / 276.5 MB, free: 7.496 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.463e-05/0.127, allocations: 3.938 kB / 276.5 MB, free: 7.492 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: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.005143/0.1321, allocations: 1.433 MB / 277.9 MB, free: 6.008 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.076e-05/0.1322, allocations: 8.031 kB / 277.9 MB, free: 6 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.1336, allocations: 162.2 kB / 278.1 MB, free: 5.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.1361, allocations: 0.856 MB / 278.9 MB, free: 4.938 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.1362, allocations: 106.7 kB / 279 MB, free: 4.832 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.1366, allocations: 136 kB / 279.2 MB, free: 4.699 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005194/0.1419, allocations: 1.688 MB / 280.9 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/0.142, allocations: 3.984 kB / 280.9 MB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/0.1422, allocations: 56 kB / 280.9 MB, free: 2.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.232e-05/0.1422, allocations: 40 kB / 281 MB, free: 2.891 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004886/0.1471, allocations: 1.51 MB / 282.5 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.1614, allocations: 4.99 MB / 287.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.1634, allocations: 0.9582 MB / 288.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.955e-05/0.1635, allocations: 16.66 kB / 288.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.1636, allocations: 42.5 kB / 288.5 MB, free: 11.08 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 6.001e-06/0.1636, allocations: 7.922 kB / 288.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.006458/0.1701, allocations: 1.81 MB / 290.3 MB, free: 9.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.1702, allocations: 63.3 kB / 290.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.1719, allocations: 0.6192 MB / 291 MB, free: 8.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/0.172, allocations: 29.7 kB / 291 MB, free: 8.465 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000718/0.1727, allocations: 0.6407 MB / 291.7 MB, free: 7.816 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.1729, allocations: 153.8 kB / 291.8 MB, free: 7.664 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.173, allocations: 8 kB / 291.8 MB, free: 7.656 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.1732, allocations: 330.8 kB / 292.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.1743, allocations: 280.9 kB / 292.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.1754, allocations: 411.2 kB / 292.8 MB, free: 6.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.1767, allocations: 348.6 kB / 293.1 MB, free: 6.254 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1767, allocations: 0 / 293.1 MB, free: 6.254 MB / 250.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002828/0.1796, allocations: 0.8046 MB / 294 MB, free: 5.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.1796, allocations: 8 kB / 294 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.1797, allocations: 4.438 kB / 294 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004484/0.1801, allocations: 88.78 kB / 294.1 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.1813, allocations: 119.8 kB / 294.2 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.1929, allocations: 1.944 MB / 296.1 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.194, allocations: 35.97 kB / 296.1 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.29e-05/0.1941, allocations: 20 kB / 296.2 MB, free: 3.09 MB / 250.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.001434/0.1955, allocations: 0.5014 MB / 296.7 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.1958, allocations: 63.25 kB / 296.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.1961, allocations: 82.09 kB / 296.8 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1961, allocations: 4 kB / 296.8 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.1961, allocations: 3.938 kB / 296.8 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.1961, allocations: 7.938 kB / 296.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.2069, allocations: 1.937 MB / 298.8 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.207, allocations: 0 / 298.8 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.2079, allocations: 79.95 kB / 298.8 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003995/0.2083, allocations: 76.7 kB / 298.9 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.2084, allocations: 15.98 kB / 298.9 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2317/0.44, allocations: 1.898 MB / 300.8 MB, free: 27.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.4401, allocations: 5.219 kB / 300.8 MB, free: 27.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/0.4438, allocations: 1.101 MB / 301.9 MB, free: 27.39 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006302/0.4445, allocations: 196.2 kB / 302.1 MB, free: 27.3 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.4448, allocations: 12.84 kB / 302.1 MB, free: 27.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008353/0.4456, allocations: 39.27 kB / 302.2 MB, free: 27.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.4458, allocations: 40.03 kB / 302.2 MB, free: 27.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/0.4459, allocations: 12.5 kB / 302.2 MB, free: 27.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001391/0.4473, allocations: 495.7 kB / 302.7 MB, free: 27.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.4474, allocations: 0 / 302.7 MB, free: 27.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001763/0.4492, allocations: 201.6 kB / 302.9 MB, free: 27.11 MB / 250.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.0002519/0.4494, allocations: 113.5 kB / 303 MB, free: 27.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00286/0.4523, allocations: 0.7553 MB / 303.8 MB, free: 26.72 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.4524, allocations: 0 / 303.8 MB, free: 26.72 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.454, allocations: 451.1 kB / 304.2 MB, free: 26.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.4561, allocations: 155 kB / 304.4 MB, free: 26.46 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008486/0.4646, allocations: 2.763 MB / 307.1 MB, free: 24.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002674/0.4674, allocations: 1.419 MB / 308.5 MB, free: 24.05 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/0.4679, allocations: 48.78 kB / 308.6 MB, free: 24.05 MB / 250.7 MB Notification: Performance of SimCode: time 1.443e-06/0.4679, allocations: 0 / 308.6 MB, free: 24.05 MB / 250.7 MB Notification: Performance of Templates: time 0.04417/0.5121, allocations: 19 MB / 327.6 MB, free: 10.72 MB / 250.7 MB