Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.537e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003693/0.117, allocations: 2.187 MB / 347.2 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1187, allocations: 0.6158 MB / 347.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.1189, allocations: 12 kB / 347.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.119, allocations: 43.61 kB / 347.8 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.1193, allocations: 83.77 kB / 347.9 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.1197, allocations: 91.83 kB / 348 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.1202, allocations: 232 kB / 348.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.1205, allocations: 129.1 kB / 348.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.1208, allocations: 135.6 kB / 348.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.1211, allocations: 139.5 kB / 348.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.1212, allocations: 20 kB / 348.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.1213, allocations: 16 kB / 348.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.1214, allocations: 63.75 kB / 348.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1215, allocations: 36 kB / 348.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.1221, allocations: 379.1 kB / 349.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1221, allocations: 0 / 349.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1221, allocations: 4 kB / 349.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1221, allocations: 0 / 349.1 MB, free: 4.766 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001479/0.1236, allocations: 0.6047 MB / 349.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1237, allocations: 11.97 kB / 349.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.1238, allocations: 47.44 kB / 349.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.1243, allocations: 271.9 kB / 350.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.1244, allocations: 33 kB / 350.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.1245, allocations: 40 kB / 350.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1256, allocations: 443.3 kB / 350.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.1256, allocations: 4 kB / 350.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.1257, allocations: 19.95 kB / 350.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1257, allocations: 8 kB / 350.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.1266, allocations: 283.9 kB / 350.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.1297, allocations: 1.326 MB / 352.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.1305, allocations: 242.9 kB / 352.4 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.1305, allocations: 0 / 352.4 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.1306, allocations: 46.44 kB / 352.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.1306, allocations: 0 / 352.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002339/0.1329, allocations: 0.5511 MB / 353 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.1331, allocations: 235.3 kB / 353.3 MB, free: 336 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.1334, allocations: 190 kB / 353.4 MB, free: 136 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.1335, allocations: 33.7 kB / 353.5 MB, free: 96 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.1337, allocations: 262.7 kB / 353.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.1338, allocations: 98.55 kB / 353.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.1339, allocations: 8 kB / 353.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.134, allocations: 330.8 kB / 354.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.1343, allocations: 79.97 kB / 354.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.1347, allocations: 147.7 kB / 354.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.135, allocations: 112.9 kB / 354.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1351, allocations: 0 / 354.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007633/0.1358, allocations: 269 kB / 354.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1359, allocations: 4 kB / 354.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1359, allocations: 0 / 354.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.1359, allocations: 8.031 kB / 354.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/0.1366, allocations: 79.89 kB / 354.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1367, allocations: 0 / 354.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.137, allocations: 39.67 kB / 354.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.137, allocations: 4 kB / 354.9 MB, free: 14.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.1373, allocations: 160.1 kB / 355 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.1374, allocations: 23.72 kB / 355.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.1375, allocations: 38.64 kB / 355.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.1375, allocations: 4 kB / 355.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.1375, allocations: 7.938 kB / 355.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1375, allocations: 0 / 355.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.1382, allocations: 397.2 kB / 355.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.1383, allocations: 0 / 355.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.1388, allocations: 63.89 kB / 355.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/0.1393, allocations: 84.8 kB / 355.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.1394, allocations: 12 kB / 355.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/0.1423, allocations: 1.851 MB / 357.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1424, allocations: 3.984 kB / 357.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.1437, allocations: 0.5239 MB / 358 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/0.1438, allocations: 104.9 kB / 358.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.1439, allocations: 4.062 kB / 358.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.1442, allocations: 12 kB / 358.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.1443, allocations: 19.97 kB / 358.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.1444, allocations: 11.98 kB / 358.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002157/0.1446, allocations: 148.6 kB / 358.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.374e-06/0.1446, allocations: 0 / 358.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000529/0.1451, allocations: 111.5 kB / 358.4 MB, free: 10.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001676/0.1453, allocations: 106.5 kB / 358.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006795/0.146, allocations: 215.9 kB / 358.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.146, allocations: 0 / 358.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.1467, allocations: 294.5 kB / 359 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1472, allocations: 27.94 kB / 359.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.1494, allocations: 1.064 MB / 360.1 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.1499, allocations: 0.7911 MB / 360.9 MB, free: 8.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.1501, allocations: 27.42 kB / 361 MB, free: 8.246 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1501, allocations: 0 / 361 MB, free: 8.246 MB / 298.7 MB Notification: Performance of Templates: time 0.009661/0.1597, allocations: 3.944 MB / 364.9 MB, free: 4.297 MB / 298.7 MB