Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.566e-05/3.568e-05, allocations: 4.984 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09038, allocations: 50.41 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4083/0.4987, allocations: 81.38 MB / 423.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.499, allocations: 81.89 kB / 424 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.524, allocations: 6.396 MB / 430.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.091e-06/0.5241, allocations: 0 / 430.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.891e-05/0.5241, allocations: 8 kB / 430.4 MB, free: 7.254 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001176/0.5253, allocations: 0.5857 MB / 431 MB, free: 6.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5254, allocations: 8.031 kB / 431 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.788e-05/0.5255, allocations: 35.62 kB / 431.1 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.526, allocations: 293.9 kB / 431.3 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.526, allocations: 19.56 kB / 431.4 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.5261, allocations: 26.36 kB / 431.4 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.5267, allocations: 268.6 kB / 431.7 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.5268, allocations: 7.953 kB / 431.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.5268, allocations: 5.312 kB / 431.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.5268, allocations: 11.94 kB / 431.7 MB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.5273, allocations: 189.7 kB / 431.9 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.5299, allocations: 1.189 MB / 433 MB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.5303, allocations: 138.4 kB / 433.2 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.5305, allocations: 66.02 kB / 433.2 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.5305, allocations: 4 kB / 433.3 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.5309, allocations: 141.2 kB / 433.4 MB, free: 4.645 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.147e-06/0.5309, allocations: 3.938 kB / 433.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008251/0.5317, allocations: 236.8 kB / 433.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.5318, allocations: 110.1 kB / 433.7 MB, free: 4.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.5323, allocations: 253.6 kB / 434 MB, free: 4.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.5324, allocations: 29.14 kB / 434 MB, free: 4.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.5327, allocations: 262.7 kB / 434.3 MB, free: 3.844 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/0.5328, allocations: 41.2 kB / 434.3 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.5328, allocations: 3.625 kB / 434.3 MB, free: 3.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.5331, allocations: 322.2 kB / 434.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.5334, allocations: 61.72 kB / 434.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.5339, allocations: 152.4 kB / 434.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.5342, allocations: 103.1 kB / 434.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.817e-06/0.5343, allocations: 0 / 434.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001641/0.5359, allocations: 348.8 kB / 435.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/0.536, allocations: 33.7 kB / 435.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.536, allocations: 4 kB / 435.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/0.5365, allocations: 58.77 kB / 435.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.5371, allocations: 59.03 kB / 435.4 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/0.5407, allocations: 1.655 MB / 437.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008102/0.5415, allocations: 59.06 kB / 437.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.5416, allocations: 11.98 kB / 437.2 MB, free: 1.059 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0002192/0.5419, allocations: 131.5 kB / 437.3 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.542, allocations: 23.72 kB / 437.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.289e-05/0.5421, allocations: 22.83 kB / 437.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.87e-06/0.5421, allocations: 8 kB / 437.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-06/0.5422, allocations: 0 / 437.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.5422, allocations: 0 / 437.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.5429, allocations: 331.1 kB / 437.7 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.246e-06/0.5429, allocations: 0 / 437.7 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.5432, allocations: 31.34 kB / 437.7 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/0.5436, allocations: 51.89 kB / 437.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.5436, allocations: 6.938 kB / 437.7 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.5457, allocations: 1.524 MB / 439.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.991e-06/0.5457, allocations: 32 / 439.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.5465, allocations: 277.2 kB / 439.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.5467, allocations: 100.8 kB / 439.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.5467, allocations: 6.797 kB / 439.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.5471, allocations: 43.86 kB / 439.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.5472, allocations: 19.16 kB / 439.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.5472, allocations: 8 kB / 439.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.5475, allocations: 199.2 kB / 439.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5475, allocations: 0 / 439.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005518/0.5481, allocations: 79.34 kB / 440 MB, free: 14.32 MB / 362.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001784/0.5483, allocations: 109.9 kB / 440.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006775/0.549, allocations: 335.8 kB / 440.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.697e-06/0.549, allocations: 4 kB / 440.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.5494, allocations: 180.1 kB / 440.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.5497, allocations: 48.16 kB / 440.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.5505, allocations: 321.3 kB / 441 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.551, allocations: 0.756 MB / 441.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.5511, allocations: 27.44 kB / 441.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.695e-06/0.5512, allocations: 0 / 441.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Templates: time 0.008714/0.5599, allocations: 4.552 MB / 446.3 MB, free: 8.102 MB / 362.7 MB