Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.122e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09139, allocations: 50.41 MB / 342.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.4594, allocations: 84.71 MB / 427.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4597, allocations: 78.27 kB / 427.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06016/0.5199, allocations: 16.47 MB / 443.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.765e-06/0.52, allocations: 4 kB / 443.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.82e-05/0.52, allocations: 12 kB / 443.8 MB, free: 11.84 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002366/0.5224, allocations: 0.7995 MB / 444.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5224, allocations: 8.031 kB / 444.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/0.5252, allocations: 303.9 kB / 444.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.5259, allocations: 327 kB / 445.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.5259, allocations: 46.88 kB / 445.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5261, allocations: 58.5 kB / 445.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.5277, allocations: 0.6704 MB / 446 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.5277, allocations: 0 / 446 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.5278, allocations: 32.7 kB / 446.1 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.5279, allocations: 12 kB / 446.1 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.5294, allocations: 0.6654 MB / 446.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005/0.5344, allocations: 2.426 MB / 449.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.5363, allocations: 1.206 MB / 450.4 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.5368, allocations: 241.6 kB / 450.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.5369, allocations: 89.86 kB / 450.7 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.537, allocations: 38.28 kB / 450.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 4.137e-06/0.537, allocations: 0 / 450.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001321/0.5384, allocations: 0.5078 MB / 451.2 MB, free: 5.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.5384, allocations: 81.48 kB / 451.3 MB, free: 5.652 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.5388, allocations: 238.5 kB / 451.5 MB, free: 5.461 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.5389, allocations: 35.89 kB / 451.6 MB, free: 5.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.5392, allocations: 295.7 kB / 451.9 MB, free: 5.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.5394, allocations: 159 kB / 452 MB, free: 5.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.5394, allocations: 11 kB / 452 MB, free: 5.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5396, allocations: 334.4 kB / 452.4 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.5401, allocations: 188 kB / 452.5 MB, free: 4.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.5406, allocations: 307.3 kB / 452.8 MB, free: 4.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.5412, allocations: 216.5 kB / 453.1 MB, free: 3.965 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.446e-06/0.5412, allocations: 0 / 453.1 MB, free: 3.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001547/0.5428, allocations: 0.5972 MB / 453.7 MB, free: 3.359 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008271/0.5436, allocations: 1.394 MB / 455 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.5437, allocations: 4 kB / 455 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.544, allocations: 56.83 kB / 455.1 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.5447, allocations: 115.8 kB / 455.2 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.5468, allocations: 1.592 MB / 456.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.5474, allocations: 63.36 kB / 456.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.5475, allocations: 31.98 kB / 456.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5476, allocations: 4 kB / 456.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001431/0.549, allocations: 0.5317 MB / 457.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.5491, allocations: 4 kB / 457.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.5493, allocations: 61.22 kB / 457.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.5499, allocations: 103.8 kB / 457.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.5518, allocations: 1.493 MB / 459.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.5522, allocations: 47.8 kB / 459.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/0.5523, allocations: 27.98 kB / 459.2 MB, free: 13.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.5526, allocations: 133 kB / 459.3 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.5527, allocations: 31.62 kB / 459.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.5543, allocations: 0.5942 MB / 459.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.5543, allocations: 12 kB / 459.9 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.633e-06/0.5544, allocations: 0 / 459.9 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.921e-06/0.5544, allocations: 0 / 459.9 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.5571, allocations: 1.26 MB / 461.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.182e-06/0.5572, allocations: 0 / 461.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.5578, allocations: 91.88 kB / 461.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/0.558, allocations: 48.83 kB / 461.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.5581, allocations: 15.98 kB / 461.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.5602, allocations: 1.572 MB / 462.9 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.5602, allocations: 12.02 kB / 462.9 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.5625, allocations: 0.8975 MB / 463.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.5629, allocations: 156.5 kB / 464 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.563, allocations: 12 kB / 464 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.5634, allocations: 31.98 kB / 464 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.5635, allocations: 36.38 kB / 464.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.488e-05/0.5636, allocations: 23.92 kB / 464.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002906/0.5639, allocations: 187.1 kB / 464.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.5639, allocations: 0 / 464.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001283/0.5652, allocations: 259.2 kB / 464.5 MB, free: 7.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003834/0.5656, allocations: 171.1 kB / 464.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.568, allocations: 0.9991 MB / 465.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.265e-06/0.5681, allocations: 0 / 465.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008118/0.5689, allocations: 387.7 kB / 466.1 MB, free: 6.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.5694, allocations: 36.5 kB / 466.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.5713, allocations: 0.6813 MB / 466.8 MB, free: 5.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.5719, allocations: 0.8407 MB / 467.6 MB, free: 4.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.5722, allocations: 51.41 kB / 467.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of SimCode: time 1.864e-06/0.5722, allocations: 0 / 467.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of Templates: time 0.01582/0.5881, allocations: 7.972 MB / 475.6 MB, free: 12.62 MB / 394.7 MB