Running command: translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadModel(ModelicaTest): time 2.534/2.534, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.196e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3795, allocations: 54.85 MB / 362.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003991/0.3836, allocations: 2.055 MB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3855, allocations: 0.69 MB / 365.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.3858, allocations: 13.09 kB / 365.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.386, allocations: 41.55 kB / 365.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.3863, allocations: 90.09 kB / 365.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.3867, allocations: 76.47 kB / 365.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.3872, allocations: 204.1 kB / 366 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.3874, allocations: 75.97 kB / 366.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.3877, allocations: 119.3 kB / 366.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.388, allocations: 127.8 kB / 366.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.388, allocations: 14.34 kB / 366.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.3881, allocations: 13.28 kB / 366.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.3882, allocations: 54.27 kB / 366.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.3883, allocations: 29.81 kB / 366.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.3888, allocations: 304.2 kB / 366.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3888, allocations: 4 kB / 366.7 MB, free: 9.039 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.658e-06/0.3888, allocations: 5.094 kB / 366.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3888, allocations: 3.938 kB / 366.7 MB, free: 9.031 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001496/0.3903, allocations: 0.5962 MB / 367.3 MB, free: 8.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3904, allocations: 12.62 kB / 367.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.3906, allocations: 38.75 kB / 367.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.391, allocations: 268.1 kB / 367.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.3911, allocations: 26.59 kB / 367.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.3912, allocations: 33.16 kB / 367.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.3923, allocations: 363.4 kB / 368.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3923, allocations: 3.984 kB / 368.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.3924, allocations: 15.44 kB / 368.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.3924, allocations: 12.73 kB / 368.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.3935, allocations: 283.2 kB / 368.4 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.3969, allocations: 1.369 MB / 369.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.3977, allocations: 210 kB / 369.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.3978, allocations: 1.969 kB / 369.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.3979, allocations: 41.41 kB / 370 MB, free: 6.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.755e-06/0.3979, allocations: 0 / 370 MB, free: 6.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001399/0.3993, allocations: 271.4 kB / 370.2 MB, free: 6.168 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.3994, allocations: 140.7 kB / 370.4 MB, free: 6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.3999, allocations: 291.6 kB / 370.7 MB, free: 5.703 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.4, allocations: 33.7 kB / 370.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.4002, allocations: 290 kB / 371 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.071e-05/0.4003, allocations: 55.28 kB / 371 MB, free: 5.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.4003, allocations: 8 kB / 371 MB, free: 5.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4005, allocations: 318.8 kB / 371.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.4009, allocations: 88.52 kB / 371.4 MB, free: 4.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.4014, allocations: 180.2 kB / 371.6 MB, free: 4.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.4019, allocations: 104 kB / 371.7 MB, free: 4.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4019, allocations: 3.938 kB / 371.7 MB, free: 4.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001149/0.4031, allocations: 317.3 kB / 372 MB, free: 4.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.4031, allocations: 4 kB / 372 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4031, allocations: 7.984 kB / 372 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.4032, allocations: 4 kB / 372 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/0.404, allocations: 107.9 kB / 372.2 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.404, allocations: 7.984 kB / 372.2 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.4045, allocations: 43.67 kB / 372.2 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.4046, allocations: 11.95 kB / 372.2 MB, free: 4.086 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002278/0.4048, allocations: 153.7 kB / 372.4 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.405, allocations: 27.62 kB / 372.4 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.936e-05/0.4051, allocations: 42.41 kB / 372.4 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4051, allocations: 3.984 kB / 372.4 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.4051, allocations: 4 kB / 372.4 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4051, allocations: 4.219 kB / 372.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.4063, allocations: 0.5798 MB / 373 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4063, allocations: 8.156 kB / 373 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.4068, allocations: 68.5 kB / 373.1 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.4069, allocations: 4 kB / 373.1 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.4069, allocations: 7.984 kB / 373.1 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.4069, allocations: 11.89 kB / 373.1 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.4069, allocations: 8 kB / 373.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.408, allocations: 487.8 kB / 373.6 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.4081, allocations: 108.7 kB / 373.7 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.4082, allocations: 15.92 kB / 373.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.4086, allocations: 23.94 kB / 373.8 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.4087, allocations: 15.98 kB / 373.8 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.4088, allocations: 7.938 kB / 373.8 MB, free: 2.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003668/0.4091, allocations: 227.1 kB / 374 MB, free: 2.137 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4092, allocations: 0 / 374 MB, free: 2.137 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005701/0.4097, allocations: 67.84 kB / 374.1 MB, free: 2.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001403/0.4099, allocations: 107.2 kB / 374.2 MB, free: 1.957 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.4109, allocations: 203.9 kB / 374.4 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4109, allocations: 3.938 kB / 374.4 MB, free: 1.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.4114, allocations: 92.58 kB / 374.5 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.4118, allocations: 21.44 kB / 374.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.4134, allocations: 0.6912 MB / 375.2 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.4138, allocations: 0.783 MB / 376 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.414, allocations: 23.44 kB / 376 MB, free: 72 kB / 298.7 MB Notification: Performance of SimCode: time 9.91e-07/0.414, allocations: 0 / 376 MB, free: 72 kB / 298.7 MB Notification: Performance of Templates: time 0.008126/0.4221, allocations: 3.021 MB / 379 MB, free: 13.05 MB / 314.7 MB