Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 2.132/2.132, allocations: 224.7 MB / 241.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.439e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 50.42 MB / 345 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003823/0.1122, allocations: 2.197 MB / 347.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1141, allocations: 0.7288 MB / 347.9 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.1143, allocations: 4 kB / 347.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.1145, allocations: 39.67 kB / 348 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.1149, allocations: 91.67 kB / 348 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1152, allocations: 71.91 kB / 348.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.1156, allocations: 175.6 kB / 348.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.1157, allocations: 56.94 kB / 348.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.116, allocations: 95.75 kB / 348.4 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.1162, allocations: 119.6 kB / 348.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.1163, allocations: 12 kB / 348.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.1164, allocations: 16 kB / 348.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.1165, allocations: 47.77 kB / 348.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.1165, allocations: 31.94 kB / 348.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.1169, allocations: 259.5 kB / 348.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.117, allocations: 0 / 348.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.419e-06/0.117, allocations: 0 / 348.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.117, allocations: 7.938 kB / 348.9 MB, free: 4.969 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001254/0.1183, allocations: 0.5303 MB / 349.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1183, allocations: 12.02 kB / 349.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1184, allocations: 43.48 kB / 349.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.1188, allocations: 246.5 kB / 349.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.1189, allocations: 20.56 kB / 349.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.119, allocations: 35.98 kB / 349.8 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.1197, allocations: 240.9 kB / 350 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1197, allocations: 0 / 350 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.1198, allocations: 15.98 kB / 350 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1198, allocations: 4 kB / 350 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.1206, allocations: 226.1 kB / 350.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.123, allocations: 1.005 MB / 351.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.1237, allocations: 198.5 kB / 351.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.1238, allocations: 12.09 kB / 351.5 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1238, allocations: 34.56 kB / 351.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 3.407e-06/0.1239, allocations: 0 / 351.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.008293/0.1322, allocations: 1.516 MB / 353 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.1323, allocations: 63.34 kB / 353.1 MB, free: 0.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.1326, allocations: 208.1 kB / 353.3 MB, free: 300 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.1327, allocations: 29.7 kB / 353.3 MB, free: 264 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.1329, allocations: 234.6 kB / 353.6 MB, free: 24 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.133, allocations: 122.4 kB / 353.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1331, allocations: 8 kB / 353.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1332, allocations: 322.8 kB / 354 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.1336, allocations: 115.9 kB / 354.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.1341, allocations: 156.5 kB / 354.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.1346, allocations: 133.6 kB / 354.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1346, allocations: 4 kB / 354.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002728/0.1374, allocations: 0.5201 MB / 354.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.1374, allocations: 4 kB / 354.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1375, allocations: 4 kB / 354.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.1389, allocations: 189.5 kB / 355.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.1394, allocations: 59.91 kB / 355.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007337/0.1467, allocations: 3.826 MB / 359 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.1472, allocations: 20.09 kB / 359 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.1473, allocations: 15.98 kB / 359 MB, free: 10.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 2 * 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: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.1475, allocations: 141.8 kB / 359.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.1476, allocations: 28.28 kB / 359.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1478, allocations: 34.97 kB / 359.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1478, allocations: 11.92 kB / 359.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1478, allocations: 0 / 359.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1478, allocations: 4 kB / 359.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.1485, allocations: 389.3 kB / 359.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1485, allocations: 3.938 kB / 359.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.1489, allocations: 39.97 kB / 359.7 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.1503, allocations: 197.5 kB / 359.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.1503, allocations: 8 kB / 359.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00679/0.1571, allocations: 3.702 MB / 363.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1572, allocations: 0 / 363.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.1603, allocations: 0.7387 MB / 364.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1605, allocations: 100.8 kB / 364.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.1605, allocations: 8 kB / 364.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.161, allocations: 12 kB / 364.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.1611, allocations: 27.95 kB / 364.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.1612, allocations: 4.562 kB / 364.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.1614, allocations: 168.5 kB / 364.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.635e-06/0.1614, allocations: 0 / 364.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007689/0.1622, allocations: 108 kB / 364.7 MB, free: 4.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 2 * 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: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001779/0.1624, allocations: 107.2 kB / 364.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.164, allocations: 0.5636 MB / 365.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.164, allocations: 7.938 kB / 365.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009555/0.165, allocations: 437.3 kB / 365.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1653, allocations: 24.31 kB / 365.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1673, allocations: 0.8493 MB / 366.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.1677, allocations: 0.784 MB / 367.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1679, allocations: 27.42 kB / 367.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1679, allocations: 0 / 367.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of Templates: time 0.01219/0.1801, allocations: 5.708 MB / 373.2 MB, free: 11.53 MB / 314.7 MB