Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.485e-05, allocations: 0 / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007314/0.1374, allocations: 4.083 MB / 415 MB, free: 8.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.1411, allocations: 1.363 MB / 416.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006614/0.1418, allocations: 24 kB / 416.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.1424, allocations: 143 kB / 416.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.1434, allocations: 259.2 kB / 416.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.1454, allocations: 0.5258 MB / 417.3 MB, free: 6.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1466, allocations: 430.8 kB / 417.7 MB, free: 6.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003348/0.15, allocations: 1.154 MB / 418.9 MB, free: 4.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.1506, allocations: 223.4 kB / 419.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006796/0.1513, allocations: 331 kB / 419.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.1519, allocations: 119.8 kB / 419.6 MB, free: 4.184 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.152, allocations: 32 kB / 419.6 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1522, allocations: 115.5 kB / 419.7 MB, free: 4.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.1524, allocations: 68 kB / 419.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.1539, allocations: 0.8882 MB / 420.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1539, allocations: 0 / 420.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1539, allocations: 0 / 420.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.154, allocations: 0 / 420.7 MB, free: 3.082 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.005033/0.159, allocations: 1.194 MB / 421.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.1591, allocations: 8.031 kB / 421.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/0.1613, allocations: 226.8 kB / 422.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.1617, allocations: 250.6 kB / 422.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.162, allocations: 78 kB / 422.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.1623, allocations: 111.8 kB / 422.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.1649, allocations: 0.9087 MB / 423.4 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.505e-05/0.165, allocations: 8 kB / 423.4 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.1651, allocations: 36 kB / 423.5 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.1652, allocations: 28 kB / 423.5 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3146/0.4798, allocations: 0.716 MB / 424.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007668/0.4875, allocations: 3.955 MB / 428.2 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.4906, allocations: 3.361 MB / 431.5 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.4909, allocations: 101.9 kB / 431.6 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.4909, allocations: 47.7 kB / 431.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 3.817e-06/0.4909, allocations: 0 / 431.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.004369/0.4953, allocations: 1.321 MB / 433 MB, free: 5.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.4954, allocations: 137.4 kB / 433.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005324/0.4959, allocations: 290.1 kB / 433.4 MB, free: 5.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.496, allocations: 39.08 kB / 433.4 MB, free: 4.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.4962, allocations: 458 kB / 433.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.4965, allocations: 233.6 kB / 434.1 MB, free: 4.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.4965, allocations: 18.75 kB / 434.1 MB, free: 4.406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.4966, allocations: 341.6 kB / 434.5 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.4972, allocations: 197.8 kB / 434.7 MB, free: 4.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.4979, allocations: 401.3 kB / 435.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.4986, allocations: 255 kB / 435.3 MB, free: 3.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4986, allocations: 5.531 kB / 435.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002326/0.501, allocations: 0.8664 MB / 436.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.501, allocations: 10.81 kB / 436.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5011, allocations: 10.25 kB / 436.2 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.5021, allocations: 217.1 kB / 436.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/0.5031, allocations: 140.7 kB / 436.5 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007336/0.5104, allocations: 6.303 MB / 442.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008556/0.5113, allocations: 90.97 kB / 442.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/0.5114, allocations: 32.09 kB / 443 MB, free: 13.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004863/0.5119, allocations: 222.2 kB / 443.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.5121, allocations: 47.09 kB / 443.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.5142, allocations: 0.6785 MB / 443.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.5142, allocations: 15.77 kB / 443.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.5143, allocations: 5.188 kB / 443.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.5143, allocations: 4.844 kB / 443.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.5182, allocations: 1.569 MB / 445.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.5182, allocations: 1.641 kB / 445.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.5188, allocations: 68.97 kB / 445.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009407/0.5197, allocations: 219 kB / 445.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.5198, allocations: 14.16 kB / 445.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007926/0.5277, allocations: 6.297 MB / 452.1 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.5278, allocations: 8.953 kB / 452.1 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.5304, allocations: 1.21 MB / 453.3 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.5306, allocations: 134.5 kB / 453.4 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5308, allocations: 16.78 kB / 453.5 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.5313, allocations: 13.62 kB / 453.5 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.5315, allocations: 52.41 kB / 453.5 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.5315, allocations: 17.45 kB / 453.5 MB, free: 4.773 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004036/0.532, allocations: 212.2 kB / 453.8 MB, free: 4.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.532, allocations: 0 / 453.8 MB, free: 4.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001444/0.5334, allocations: 275.1 kB / 454 MB, free: 4.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003213/0.5338, allocations: 145 kB / 454.2 MB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.5364, allocations: 1.084 MB / 455.2 MB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5364, allocations: 0 / 455.2 MB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.5379, allocations: 0.7818 MB / 456 MB, free: 3.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.5386, allocations: 31.23 kB / 456.1 MB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.5422, allocations: 1.58 MB / 457.6 MB, free: 2.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/0.5429, allocations: 0.9273 MB / 458.6 MB, free: 1.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.5432, allocations: 44.94 kB / 458.6 MB, free: 1.383 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5432, allocations: 0 / 458.6 MB, free: 1.383 MB / 362.7 MB Notification: Performance of Templates: time 0.03183/0.575, allocations: 18.09 MB / 476.7 MB, free: 5.82 MB / 378.7 MB