Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 270 MB / 282.7 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.809e-05, allocations: 4 kB / 347.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3965, allocations: 61.88 MB / 408.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.5601, allocations: 90 MB / 498.9 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.5604, allocations: 75.95 kB / 499 MB, free: 0.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03566/0.5961, allocations: 9.232 MB / 0.4963 GB, free: 7.258 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5962, allocations: 4 kB / 0.4963 GB, free: 7.254 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.5962, allocations: 4 kB / 0.4963 GB, free: 7.25 MB / 426.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.001542/0.5977, allocations: 0.5568 MB / 0.4969 GB, free: 6.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5978, allocations: 8.031 kB / 0.4969 GB, free: 6.641 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.633e-05/0.5979, allocations: 66.53 kB / 0.4969 GB, free: 6.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/0.5984, allocations: 51.69 kB / 0.497 GB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.5986, allocations: 182.7 kB / 0.4972 GB, free: 6.297 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.5986, allocations: 24.55 kB / 0.4972 GB, free: 6.273 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.5987, allocations: 27.95 kB / 0.4972 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.5994, allocations: 258.4 kB / 0.4975 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.5994, allocations: 0 / 0.4975 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.5995, allocations: 8 kB / 0.4975 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.5995, allocations: 8 kB / 0.4975 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.6, allocations: 172.8 kB / 0.4976 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.6024, allocations: 1.025 MB / 0.4986 GB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.603, allocations: 343.4 kB / 0.499 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.6033, allocations: 117.7 kB / 0.4991 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.6035, allocations: 81.11 kB / 0.4992 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.6035, allocations: 42.5 kB / 0.4992 GB, free: 4.039 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.986e-06/0.6035, allocations: 0 / 0.4992 GB, free: 4.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007166/0.6043, allocations: 197 kB / 0.4994 GB, free: 3.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.6043, allocations: 81.11 kB / 0.4995 GB, free: 3.738 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.6045, allocations: 128 kB / 0.4996 GB, free: 3.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.6046, allocations: 29.81 kB / 0.4996 GB, free: 3.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.6047, allocations: 214.5 kB / 0.4998 GB, free: 3.363 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.6048, allocations: 67.02 kB / 0.4999 GB, free: 3.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.6048, allocations: 0 / 0.4999 GB, free: 3.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.605, allocations: 330.8 kB / 0.5002 GB, free: 2.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.6051, allocations: 48 kB / 0.5002 GB, free: 2.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.6053, allocations: 82.94 kB / 0.5003 GB, free: 2.824 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.6055, allocations: 59.91 kB / 0.5004 GB, free: 2.766 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6055, allocations: 4 kB / 0.5004 GB, free: 2.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006426/0.6062, allocations: 220.8 kB / 0.5006 GB, free: 2.535 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6062, allocations: 4 kB / 0.5006 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6062, allocations: 7.984 kB / 0.5006 GB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.6065, allocations: 45.7 kB / 0.5007 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.6069, allocations: 48.09 kB / 0.5007 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.6094, allocations: 2.643 MB / 0.5033 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.6098, allocations: 43.83 kB / 0.5033 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.6098, allocations: 4 kB / 0.5033 GB, free: 15.47 MB / 442.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.0001178/0.6099, allocations: 113.5 kB / 0.5034 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.61, allocations: 15.77 kB / 0.5034 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000643/0.6107, allocations: 226.7 kB / 0.5037 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6107, allocations: 4 kB / 0.5037 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6107, allocations: 0 / 0.5037 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6107, allocations: 3.953 kB / 0.5037 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.6121, allocations: 0.6147 MB / 0.5043 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6122, allocations: 4 kB / 0.5043 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.6125, allocations: 35.92 kB / 0.5043 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.6127, allocations: 53.69 kB / 0.5044 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.6128, allocations: 4 kB / 0.5044 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.6152, allocations: 2.643 MB / 0.5069 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.6152, allocations: 4.031 kB / 0.507 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.6161, allocations: 490.3 kB / 0.5074 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.6162, allocations: 92.98 kB / 0.5075 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.6162, allocations: 4 kB / 0.5075 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.6166, allocations: 28.05 kB / 0.5075 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.6167, allocations: 23.92 kB / 0.5076 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.6167, allocations: 4 kB / 0.5076 GB, free: 10.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.6168, allocations: 107.2 kB / 0.5077 GB, free: 10.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6168, allocations: 3.938 kB / 0.5077 GB, free: 10.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006087/0.6175, allocations: 75.75 kB / 0.5077 GB, free: 10.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.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.001385/0.6188, allocations: 1.253 MB / 0.509 GB, free: 9.219 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000795/0.6197, allocations: 359.4 kB / 0.5093 GB, free: 8.848 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6197, allocations: 0 / 0.5093 GB, free: 8.848 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.6202, allocations: 287.4 kB / 0.5096 GB, free: 8.547 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.6205, allocations: 8 kB / 0.5096 GB, free: 8.539 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.6218, allocations: 435 kB / 0.51 GB, free: 8.066 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.6222, allocations: 0.7476 MB / 0.5107 GB, free: 7.289 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.6224, allocations: 67.36 kB / 0.5108 GB, free: 7.227 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6224, allocations: 0 / 0.5108 GB, free: 7.227 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.864/3.486, allocations: 5.013 MB / 0.5157 GB, free: 2.207 MB / 442.7 MB