Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 0.9433/0.9433, allocations: 111.2 MB / 123.8 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 4.421e-05/4.434e-05, allocations: 7.984 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1837, allocations: 25.16 MB / 176.5 MB, free: 15.99 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05353/0.2373, allocations: 35.28 MB / 211.8 MB, free: 14.18 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.2375, allocations: 67.95 kB / 211.9 MB, free: 14.11 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009748/0.2473, allocations: 2.59 MB / 214.5 MB, free: 11.51 MB / 186.7 MB Notification: Performance of FrontEnd: time 5.857e-06/0.2473, allocations: 0 / 214.5 MB, free: 11.51 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.2474, allocations: 7.938 kB / 214.5 MB, free: 11.5 MB / 186.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.000562/0.2479, allocations: 406.4 kB / 214.9 MB, free: 11.05 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.248, allocations: 8.031 kB / 214.9 MB, free: 11.05 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.2481, allocations: 15.81 kB / 214.9 MB, free: 11.03 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.2483, allocations: 195.6 kB / 215.1 MB, free: 10.8 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2484, allocations: 8.234 kB / 215.1 MB, free: 10.79 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.2484, allocations: 15.98 kB / 215.1 MB, free: 10.78 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.2487, allocations: 115.2 kB / 215.2 MB, free: 10.66 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2487, allocations: 4 kB / 215.2 MB, free: 10.66 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.2488, allocations: 11.95 kB / 215.3 MB, free: 10.64 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-06/0.2488, allocations: 0 / 215.3 MB, free: 10.64 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.249, allocations: 60.47 kB / 215.3 MB, free: 10.59 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.2501, allocations: 0.6021 MB / 215.9 MB, free: 9.906 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.2505, allocations: 78.58 kB / 216 MB, free: 9.82 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/0.2506, allocations: 28.98 kB / 216 MB, free: 9.789 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2506, allocations: 4 kB / 216 MB, free: 9.785 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2506, allocations: 42.5 kB / 216.1 MB, free: 9.734 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 2.358e-06/0.2506, allocations: 0 / 216.1 MB, free: 9.734 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003862/0.251, allocations: 106.4 kB / 216.2 MB, free: 9.621 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.2511, allocations: 55.34 kB / 216.2 MB, free: 9.555 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2513, allocations: 133.8 kB / 216.4 MB, free: 9.414 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2513, allocations: 25.7 kB / 216.4 MB, free: 9.383 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2514, allocations: 190.1 kB / 216.6 MB, free: 9.195 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.2515, allocations: 27.64 kB / 216.6 MB, free: 9.168 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.2515, allocations: 0 / 216.6 MB, free: 9.168 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2517, allocations: 318.8 kB / 216.9 MB, free: 8.848 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.2518, allocations: 20 kB / 216.9 MB, free: 8.828 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.2518, allocations: 34.58 kB / 217 MB, free: 8.785 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.73e-05/0.2519, allocations: 23.97 kB / 217 MB, free: 8.762 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.954e-06/0.252, allocations: 7.938 kB / 217 MB, free: 8.754 MB / 186.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000339/0.2523, allocations: 118.4 kB / 217.1 MB, free: 8.629 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2523, allocations: 8 kB / 217.1 MB, free: 8.621 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-06/0.2524, allocations: 0 / 217.1 MB, free: 8.621 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.2526, allocations: 40.83 kB / 217.1 MB, free: 8.578 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.2527, allocations: 11.98 kB / 217.2 MB, free: 8.566 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.2547, allocations: 1.577 MB / 218.7 MB, free: 6.84 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2548, allocations: 7.938 kB / 218.7 MB, free: 6.832 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2548, allocations: 4 kB / 218.7 MB, free: 6.828 MB / 186.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 9.532e-05/0.2549, allocations: 105 kB / 218.9 MB, free: 6.719 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.255, allocations: 11.86 kB / 218.9 MB, free: 6.707 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.2551, allocations: 20.61 kB / 218.9 MB, free: 6.688 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-06/0.2551, allocations: 0 / 218.9 MB, free: 6.688 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-06/0.2551, allocations: 0 / 218.9 MB, free: 6.688 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2551, allocations: 4 kB / 218.9 MB, free: 6.684 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.2554, allocations: 209.5 kB / 219.1 MB, free: 6.43 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-06/0.2554, allocations: 0 / 219.1 MB, free: 6.43 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.2555, allocations: 11.94 kB / 219.1 MB, free: 6.418 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.2557, allocations: 32.83 kB / 219.1 MB, free: 6.383 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2557, allocations: 12.14 kB / 219.1 MB, free: 6.371 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.2575, allocations: 1.549 MB / 220.7 MB, free: 4.68 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.633e-06/0.2575, allocations: 8 kB / 220.7 MB, free: 4.672 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.2579, allocations: 212.2 kB / 220.9 MB, free: 4.445 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.258, allocations: 85.02 kB / 221 MB, free: 4.344 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.2581, allocations: 4 kB / 221 MB, free: 4.34 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.2582, allocations: 11.89 kB / 221 MB, free: 4.328 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.2583, allocations: 15.98 kB / 221 MB, free: 4.312 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.2583, allocations: 7.891 kB / 221 MB, free: 4.305 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.2584, allocations: 106.3 kB / 221.1 MB, free: 4.203 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.2584, allocations: 0 / 221.1 MB, free: 4.203 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004982/0.259, allocations: 51.92 kB / 221.2 MB, free: 4.152 MB / 186.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.0001602/0.2591, allocations: 99.25 kB / 221.3 MB, free: 4.047 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003901/0.2595, allocations: 173.8 kB / 221.5 MB, free: 3.867 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.188e-06/0.2596, allocations: 0 / 221.5 MB, free: 3.867 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.2598, allocations: 145.7 kB / 221.6 MB, free: 3.715 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.2601, allocations: 19.97 kB / 221.6 MB, free: 3.695 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.2605, allocations: 166.4 kB / 221.8 MB, free: 3.504 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.261, allocations: 0.7199 MB / 222.5 MB, free: 2.758 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.261, allocations: 7.438 kB / 222.5 MB, free: 2.754 MB / 186.7 MB Notification: Performance of SimCode: time 1.324e-06/0.261, allocations: 0 / 222.5 MB, free: 2.754 MB / 186.7 MB Notification: Performance of Templates: time 0.004435/0.2655, allocations: 1.909 MB / 224.4 MB, free: 0.8438 MB / 186.7 MB