Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.715/1.715, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.644e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2915, allocations: 38.77 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.4666, allocations: 82.88 MB / 346.7 MB, free: 6.805 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.467, allocations: 83.95 kB / 346.8 MB, free: 6.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4884/0.9555, allocations: 44.12 MB / 390.9 MB, free: 81.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.9555, allocations: 3.219 kB / 390.9 MB, free: 81.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001642/0.9557, allocations: 50.31 kB / 391 MB, free: 81.38 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.008026/0.9637, allocations: 2.301 MB / 393.3 MB, free: 79.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.9638, allocations: 16.03 kB / 393.3 MB, free: 79.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007758/0.9646, allocations: 279 kB / 393.6 MB, free: 79.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007439/0.9654, allocations: 292.8 kB / 393.9 MB, free: 78.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003284/0.9687, allocations: 1.277 MB / 395.1 MB, free: 77.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.9688, allocations: 148 kB / 395.3 MB, free: 77.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/0.9692, allocations: 203.9 kB / 395.5 MB, free: 77.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004668/0.9739, allocations: 1.724 MB / 397.2 MB, free: 75.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-05/0.974, allocations: 4 kB / 397.2 MB, free: 75.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.9743, allocations: 80 kB / 397.3 MB, free: 75.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.9744, allocations: 48 kB / 397.3 MB, free: 75.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004873/0.9793, allocations: 1.715 MB / 399.1 MB, free: 73.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01973/0.999, allocations: 7.46 MB / 406.5 MB, free: 65.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/1.004, allocations: 2.138 MB / 408.7 MB, free: 63.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/1.007, allocations: 1.247 MB / 409.9 MB, free: 62.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/1.007, allocations: 123.8 kB / 410 MB, free: 62.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/1.007, allocations: 56.52 kB / 410.1 MB, free: 62.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=226): time 4.659e-06/1.007, allocations: 0 / 410.1 MB, free: 62.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=347): time 0.09457/1.102, allocations: 15.06 MB / 425.1 MB, free: 47.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1714/1.273, allocations: 33.22 MB / 458.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003403/1.277, allocations: 1.612 MB / 460 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006578/1.277, allocations: 77.7 kB / 460 MB, free: 11.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007634/1.278, allocations: 0.9602 MB / 461 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.279, allocations: 1.142 MB / 462.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/1.28, allocations: 68.03 kB / 462.2 MB, free: 9.445 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/1.28, allocations: 424.7 kB / 462.6 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003522/1.283, allocations: 1.311 MB / 463.9 MB, free: 7.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/1.287, allocations: 1.596 MB / 465.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003845/1.291, allocations: 1.502 MB / 467 MB, free: 4.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.291, allocations: 0 / 467 MB, free: 4.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01086/1.302, allocations: 4.172 MB / 471.2 MB, free: 332 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/1.302, allocations: 31.11 kB / 471.2 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/1.302, allocations: 4 kB / 471.2 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0202/1.322, allocations: 1.523 MB / 472.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006734/1.329, allocations: 0.6044 MB / 473.4 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/1.342, allocations: 9.868 MB / 483.2 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005227/1.348, allocations: 155.9 kB / 483.4 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006093/1.348, allocations: 139.9 kB / 483.5 MB, free: 3.262 MB / 330.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 (301): * Single equations (assignments): 291 * Array equations: 2 * Algorithm blocks: 1 * 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 45,2 38} Notification: Performance of prepare postOptimizeDAE: time 0.0009018/1.349, allocations: 267.1 kB / 483.8 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/1.35, allocations: 256.8 kB / 484 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.363, allocations: 4.177 MB / 488.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01206/1.375, allocations: 3.592 MB / 491.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.375, allocations: 4 kB / 491.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/1.375, allocations: 15.94 kB / 491.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02866/1.404, allocations: 9.501 MB / 0.4896 GB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/1.404, allocations: 4 kB / 0.4896 GB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005978/1.41, allocations: 0.515 MB / 0.4901 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2502/1.66, allocations: 1.562 MB / 0.4916 GB, free: 99.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007492/1.661, allocations: 96.98 kB / 0.4917 GB, free: 99.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/1.671, allocations: 9.879 MB / 0.5014 GB, free: 91.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1516/1.823, allocations: 28.81 MB / 0.5295 GB, free: 79.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.841, allocations: 6.303 MB / 0.5356 GB, free: 73.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/1.843, allocations: 0.7266 MB / 0.5363 GB, free: 73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007152/1.844, allocations: 64 kB / 0.5364 GB, free: 72.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004385/1.848, allocations: 153.7 kB / 0.5366 GB, free: 72.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006847/1.849, allocations: 239.2 kB / 0.5368 GB, free: 72.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003728/1.849, allocations: 120 kB / 0.5369 GB, free: 72.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002514/1.852, allocations: 1.249 MB / 0.5381 GB, free: 71.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.852, allocations: 0.5625 kB / 0.5381 GB, free: 71.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004236/1.856, allocations: 0.8659 MB / 0.539 GB, free: 70.59 MB / 346.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 (242): * Single equations (assignments): 235 * 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 38,4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.01686/1.873, allocations: 8.039 MB / 0.5468 GB, free: 62.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0113/1.884, allocations: 4.097 MB / 0.5508 GB, free: 58.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.884, allocations: 0 / 0.5508 GB, free: 58.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006427/1.891, allocations: 2.564 MB / 0.5533 GB, free: 56.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/1.893, allocations: 317.1 kB / 0.5536 GB, free: 56.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/1.91, allocations: 6.375 MB / 0.5598 GB, free: 50.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/1.912, allocations: 1.749 MB / 0.5616 GB, free: 48.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003342/1.915, allocations: 350 kB / 0.5619 GB, free: 48.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002529/1.918, allocations: 1.086 MB / 0.563 GB, free: 47.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/1.918, allocations: 0 / 0.563 GB, free: 47.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4121/2.33, allocations: 76.83 MB / 0.638 GB, free: 111.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/2.33, allocations: 269 kB / 0.6382 GB, free: 110.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.618/8.948, allocations: 0 / 0.6382 GB, free: 110.9 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat does not exist to compare? outputFormat=mat