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_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 171.1 MB / 186.3 MB, free: 1.316 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.217e-05, allocations: 10.17 kB / 228.1 MB, free: 7.969 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 38.76 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.005624/0.1184, allocations: 2.205 MB / 269.1 MB, free: 14.9 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1206, allocations: 0.6353 MB / 269.7 MB, free: 14.26 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.1209, allocations: 12 kB / 269.7 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.121, allocations: 47.66 kB / 269.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1213, allocations: 83.72 kB / 269.9 MB, free: 14.12 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.1217, allocations: 83.91 kB / 269.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.1222, allocations: 228.1 kB / 270.2 MB, free: 13.81 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.1225, allocations: 121.1 kB / 270.3 MB, free: 13.69 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.1227, allocations: 123.7 kB / 270.4 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.123, allocations: 143.5 kB / 270.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.188e-05/0.1231, allocations: 20 kB / 270.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.1232, allocations: 16 kB / 270.6 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.1233, allocations: 67.75 kB / 270.6 MB, free: 13.33 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1234, allocations: 43.94 kB / 270.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.124, allocations: 379.1 kB / 271.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.124, allocations: 0 / 271.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.124, allocations: 0 / 271.1 MB, free: 12.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.124, allocations: 0 / 271.1 MB, free: 12.91 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001499/0.1255, allocations: 0.6124 MB / 271.7 MB, free: 12.25 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1256, allocations: 8.031 kB / 271.7 MB, free: 12.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1258, allocations: 43.53 kB / 271.7 MB, free: 12.2 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.1262, allocations: 266.5 kB / 272 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.1263, allocations: 29 kB / 272 MB, free: 11.87 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.1264, allocations: 47.98 kB / 272.1 MB, free: 11.82 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1276, allocations: 443.3 kB / 272.5 MB, free: 11.36 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.1276, allocations: 0 / 272.5 MB, free: 11.36 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.1277, allocations: 16 kB / 272.5 MB, free: 11.35 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.1277, allocations: 19.94 kB / 272.5 MB, free: 11.33 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.1286, allocations: 291.8 kB / 272.8 MB, free: 11.04 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.1316, allocations: 1.326 MB / 274.1 MB, free: 9.625 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.1323, allocations: 250.8 kB / 274.4 MB, free: 9.367 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.1324, allocations: 0 / 274.4 MB, free: 9.367 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1324, allocations: 38.56 kB / 274.4 MB, free: 9.32 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.1324, allocations: 4 kB / 274.4 MB, free: 9.316 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.002347/0.1348, allocations: 0.5579 MB / 275 MB, free: 8.73 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.135, allocations: 239.3 kB / 275.2 MB, free: 8.441 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.1353, allocations: 186.1 kB / 275.4 MB, free: 8.254 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.1353, allocations: 37.7 kB / 275.4 MB, free: 8.211 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.1356, allocations: 258.7 kB / 275.7 MB, free: 7.957 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1357, allocations: 98.47 kB / 275.8 MB, free: 7.859 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.1357, allocations: 8 kB / 275.8 MB, free: 7.852 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1359, allocations: 322.8 kB / 276.1 MB, free: 7.527 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.1362, allocations: 79.97 kB / 276.2 MB, free: 7.449 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.1366, allocations: 155.4 kB / 276.3 MB, free: 7.27 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.1369, allocations: 111.7 kB / 276.4 MB, free: 7.16 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.137, allocations: 0 / 276.4 MB, free: 7.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007753/0.1377, allocations: 273.6 kB / 276.7 MB, free: 6.887 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1378, allocations: 4 kB / 276.7 MB, free: 6.883 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1378, allocations: 0 / 276.7 MB, free: 6.883 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.1378, allocations: 4 kB / 276.7 MB, free: 6.879 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.1385, allocations: 87.83 kB / 276.8 MB, free: 6.793 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.1385, allocations: 0 / 276.8 MB, free: 6.793 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.1389, allocations: 39.67 kB / 276.8 MB, free: 6.754 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.1389, allocations: 8 kB / 276.8 MB, free: 6.746 MB / 234.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.0002555/0.1392, allocations: 153.8 kB / 277 MB, free: 6.586 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/0.1393, allocations: 23.72 kB / 277 MB, free: 6.562 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.1394, allocations: 34.64 kB / 277.1 MB, free: 6.531 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1394, allocations: 4 kB / 277.1 MB, free: 6.527 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.1394, allocations: 3.953 kB / 277.1 MB, free: 6.523 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/0.1395, allocations: 4 kB / 277.1 MB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.1402, allocations: 389.3 kB / 277.4 MB, free: 6.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1402, allocations: 0 / 277.4 MB, free: 6.09 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/0.1407, allocations: 55.97 kB / 277.5 MB, free: 6.035 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/0.1412, allocations: 96.67 kB / 277.6 MB, free: 5.938 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.1413, allocations: 4 kB / 277.6 MB, free: 5.934 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/0.1444, allocations: 1.855 MB / 279.5 MB, free: 3.941 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1444, allocations: 7.984 kB / 279.5 MB, free: 3.934 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.1458, allocations: 0.5131 MB / 280 MB, free: 3.398 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.1461, allocations: 128.8 kB / 280.1 MB, free: 3.254 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.1462, allocations: 12 kB / 280.1 MB, free: 3.242 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.1465, allocations: 15.94 kB / 280.1 MB, free: 3.227 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1466, allocations: 23.97 kB / 280.2 MB, free: 3.203 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.1466, allocations: 4 kB / 280.2 MB, free: 3.199 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.1469, allocations: 168.2 kB / 280.3 MB, free: 3.035 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1469, allocations: 0 / 280.3 MB, free: 3.035 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.1474, allocations: 103.7 kB / 280.4 MB, free: 2.934 MB / 234.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.000229/0.1477, allocations: 103.2 kB / 280.5 MB, free: 2.824 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007397/0.1484, allocations: 227.8 kB / 280.7 MB, free: 2.602 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.1484, allocations: 3.984 kB / 280.8 MB, free: 2.598 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007019/0.1492, allocations: 282.5 kB / 281 MB, free: 2.309 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1495, allocations: 23.94 kB / 281 MB, free: 2.285 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.1518, allocations: 1.075 MB / 282.1 MB, free: 1.176 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.1523, allocations: 0.795 MB / 282.9 MB, free: 364 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.1525, allocations: 23.42 kB / 282.9 MB, free: 340 kB / 234.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1525, allocations: 0 / 282.9 MB, free: 340 kB / 234.7 MB Notification: Performance of Templates: time 0.009782/0.1623, allocations: 3.846 MB / 286.8 MB, free: 12.48 MB / 250.7 MB