Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.235e-05, allocations: 5.562 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 50.4 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4705/0.5944, allocations: 95.53 MB / 438.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004011/0.5948, allocations: 86.39 kB / 438.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2416/0.8365, allocations: 51.33 MB / 489.6 MB, free: 15.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8365, allocations: 0 / 489.6 MB, free: 15.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002007/0.8368, allocations: 51.98 kB / 489.6 MB, free: 15.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.009389/0.8462, allocations: 2.307 MB / 491.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.8462, allocations: 8.031 kB / 492 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009904/0.8472, allocations: 287.4 kB / 492.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/0.8481, allocations: 293.1 kB / 492.5 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/0.8529, allocations: 1.337 MB / 493.9 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.8532, allocations: 152.1 kB / 494 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000656/0.8538, allocations: 207.9 kB / 494.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006143/0.86, allocations: 1.756 MB / 496 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.921e-05/0.8601, allocations: 0 / 496 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003504/0.8605, allocations: 88 kB / 496.1 MB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.8606, allocations: 52 kB / 496.1 MB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006031/0.8666, allocations: 1.742 MB / 497.8 MB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02405/0.8907, allocations: 7.606 MB / 0.4936 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006085/0.8968, allocations: 2.21 MB / 0.4958 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/0.901, allocations: 1.292 MB / 0.497 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.9012, allocations: 33.97 kB / 0.4971 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.479e-05/0.9013, allocations: 60.55 kB / 0.4971 GB, free: 11.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=240): time 5.32e-06/0.9013, allocations: 0 / 0.4971 GB, free: 11.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=372): time 0.09418/0.9955, allocations: 15.29 MB / 0.512 GB, free: 12.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4359/1.431, allocations: 30.9 MB / 0.5422 GB, free: 113.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004434/1.436, allocations: 1.623 MB / 0.5438 GB, free: 113.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007385/1.437, allocations: 81.7 kB / 0.5439 GB, free: 113.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009761/1.438, allocations: 0.9678 MB / 0.5448 GB, free: 112.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001709/1.439, allocations: 1.232 MB / 0.546 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004425/1.44, allocations: 66.08 kB / 0.5461 GB, free: 112 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/1.44, allocations: 436.1 kB / 0.5465 GB, free: 111.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004241/1.444, allocations: 1.255 MB / 0.5477 GB, free: 111.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/1.449, allocations: 1.515 MB / 0.5492 GB, free: 110.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004102/1.453, allocations: 1.44 MB / 0.5506 GB, free: 109.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/1.453, allocations: 0 / 0.5506 GB, free: 109.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.0173/1.471, allocations: 4.547 MB / 0.5551 GB, free: 108 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/1.471, allocations: 6.469 kB / 0.5551 GB, free: 108 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/1.471, allocations: 6.219 kB / 0.5551 GB, free: 108 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009643/1.48, allocations: 1.365 MB / 0.5564 GB, free: 107.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005868/1.486, allocations: 0.5755 MB / 0.557 GB, free: 107.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03758/1.524, allocations: 19.25 MB / 0.5758 GB, free: 93.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004962/1.529, allocations: 171.3 kB / 0.5759 GB, free: 93.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007854/1.53, allocations: 120.6 kB / 0.576 GB, free: 93.28 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 305 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008332/1.531, allocations: 269 kB / 0.5763 GB, free: 93.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008417/1.531, allocations: 262.7 kB / 0.5765 GB, free: 92.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/1.549, allocations: 4.598 MB / 0.581 GB, free: 91.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01538/1.564, allocations: 4.024 MB / 0.585 GB, free: 89.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/1.564, allocations: 4.656 kB / 0.585 GB, free: 89.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.868e-05/1.564, allocations: 16.97 kB / 0.585 GB, free: 89.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0297/1.594, allocations: 9.759 MB / 0.5945 GB, free: 85.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.181e-05/1.594, allocations: 6.594 kB / 0.5945 GB, free: 85.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005301/1.6, allocations: 0.4916 MB / 0.595 GB, free: 84.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009595/1.609, allocations: 1.387 MB / 0.5964 GB, free: 83.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006914/1.61, allocations: 85.62 kB / 0.5964 GB, free: 83.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03788/1.648, allocations: 17.69 MB / 0.6137 GB, free: 66.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.12/1.768, allocations: 27.3 MB / 0.6404 GB, free: 41.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03069/1.799, allocations: 6.688 MB / 0.6469 GB, free: 35.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003148/1.802, allocations: 0.6922 MB / 0.6476 GB, free: 34.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/1.803, allocations: 63.09 kB / 0.6476 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005805/1.809, allocations: 158.8 kB / 0.6478 GB, free: 34.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/1.81, allocations: 280.9 kB / 0.6481 GB, free: 34.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004147/1.811, allocations: 102 kB / 0.6482 GB, free: 33.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0027/1.813, allocations: 1.257 MB / 0.6494 GB, free: 32.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.813, allocations: 0 / 0.6494 GB, free: 32.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005475/1.819, allocations: 1.08 MB / 0.6504 GB, free: 31.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 249 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.02259/1.842, allocations: 8.558 MB / 0.6588 GB, free: 23.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01155/1.853, allocations: 4.419 MB / 0.6631 GB, free: 19.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.853, allocations: 4 kB / 0.6631 GB, free: 19.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008022/1.861, allocations: 3.018 MB / 0.6661 GB, free: 16.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/1.864, allocations: 306.8 kB / 0.6664 GB, free: 16.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/1.884, allocations: 6.407 MB / 0.6726 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.886, allocations: 1.841 MB / 0.6744 GB, free: 8.668 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003471/1.889, allocations: 328.3 kB / 0.6747 GB, free: 8.379 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002997/1.892, allocations: 1.096 MB / 0.6758 GB, free: 7.285 MB / 442.7 MB Notification: Performance of SimCode: time 1.804e-06/1.892, allocations: 0 / 0.6758 GB, free: 7.285 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5545/2.447, allocations: 87.44 MB / 0.7612 GB, free: 69.63 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/2.447, allocations: 257.4 kB / 0.7614 GB, free: 69.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/9.9, allocations: 0 / 0.7614 GB, free: 69.3 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.mat does not exist to compare? outputFormat=mat