Running command: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.403e-05, allocations: 10.17 kB / 292.1 MB, free: 8.871 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.08937, allocations: 50.41 MB / 342.5 MB, free: 6.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4405, allocations: 78.81 MB / 421.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4407, allocations: 74.64 kB / 421.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01056/0.4513, allocations: 2.758 MB / 424.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4514, allocations: 0 / 424.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.4514, allocations: 4 kB / 424.2 MB, free: 12.93 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005615/0.452, allocations: 404.7 kB / 424.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.452, allocations: 8.031 kB / 424.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.4522, allocations: 15.91 kB / 424.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.4524, allocations: 202 kB / 424.8 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4525, allocations: 14.86 kB / 424.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.4525, allocations: 7.438 kB / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.4528, allocations: 107.4 kB / 424.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.844e-06/0.4528, allocations: 0 / 424.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.4528, allocations: 7.453 kB / 424.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.649e-06/0.4529, allocations: 4 kB / 424.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.4531, allocations: 63.72 kB / 425 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.4541, allocations: 0.6098 MB / 425.6 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.4545, allocations: 78.02 kB / 425.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.4546, allocations: 27.17 kB / 425.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.4546, allocations: 4 kB / 425.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.4546, allocations: 38.45 kB / 425.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.289e-06/0.4546, allocations: 0 / 425.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003855/0.455, allocations: 107.3 kB / 425.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.4551, allocations: 55.41 kB / 425.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.4553, allocations: 133.5 kB / 426 MB, free: 11.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.4553, allocations: 29.64 kB / 426.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4554, allocations: 193 kB / 426.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.4555, allocations: 19.02 kB / 426.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-06/0.4555, allocations: 3.312 kB / 426.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4557, allocations: 322.8 kB / 426.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.4557, allocations: 18.38 kB / 426.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.4558, allocations: 38.33 kB / 426.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.693e-05/0.4559, allocations: 22.98 kB / 426.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-06/0.4559, allocations: 0 / 426.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003454/0.4563, allocations: 118.2 kB / 426.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.4563, allocations: 4 kB / 426.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4563, allocations: 7.016 kB / 426.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.4566, allocations: 44.08 kB / 426.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.4567, allocations: 8 kB / 426.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.4587, allocations: 1.518 MB / 428.4 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.4588, allocations: 12 kB / 428.4 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4588, allocations: 4 kB / 428.4 MB, free: 8.715 MB / 346.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 (5): * Single equations (assignments): 4 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.4589, allocations: 115.8 kB / 428.5 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.459, allocations: 7.906 kB / 428.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.459, allocations: 12 kB / 428.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-06/0.4591, allocations: 4 kB / 428.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-06/0.4591, allocations: 0 / 428.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.679e-06/0.4591, allocations: 3.984 kB / 428.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.4594, allocations: 212.2 kB / 428.7 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.093e-06/0.4594, allocations: 7.953 kB / 428.7 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.4595, allocations: 4 kB / 428.7 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.4597, allocations: 35.72 kB / 428.8 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4597, allocations: 7.922 kB / 428.8 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.4615, allocations: 1.492 MB / 430.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.229e-06/0.4615, allocations: 0 / 430.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.4619, allocations: 210.7 kB / 430.5 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.462, allocations: 85.2 kB / 430.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.462, allocations: 0 / 430.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.4622, allocations: 22.98 kB / 430.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.4623, allocations: 3.984 kB / 430.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4623, allocations: 4 kB / 430.6 MB, free: 6.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.4624, allocations: 109 kB / 430.7 MB, free: 6.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.4624, allocations: 0 / 430.7 MB, free: 6.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000499/0.4629, allocations: 39.19 kB / 430.7 MB, free: 6.305 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001369/0.4631, allocations: 99.19 kB / 430.8 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.4635, allocations: 170.7 kB / 431 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.873e-06/0.4635, allocations: 0 / 431 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.4637, allocations: 143.6 kB / 431.2 MB, free: 5.906 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.464, allocations: 18.97 kB / 431.2 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.4645, allocations: 174.3 kB / 431.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.4649, allocations: 0.7121 MB / 432.1 MB, free: 4.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.4649, allocations: 11.44 kB / 432.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of SimCode: time 1.679e-06/0.4649, allocations: 7.938 kB / 432.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of Templates: time 0.004256/0.4692, allocations: 1.823 MB / 433.9 MB, free: 3.148 MB / 346.7 MB