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.722/1.722, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.434e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2941, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.446, allocations: 82.89 MB / 346.8 MB, free: 6.703 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.4464, allocations: 79.95 kB / 346.8 MB, free: 6.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4104/0.8568, allocations: 44.13 MB / 391 MB, free: 81.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8569, allocations: 0 / 391 MB, free: 81.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001967/0.8571, allocations: 49 kB / 391 MB, free: 81.33 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.01089/0.868, allocations: 2.313 MB / 393.3 MB, free: 79.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.8681, allocations: 8.031 kB / 393.3 MB, free: 79.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00119/0.8693, allocations: 284.6 kB / 393.6 MB, free: 78.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.8705, allocations: 288.8 kB / 393.9 MB, free: 78.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005352/0.8758, allocations: 1.269 MB / 395.2 MB, free: 77.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.8761, allocations: 160 kB / 395.3 MB, free: 77.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007407/0.8769, allocations: 195.9 kB / 395.5 MB, free: 76.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007442/0.8844, allocations: 1.708 MB / 397.2 MB, free: 75.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.8845, allocations: 0 / 397.2 MB, free: 75.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004302/0.885, allocations: 80 kB / 397.3 MB, free: 75.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.8851, allocations: 52 kB / 397.4 MB, free: 75.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008714/0.8938, allocations: 1.683 MB / 399 MB, free: 73.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02902/0.9229, allocations: 7.46 MB / 406.5 MB, free: 65.74 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006881/0.9298, allocations: 2.11 MB / 408.6 MB, free: 63.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005044/0.9349, allocations: 1.243 MB / 409.9 MB, free: 62.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004374/0.9354, allocations: 125.3 kB / 410 MB, free: 62.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.9355, allocations: 72.45 kB / 410 MB, free: 62.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=226): time 9.498e-06/0.9355, allocations: 3.984 kB / 410 MB, free: 62.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=347): time 0.1005/1.036, allocations: 15.05 MB / 425.1 MB, free: 47.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1709/1.207, allocations: 33.28 MB / 458.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/1.21, allocations: 1.608 MB / 460 MB, free: 11.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007068/1.211, allocations: 81.7 kB / 460.1 MB, free: 11.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/1.212, allocations: 0.9514 MB / 461 MB, free: 10.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.213, allocations: 1.143 MB / 462.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/1.214, allocations: 71.75 kB / 462.2 MB, free: 9.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/1.214, allocations: 424.7 kB / 462.6 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003569/1.217, allocations: 1.311 MB / 463.9 MB, free: 7.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/1.221, allocations: 1.57 MB / 465.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004494/1.226, allocations: 1.509 MB / 467 MB, free: 4.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/1.226, allocations: 0 / 467 MB, free: 4.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.0121/1.238, allocations: 4.153 MB / 471.2 MB, free: 232 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/1.238, allocations: 33.7 kB / 471.2 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/1.238, allocations: 0 / 471.2 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01974/1.258, allocations: 1.53 MB / 472.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006688/1.265, allocations: 0.5967 MB / 473.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/1.278, allocations: 9.86 MB / 483.2 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005443/1.284, allocations: 167.9 kB / 483.4 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008901/1.285, allocations: 127.9 kB / 483.5 MB, free: 3.176 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.001021/1.286, allocations: 265.8 kB / 483.8 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000954/1.287, allocations: 252.8 kB / 484 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.302, allocations: 4.188 MB / 488.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01212/1.314, allocations: 3.578 MB / 491.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/1.314, allocations: 8 kB / 491.8 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.3e-05/1.314, allocations: 15.94 kB / 491.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02897/1.343, allocations: 9.493 MB / 0.4895 GB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.889e-05/1.343, allocations: 7.984 kB / 0.4895 GB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006064/1.349, allocations: 0.5114 MB / 0.49 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2546/1.604, allocations: 1.562 MB / 0.4916 GB, free: 98.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007367/1.604, allocations: 98.53 kB / 0.4917 GB, free: 98.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/1.615, allocations: 9.866 MB / 0.5013 GB, free: 91.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1366/1.752, allocations: 28.86 MB / 0.5295 GB, free: 79.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.768, allocations: 6.308 MB / 0.5356 GB, free: 73.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.77, allocations: 0.7229 MB / 0.5363 GB, free: 72.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006296/1.771, allocations: 62.86 kB / 0.5364 GB, free: 72.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00418/1.775, allocations: 158 kB / 0.5365 GB, free: 72.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007406/1.775, allocations: 233.4 kB / 0.5368 GB, free: 72.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003788/1.776, allocations: 118.4 kB / 0.5369 GB, free: 72.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002496/1.778, allocations: 1.247 MB / 0.5381 GB, free: 71.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.778, allocations: 4 kB / 0.5381 GB, free: 71.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004422/1.783, allocations: 0.8665 MB / 0.539 GB, free: 70.39 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.01694/1.8, allocations: 8.043 MB / 0.5468 GB, free: 62.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01066/1.811, allocations: 4.022 MB / 0.5507 GB, free: 58.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.811, allocations: 3.812 kB / 0.5507 GB, free: 58.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006799/1.817, allocations: 2.508 MB / 0.5532 GB, free: 56.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/1.82, allocations: 311.2 kB / 0.5535 GB, free: 56.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02007/1.841, allocations: 6.278 MB / 0.5596 GB, free: 50.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/1.842, allocations: 1.749 MB / 0.5613 GB, free: 48.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003422/1.846, allocations: 350.3 kB / 0.5617 GB, free: 48.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002899/1.848, allocations: 1.089 MB / 0.5627 GB, free: 47.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.322e-06/1.849, allocations: 0 / 0.5627 GB, free: 47.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4539/2.302, allocations: 76.49 MB / 0.6374 GB, free: 111 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/2.303, allocations: 260.3 kB / 0.6377 GB, free: 110.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.435/8.738, allocations: 3.281 kB / 0.6377 GB, free: 110.6 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