Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 269 MB / 284.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.817e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003439/0.1404, allocations: 1.954 MB / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1424, allocations: 0.8495 MB / 413.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.1426, allocations: 8 kB / 413.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.1429, allocations: 63.58 kB / 413.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.1433, allocations: 83.75 kB / 413.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.1447, allocations: 486.3 kB / 414.4 MB, free: 9.391 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.1451, allocations: 115.7 kB / 414.5 MB, free: 9.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1463, allocations: 458.1 kB / 414.9 MB, free: 8.809 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.1465, allocations: 63.83 kB / 415 MB, free: 8.746 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1467, allocations: 87.75 kB / 415.1 MB, free: 8.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004563/0.1472, allocations: 111.8 kB / 415.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.1472, allocations: 12 kB / 415.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.1473, allocations: 27.86 kB / 415.2 MB, free: 8.512 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.1474, allocations: 16 kB / 415.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.1479, allocations: 299.5 kB / 415.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1479, allocations: 0 / 415.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.148, allocations: 0 / 415.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.148, allocations: 0 / 415.5 MB, free: 8.203 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.001785/0.1498, allocations: 0.5734 MB / 416.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.1498, allocations: 12.03 kB / 416.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000479/0.1503, allocations: 51.69 kB / 416.2 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1505, allocations: 194.8 kB / 416.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.1506, allocations: 16.56 kB / 416.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.1507, allocations: 31.89 kB / 416.4 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/0.1517, allocations: 295.4 kB / 416.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.1517, allocations: 0 / 416.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.1518, allocations: 12 kB / 416.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1518, allocations: 4 kB / 416.7 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1529, allocations: 249.6 kB / 416.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.1553, allocations: 1.013 MB / 418 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/0.1561, allocations: 389.9 kB / 418.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.1563, allocations: 97.11 kB / 418.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1563, allocations: 30.56 kB / 418.5 MB, free: 5.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.565e-06/0.1564, allocations: 0 / 418.5 MB, free: 5.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.001967/0.1583, allocations: 0.5327 MB / 419 MB, free: 4.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.1584, allocations: 81.22 kB / 419.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1586, allocations: 136.6 kB / 419.2 MB, free: 4.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1587, allocations: 33.7 kB / 419.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1588, allocations: 206.6 kB / 419.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.1589, allocations: 70.94 kB / 419.5 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.1589, allocations: 4 kB / 419.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1591, allocations: 326.8 kB / 419.8 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.1595, allocations: 79.95 kB / 419.9 MB, free: 3.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.16, allocations: 122.7 kB / 420 MB, free: 3.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.1604, allocations: 99.89 kB / 420.1 MB, free: 3.242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1604, allocations: 0 / 420.1 MB, free: 3.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001128/0.1615, allocations: 299 kB / 420.4 MB, free: 2.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.1616, allocations: 7.953 kB / 420.4 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1616, allocations: 0 / 420.4 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002854/0.1619, allocations: 49.69 kB / 420.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.1623, allocations: 47.91 kB / 420.5 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3895/0.5518, allocations: 2.641 MB / 423.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.5523, allocations: 32.33 kB / 423.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.5524, allocations: 10 kB / 423.2 MB, free: 11.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002568/0.5527, allocations: 134.3 kB / 423.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.5528, allocations: 19.48 kB / 423.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.5545, allocations: 296.1 kB / 423.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.5545, allocations: 2.688 kB / 423.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5546, allocations: 2.375 kB / 423.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5546, allocations: 1.453 kB / 423.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/0.5614, allocations: 0.6618 MB / 424.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5615, allocations: 0 / 424.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/0.562, allocations: 39.11 kB / 424.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.5623, allocations: 56.23 kB / 424.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.5623, allocations: 3.156 kB / 424.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006872/0.5692, allocations: 2.648 MB / 427.1 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.5693, allocations: 1.25 kB / 427.1 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006253/0.5755, allocations: 0.562 MB / 427.6 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.5756, allocations: 95.69 kB / 427.7 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.5757, allocations: 10.61 kB / 427.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.5762, allocations: 25.23 kB / 427.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.5763, allocations: 18.75 kB / 427.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.5764, allocations: 6.547 kB / 427.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.5765, allocations: 112.9 kB / 427.9 MB, free: 8.539 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5765, allocations: 0 / 427.9 MB, free: 8.539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009688/0.5775, allocations: 75.5 kB / 428 MB, free: 8.531 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002942/0.5778, allocations: 127.8 kB / 428.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.5794, allocations: 437.7 kB / 428.5 MB, free: 8.215 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5794, allocations: 0 / 428.5 MB, free: 8.215 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008087/0.5802, allocations: 343.8 kB / 428.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.5807, allocations: 12.61 kB / 428.9 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.5823, allocations: 0.5734 MB / 429.4 MB, free: 7.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.5827, allocations: 0.7465 MB / 430.2 MB, free: 6.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.5828, allocations: 15.5 kB / 430.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5828, allocations: 0 / 430.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of Templates: time 0.01296/0.5958, allocations: 4.118 MB / 434.3 MB, free: 6.652 MB / 346.7 MB