Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 194.9 MB / 211.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.272e-05, allocations: 7.906 kB / 258.8 MB, free: 8.68 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.304, allocations: 44.49 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.0038/0.3078, allocations: 2.082 MB / 305.4 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3095, allocations: 0.5561 MB / 305.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.3098, allocations: 5.594 kB / 305.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.537e-05/0.3099, allocations: 33.91 kB / 306 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.3102, allocations: 79.88 kB / 306.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.3105, allocations: 48.38 kB / 306.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.3109, allocations: 156.4 kB / 306.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.3111, allocations: 41.39 kB / 306.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3114, allocations: 90.42 kB / 306.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.3116, allocations: 107.5 kB / 306.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.179e-05/0.3117, allocations: 12.25 kB / 306.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.3118, allocations: 10.78 kB / 306.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.3118, allocations: 41.72 kB / 306.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.3119, allocations: 21.41 kB / 306.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.3123, allocations: 210.7 kB / 306.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3123, allocations: 0 / 306.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3123, allocations: 0 / 306.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.3124, allocations: 0 / 306.8 MB, free: 10.01 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001432/0.3138, allocations: 0.5292 MB / 307.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.3139, allocations: 8.625 kB / 307.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.314, allocations: 25.28 kB / 307.3 MB, free: 9.496 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.3145, allocations: 254.2 kB / 307.6 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.3146, allocations: 13.16 kB / 307.6 MB, free: 9.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.3147, allocations: 20.66 kB / 307.6 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008898/0.3156, allocations: 224.8 kB / 307.8 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3156, allocations: 0 / 307.8 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.3157, allocations: 8 kB / 307.9 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.3157, allocations: 7.938 kB / 307.9 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.3167, allocations: 215.6 kB / 308.1 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.3191, allocations: 0.8131 MB / 308.9 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3203, allocations: 206.6 kB / 309.1 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3204, allocations: 0 / 309.1 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006742/0.3211, allocations: 168.9 kB / 309.3 MB, free: 7.523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 4.789e-06/0.3211, allocations: 3.984 kB / 309.3 MB, free: 7.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.002865/0.324, allocations: 499.3 kB / 309.7 MB, free: 7.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.3241, allocations: 81.11 kB / 309.8 MB, free: 6.906 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.3245, allocations: 206.5 kB / 310 MB, free: 6.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.3245, allocations: 33.7 kB / 310.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.3247, allocations: 222.3 kB / 310.3 MB, free: 6.438 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.3248, allocations: 35.45 kB / 310.3 MB, free: 6.402 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.3248, allocations: 4 kB / 310.3 MB, free: 6.398 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.325, allocations: 322.8 kB / 310.6 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.3255, allocations: 92.31 kB / 310.7 MB, free: 5.984 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.326, allocations: 142.4 kB / 310.9 MB, free: 5.824 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.3266, allocations: 125.6 kB / 311 MB, free: 5.695 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3266, allocations: 0 / 311 MB, free: 5.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001724/0.3283, allocations: 359.9 kB / 311.3 MB, free: 5.328 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.3284, allocations: 37.69 kB / 311.4 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3285, allocations: 4 kB / 311.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006991/0.3292, allocations: 80.77 kB / 311.5 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.3296, allocations: 51.91 kB / 311.5 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.3328, allocations: 1.489 MB / 313 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.3333, allocations: 51.69 kB / 313 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.3334, allocations: 8 kB / 313 MB, free: 3.461 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.3336, allocations: 129.8 kB / 313.2 MB, free: 3.324 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.3337, allocations: 23.8 kB / 313.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.3338, allocations: 25.47 kB / 313.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3338, allocations: 0 / 313.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3338, allocations: 0 / 313.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3339, allocations: 7.984 kB / 313.2 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.3342, allocations: 277.4 kB / 313.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3343, allocations: 4 kB / 313.5 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.3347, allocations: 39.91 kB / 313.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006446/0.3353, allocations: 76.8 kB / 313.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.3354, allocations: 3.984 kB / 313.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.3383, allocations: 1.497 MB / 315.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3383, allocations: 192 / 315.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.3404, allocations: 413.3 kB / 315.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.3406, allocations: 96.94 kB / 315.6 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.3407, allocations: 0 / 315.6 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3411, allocations: 36.03 kB / 315.7 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3412, allocations: 19.97 kB / 315.7 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3413, allocations: 4 kB / 315.7 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.3415, allocations: 168.5 kB / 315.8 MB, free: 436 kB / 250.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3416, allocations: 0 / 315.8 MB, free: 436 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004553/0.342, allocations: 59.84 kB / 315.9 MB, free: 376 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001715/0.3422, allocations: 103.2 kB / 316 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.3436, allocations: 381.9 kB / 316.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3437, allocations: 0 / 316.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006352/0.3443, allocations: 214.8 kB / 316.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.3448, allocations: 36.3 kB / 316.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.3463, allocations: 0.5706 MB / 317.2 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3468, allocations: 0.7482 MB / 317.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.3469, allocations: 19.44 kB / 318 MB, free: 14.21 MB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3469, allocations: 0 / 318 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Templates: time 0.009266/0.3562, allocations: 3.647 MB / 321.6 MB, free: 10.55 MB / 266.7 MB