Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 224.7 MB / 241.1 MB, free: 1.703 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.923e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002819/0.1145, allocations: 1.632 MB / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1158, allocations: 0.499 MB / 347.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.1159, allocations: 0 / 347.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.116, allocations: 19.91 kB / 347.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1161, allocations: 35.84 kB / 347.2 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.1165, allocations: 71.83 kB / 347.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1167, allocations: 83.81 kB / 347.3 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1169, allocations: 27.97 kB / 347.3 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.1171, allocations: 63.83 kB / 347.4 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1172, allocations: 59.8 kB / 347.5 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.1173, allocations: 12 kB / 347.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.1173, allocations: 8 kB / 347.5 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.1174, allocations: 19.92 kB / 347.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.1174, allocations: 12 kB / 347.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1176, allocations: 119.9 kB / 347.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1177, allocations: 0 / 347.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.979e-06/0.1177, allocations: 0 / 347.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.1177, allocations: 3.938 kB / 347.6 MB, free: 6.281 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009939/0.1187, allocations: 439 kB / 348.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1188, allocations: 8.031 kB / 348.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.822e-05/0.1188, allocations: 23.77 kB / 348.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1191, allocations: 190.8 kB / 348.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1191, allocations: 11.94 kB / 348.3 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.1192, allocations: 16 kB / 348.3 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.1197, allocations: 157.6 kB / 348.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1197, allocations: 0 / 348.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1197, allocations: 0 / 348.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1198, allocations: 7.953 kB / 348.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.1203, allocations: 99.92 kB / 348.6 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.1216, allocations: 0.5072 MB / 349.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.1222, allocations: 106.5 kB / 349.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1222, allocations: 0 / 349.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1222, allocations: 34.56 kB / 349.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.1223, allocations: 3.938 kB / 349.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007861/0.123, allocations: 157.4 kB / 349.4 MB, free: 4.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.1231, allocations: 106.8 kB / 349.5 MB, free: 4.234 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1233, allocations: 143.8 kB / 349.6 MB, free: 4.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.1234, allocations: 25.7 kB / 349.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1235, allocations: 186.5 kB / 349.8 MB, free: 3.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.1236, allocations: 31.62 kB / 349.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.1236, allocations: 4 kB / 349.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1237, allocations: 314.8 kB / 350.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.124, allocations: 43.97 kB / 350.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.1242, allocations: 80.27 kB / 350.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.1245, allocations: 43.98 kB / 350.3 MB, free: 3.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1245, allocations: 0 / 350.3 MB, free: 3.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005841/0.1251, allocations: 149.8 kB / 350.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.1252, allocations: 8 kB / 350.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1252, allocations: 0 / 350.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.1252, allocations: 3.984 kB / 350.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.1263, allocations: 91.89 kB / 350.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.1282, allocations: 1.378 MB / 352 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.1286, allocations: 19.92 kB / 352 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1286, allocations: 4 kB / 352 MB, free: 1.551 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.1288, allocations: 129.8 kB / 352.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.1288, allocations: 16.12 kB / 352.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007941/0.1296, allocations: 163.1 kB / 352.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1297, allocations: 0 / 352.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1297, allocations: 8 kB / 352.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1297, allocations: 7.938 kB / 352.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.13, allocations: 225.4 kB / 352.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1301, allocations: 0 / 352.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.1304, allocations: 27.98 kB / 352.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003668/0.1307, allocations: 40.69 kB / 352.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.1308, allocations: 15.94 kB / 352.6 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.1323, allocations: 1.292 MB / 353.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1323, allocations: 0 / 353.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.1334, allocations: 304.2 kB / 354.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.1334, allocations: 85.02 kB / 354.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1335, allocations: 4.031 kB / 354.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.1338, allocations: 15.98 kB / 354.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.1339, allocations: 16 kB / 354.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1339, allocations: 4 kB / 354.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.134, allocations: 125.9 kB / 354.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1341, allocations: 0 / 354.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004342/0.1345, allocations: 39.84 kB / 354.5 MB, free: 14.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.1347, allocations: 103.2 kB / 354.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.136, allocations: 151.8 kB / 354.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.136, allocations: 0 / 354.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.1365, allocations: 166.7 kB / 354.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.1367, allocations: 13.55 kB / 354.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.1394, allocations: 0.6271 MB / 355.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1398, allocations: 0.7199 MB / 356.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.1399, allocations: 15.44 kB / 356.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1399, allocations: 0 / 356.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of Templates: time 0.005711/0.1456, allocations: 2.149 MB / 358.4 MB, free: 10.8 MB / 298.7 MB