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_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadModel(ModelicaTest): time 2.626/2.626, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.252e-05, allocations: 0 / 308 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4513, allocations: 54.86 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003771/0.4551, allocations: 2.05 MB / 364.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.4571, allocations: 0.6917 MB / 365.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.4574, allocations: 9.75 kB / 365.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.4576, allocations: 45.58 kB / 365.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.458, allocations: 89.44 kB / 365.8 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.4583, allocations: 77.88 kB / 365.8 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.4588, allocations: 208 kB / 366 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.4591, allocations: 70.89 kB / 366.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.4594, allocations: 115.3 kB / 366.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.4596, allocations: 128.3 kB / 366.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.4597, allocations: 13.44 kB / 366.4 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.4598, allocations: 14.28 kB / 366.4 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.465e-05/0.4599, allocations: 53.44 kB / 366.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.46, allocations: 30.59 kB / 366.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.4605, allocations: 317.9 kB / 366.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4605, allocations: 0 / 366.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4605, allocations: 1.125 kB / 366.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.4605, allocations: 0 / 366.8 MB, free: 9.23 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.00158/0.4621, allocations: 0.5961 MB / 367.4 MB, free: 8.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.4622, allocations: 12.44 kB / 367.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.4623, allocations: 39.19 kB / 367.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.4629, allocations: 264.3 kB / 367.7 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.4629, allocations: 29.98 kB / 367.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.463, allocations: 30.03 kB / 367.7 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.4641, allocations: 366.6 kB / 368.1 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.4642, allocations: 5.031 kB / 368.1 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.4643, allocations: 19.25 kB / 368.1 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.4643, allocations: 8.469 kB / 368.1 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.4655, allocations: 285.8 kB / 368.4 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.469, allocations: 1.363 MB / 369.8 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.47, allocations: 210.5 kB / 370 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/0.47, allocations: 3.984 kB / 370 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.4701, allocations: 42.56 kB / 370 MB, free: 6.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 3.125e-06/0.4701, allocations: 0 / 370 MB, free: 6.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001402/0.4715, allocations: 273.4 kB / 370.3 MB, free: 6.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4717, allocations: 140.7 kB / 370.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.4722, allocations: 295.5 kB / 370.7 MB, free: 5.645 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.4723, allocations: 25.7 kB / 370.7 MB, free: 5.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.4725, allocations: 239.5 kB / 371 MB, free: 5.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.146e-05/0.4726, allocations: 55.23 kB / 371 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.4726, allocations: 4 kB / 371 MB, free: 5.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4728, allocations: 338.8 kB / 371.3 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.4733, allocations: 92.5 kB / 371.4 MB, free: 4.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.4738, allocations: 180.2 kB / 371.6 MB, free: 4.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.4743, allocations: 111.9 kB / 371.7 MB, free: 4.559 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4743, allocations: 0 / 371.7 MB, free: 4.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00122/0.4755, allocations: 321.1 kB / 372 MB, free: 4.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.4756, allocations: 8 kB / 372 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.4756, allocations: 4 kB / 372 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.4757, allocations: 4 kB / 372.1 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/0.4765, allocations: 107.9 kB / 372.2 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.4765, allocations: 7.938 kB / 372.2 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.477, allocations: 55.56 kB / 372.2 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.4771, allocations: 15.95 kB / 372.2 MB, free: 4.039 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.000239/0.4773, allocations: 149.7 kB / 372.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.4775, allocations: 31.91 kB / 372.4 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.4776, allocations: 30.41 kB / 372.4 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.4776, allocations: 7.984 kB / 372.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4777, allocations: 0 / 372.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4777, allocations: 7.984 kB / 372.5 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.4789, allocations: 0.5876 MB / 373 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.479, allocations: 0 / 373 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.4795, allocations: 67.94 kB / 373.1 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.4795, allocations: 8.094 kB / 373.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.4796, allocations: 8.562 kB / 373.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.4796, allocations: 7.953 kB / 373.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4796, allocations: 0 / 373.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4807, allocations: 492.8 kB / 373.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4809, allocations: 112.6 kB / 373.7 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.4809, allocations: 4 kB / 373.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.4813, allocations: 31.92 kB / 373.8 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.4814, allocations: 11.98 kB / 373.8 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.4815, allocations: 11.94 kB / 373.8 MB, free: 2.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003996/0.4819, allocations: 223.1 kB / 374 MB, free: 2.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4819, allocations: 0 / 374 MB, free: 2.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005973/0.4825, allocations: 67.84 kB / 374.1 MB, free: 2.035 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.0001496/0.4827, allocations: 107.2 kB / 374.2 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4837, allocations: 211.8 kB / 374.4 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4838, allocations: 0 / 374.4 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.4842, allocations: 92.58 kB / 374.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.4847, allocations: 17.44 kB / 374.5 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.4865, allocations: 0.6662 MB / 375.2 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.4871, allocations: 0.7791 MB / 375.9 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.4874, allocations: 25.94 kB / 376 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.4875, allocations: 19.44 kB / 376 MB, free: 52 kB / 298.7 MB Notification: Performance of SimCode: time 2.244e-06/0.4875, allocations: 0 / 376 MB, free: 52 kB / 298.7 MB Notification: Performance of Templates: time 0.008695/0.4962, allocations: 1.561 MB / 377.5 MB, free: 14.5 MB / 314.7 MB