Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 2.394/2.394, allocations: 194.9 MB / 211.2 MB, free: 8.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.314e-05, allocations: 11.89 kB / 258.8 MB, free: 8.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3144, allocations: 44.51 MB / 303.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005456/0.3199, allocations: 2.54 MB / 305.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.3229, allocations: 0.8916 MB / 306.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.3234, allocations: 10.91 kB / 306.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.3236, allocations: 40.02 kB / 306.8 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007411/0.3244, allocations: 129.3 kB / 306.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.3249, allocations: 99.09 kB / 307 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.3257, allocations: 254.4 kB / 307.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.3259, allocations: 67.94 kB / 307.3 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.3264, allocations: 136.2 kB / 307.5 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.3268, allocations: 159.8 kB / 307.6 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.327, allocations: 53.72 kB / 307.7 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.3271, allocations: 24 kB / 307.7 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.3272, allocations: 71.67 kB / 307.8 MB, free: 9.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3274, allocations: 36 kB / 307.8 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.328, allocations: 364.8 kB / 308.1 MB, free: 8.781 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.328, allocations: 0 / 308.1 MB, free: 8.781 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.328, allocations: 0 / 308.1 MB, free: 8.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.328, allocations: 0 / 308.1 MB, free: 8.781 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001711/0.3298, allocations: 0.6316 MB / 308.8 MB, free: 8.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.3298, allocations: 12.03 kB / 308.8 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.33, allocations: 43.44 kB / 308.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.3305, allocations: 302.3 kB / 309.1 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.3306, allocations: 24.66 kB / 309.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.3307, allocations: 35.91 kB / 309.2 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3318, allocations: 349 kB / 309.5 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3319, allocations: 0 / 309.5 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.3319, allocations: 19.94 kB / 309.5 MB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3319, allocations: 8 kB / 309.6 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009241/0.3329, allocations: 246.4 kB / 309.8 MB, free: 7.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.3362, allocations: 1.19 MB / 311 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.3374, allocations: 291.7 kB / 311.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.3386, allocations: 1.125 MB / 312.4 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.3387, allocations: 34.8 kB / 312.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 3.356e-06/0.3387, allocations: 0 / 312.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.002049/0.3408, allocations: 0.5013 MB / 312.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.3409, allocations: 81.11 kB / 313 MB, free: 3.418 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.3414, allocations: 304.8 kB / 313.3 MB, free: 3.113 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.3415, allocations: 29.7 kB / 313.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3417, allocations: 258.7 kB / 313.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3418, allocations: 102.5 kB / 313.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.3418, allocations: 4 kB / 313.7 MB, free: 2.719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.342, allocations: 330.8 kB / 314 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.3424, allocations: 108.7 kB / 314.1 MB, free: 2.277 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.3429, allocations: 193.7 kB / 314.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.3434, allocations: 124 kB / 314.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3434, allocations: 4 kB / 314.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001093/0.3445, allocations: 364.7 kB / 314.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3446, allocations: 8 kB / 314.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3446, allocations: 0 / 314.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3446, allocations: 4 kB / 314.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/0.3454, allocations: 103.8 kB / 314.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.3454, allocations: 4 kB / 314.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.3459, allocations: 55.52 kB / 315 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.346, allocations: 12 kB / 315 MB, free: 1.387 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002562/0.3463, allocations: 148.7 kB / 315.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3464, allocations: 35.58 kB / 315.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.3477, allocations: 334.3 kB / 315.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3477, allocations: 3.938 kB / 315.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3477, allocations: 0 / 315.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3477, allocations: 4 kB / 315.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.3485, allocations: 393.2 kB / 315.9 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3485, allocations: 0 / 315.9 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.3492, allocations: 79.89 kB / 316 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002886/0.3496, allocations: 40.83 kB / 316 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.3496, allocations: 4 kB / 316 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005733/0.3502, allocations: 0.5718 MB / 316.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3502, allocations: 0 / 316.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.3519, allocations: 0.5287 MB / 317.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.3522, allocations: 132.6 kB / 317.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.3523, allocations: 11.95 kB / 317.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.3528, allocations: 31.97 kB / 317.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.3529, allocations: 11.98 kB / 317.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.3529, allocations: 15.97 kB / 317.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003938/0.3533, allocations: 235.2 kB / 317.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3533, allocations: 0 / 317.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006087/0.354, allocations: 103.8 kB / 317.6 MB, free: 14.6 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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.0002896/0.3543, allocations: 131.1 kB / 317.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.3555, allocations: 280 kB / 318 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.3555, allocations: 0 / 318 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.3564, allocations: 144.4 kB / 318.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.3572, allocations: 29.42 kB / 318.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.3598, allocations: 1.056 MB / 319.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.3603, allocations: 0.7994 MB / 320.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.3605, allocations: 39.42 kB / 320.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3605, allocations: 0 / 320.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Templates: time 0.01176/0.3723, allocations: 4.648 MB / 324.7 MB, free: 7.414 MB / 266.7 MB