Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.308e-05/7.325e-05, allocations: 7.172 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1598, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5926/0.7525, allocations: 92.99 MB / 0.4915 GB, free: 11.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.7529, allocations: 80.89 kB / 0.4916 GB, free: 11.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1158/0.8687, allocations: 27.11 MB / 0.5181 GB, free: 15.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8688, allocations: 0 / 0.5181 GB, free: 15.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.795e-05/0.8688, allocations: 16 kB / 0.5181 GB, free: 15.54 MB / 442.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.005434/0.8743, allocations: 1.033 MB / 0.5191 GB, free: 14.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.8744, allocations: 8.031 kB / 0.5191 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004479/0.8748, allocations: 156.2 kB / 0.5193 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/0.8782, allocations: 230.8 kB / 0.5195 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.8788, allocations: 258.5 kB / 0.5197 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.8791, allocations: 81.98 kB / 0.5198 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004059/0.8796, allocations: 96 kB / 0.5199 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/0.8831, allocations: 0.885 MB / 0.5208 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-05/0.8833, allocations: 11.91 kB / 0.5208 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.8835, allocations: 40 kB / 0.5208 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/0.8835, allocations: 24 kB / 0.5209 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/0.8865, allocations: 0.6713 MB / 0.5215 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00958/0.8961, allocations: 3.955 MB / 0.5254 GB, free: 7.656 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.9003, allocations: 3.364 MB / 0.5287 GB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.901, allocations: 287 kB / 0.5289 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.9012, allocations: 93.42 kB / 0.529 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.9013, allocations: 50.83 kB / 0.5291 GB, free: 3.188 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 4.268e-06/0.9013, allocations: 0 / 0.5291 GB, free: 3.188 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.001966/0.9033, allocations: 0.6051 MB / 0.5297 GB, free: 2.566 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.9034, allocations: 140.5 kB / 0.5298 GB, free: 2.398 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.9039, allocations: 279.2 kB / 0.5301 GB, free: 2.125 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.904, allocations: 33.7 kB / 0.5301 GB, free: 2.086 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.9044, allocations: 402.3 kB / 0.5305 GB, free: 1.684 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.9046, allocations: 232.7 kB / 0.5307 GB, free: 1.453 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.9047, allocations: 16 kB / 0.5307 GB, free: 1.438 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.9049, allocations: 358.7 kB / 0.5311 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.9054, allocations: 182 kB / 0.5312 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.9062, allocations: 378.7 kB / 0.5316 GB, free: 464 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.9069, allocations: 253 kB / 0.5318 GB, free: 212 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.9069, allocations: 0 / 0.5318 GB, free: 212 kB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002379/0.9093, allocations: 0.8304 MB / 0.5326 GB, free: 15.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.9093, allocations: 11.83 kB / 0.5327 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.9094, allocations: 8.562 kB / 0.5327 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.9104, allocations: 223.2 kB / 0.5329 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000935/0.9114, allocations: 143.8 kB / 0.533 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008005/0.9194, allocations: 6.19 MB / 0.5391 GB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/0.9204, allocations: 91.11 kB / 0.5391 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.9205, allocations: 31.98 kB / 0.5392 GB, free: 8.121 MB / 458.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.0002339/0.9207, allocations: 160.8 kB / 0.5393 GB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.9209, allocations: 47.42 kB / 0.5394 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.923, allocations: 0.665 MB / 0.54 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.923, allocations: 12 kB / 0.54 GB, free: 7.211 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.923, allocations: 4 kB / 0.54 GB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.923, allocations: 7.984 kB / 0.54 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.9269, allocations: 1.55 MB / 0.5416 GB, free: 5.578 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.927, allocations: 4 kB / 0.5416 GB, free: 5.574 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.9275, allocations: 63.91 kB / 0.5416 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009716/0.9285, allocations: 215.2 kB / 0.5418 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.9285, allocations: 16 kB / 0.5418 GB, free: 5.273 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007449/0.936, allocations: 6.211 MB / 0.5479 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9361, allocations: 0 / 0.5479 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.9386, allocations: 1.199 MB / 0.5491 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.9388, allocations: 124.5 kB / 0.5492 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.481e-05/0.9389, allocations: 12 kB / 0.5492 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.9395, allocations: 12 kB / 0.5492 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.9397, allocations: 60.47 kB / 0.5493 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.9397, allocations: 16 kB / 0.5493 GB, free: 13.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003598/0.9401, allocations: 211.2 kB / 0.5495 GB, free: 12.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9401, allocations: 0 / 0.5495 GB, free: 12.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001367/0.9415, allocations: 283.1 kB / 0.5498 GB, free: 12.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.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.003244/0.9447, allocations: 1.993 MB / 0.5517 GB, free: 10.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.9472, allocations: 1.018 MB / 0.5527 GB, free: 9.461 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9472, allocations: 0 / 0.5527 GB, free: 9.461 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.9486, allocations: 0.7294 MB / 0.5534 GB, free: 8.691 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.9492, allocations: 39.52 kB / 0.5535 GB, free: 8.656 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.9537, allocations: 1.097 MB / 0.5545 GB, free: 7.512 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.9544, allocations: 0.9229 MB / 0.5554 GB, free: 6.559 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005223/0.9549, allocations: 64.55 kB / 0.5555 GB, free: 6.496 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.9554, allocations: 235.3 kB / 0.5557 GB, free: 6.266 MB / 474.7 MB Notification: Performance of SimCode: time 1.362e-06/0.9554, allocations: 0 / 0.5557 GB, free: 6.266 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/0.9971, allocations: 10.91 MB / 0.5664 GB, free: 11.46 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.9974, allocations: 187.3 kB / 0.5665 GB, free: 11.24 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.846, allocations: 0 / 0.5665 GB, free: 11.24 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat