Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.791e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09007, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5427, allocations: 87.15 MB / 387.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.5431, allocations: 81.84 kB / 387.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2272/0.7703, allocations: 49.37 MB / 436.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.7704, allocations: 0 / 436.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002058/0.7706, allocations: 55.67 kB / 436.6 MB, free: 12.06 MB / 330.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.009516/0.7801, allocations: 2.322 MB / 438.9 MB, free: 9.836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.7802, allocations: 8.031 kB / 438.9 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009248/0.7812, allocations: 291.2 kB / 439.2 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.782, allocations: 292.4 kB / 439.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.7866, allocations: 1.321 MB / 440.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.7868, allocations: 162.8 kB / 441 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006667/0.7875, allocations: 210.9 kB / 441.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005849/0.7934, allocations: 1.787 MB / 443 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.67e-05/0.7935, allocations: 0 / 443 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003341/0.7939, allocations: 88 kB / 443.1 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/0.7939, allocations: 48 kB / 443.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006063/0.8, allocations: 1.774 MB / 444.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0249/0.8249, allocations: 7.598 MB / 452.5 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006075/0.8311, allocations: 2.238 MB / 454.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00395/0.8351, allocations: 1.288 MB / 456 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.8354, allocations: 41.81 kB / 456.1 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/0.8354, allocations: 60.5 kB / 456.1 MB, free: 9.332 MB / 346.7 MB Notification: Performance of pre-optimization done (n=240): time 5.11e-06/0.8355, allocations: 0 / 456.1 MB, free: 9.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=372): time 0.09365/0.9291, allocations: 15.3 MB / 471.4 MB, free: 9.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1267/1.056, allocations: 30.85 MB / 0.4905 GB, free: 10.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/1.06, allocations: 1.608 MB / 0.4921 GB, free: 8.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008225/1.061, allocations: 89.64 kB / 0.4922 GB, free: 8.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.063, allocations: 0.9581 MB / 0.4931 GB, free: 7.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002151/1.065, allocations: 1.23 MB / 0.4943 GB, free: 6.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/1.065, allocations: 71.94 kB / 0.4944 GB, free: 6.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003326/1.066, allocations: 433.1 kB / 0.4948 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004422/1.07, allocations: 1.253 MB / 0.496 GB, free: 4.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005223/1.075, allocations: 1.54 MB / 0.4975 GB, free: 3.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005109/1.081, allocations: 1.461 MB / 0.4989 GB, free: 1.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/1.081, allocations: 4 kB / 0.4989 GB, free: 1.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01982/1.1, allocations: 4.597 MB / 0.5034 GB, free: 13.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/1.101, allocations: 33.7 kB / 0.5035 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.101, allocations: 4 kB / 0.5035 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/1.111, allocations: 1.34 MB / 0.5048 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006104/1.117, allocations: 0.5812 MB / 0.5053 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3462/1.463, allocations: 19.22 MB / 0.5241 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004725/1.468, allocations: 162.6 kB / 0.5243 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004661/1.468, allocations: 119.5 kB / 0.5244 GB, free: 108.1 MB / 410.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 (315): * Single equations (assignments): 305 * 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 51,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008414/1.469, allocations: 271.6 kB / 0.5246 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007403/1.47, allocations: 262 kB / 0.5249 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01768/1.488, allocations: 4.607 MB / 0.5294 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01653/1.504, allocations: 4.028 MB / 0.5333 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/1.504, allocations: 7.734 kB / 0.5333 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/1.504, allocations: 17.86 kB / 0.5333 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02895/1.533, allocations: 9.759 MB / 0.5429 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.517e-05/1.533, allocations: 6.562 kB / 0.5429 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00518/1.539, allocations: 0.4921 MB / 0.5433 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009551/1.548, allocations: 1.389 MB / 0.5447 GB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007023/1.549, allocations: 79.42 kB / 0.5448 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0328/1.582, allocations: 17.69 MB / 0.5621 GB, free: 92.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09322/1.675, allocations: 27.25 MB / 0.5887 GB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/1.695, allocations: 6.675 MB / 0.5952 GB, free: 69.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001981/1.697, allocations: 0.6983 MB / 0.5959 GB, free: 68.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005998/1.698, allocations: 71.8 kB / 0.5959 GB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003621/1.701, allocations: 152.9 kB / 0.5961 GB, free: 68.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009205/1.702, allocations: 280.7 kB / 0.5964 GB, free: 68.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003509/1.703, allocations: 103.1 kB / 0.5965 GB, free: 68.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002597/1.705, allocations: 1.248 MB / 0.5977 GB, free: 67.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.804e-06/1.705, allocations: 0 / 0.5977 GB, free: 67.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0055/1.711, allocations: 1.081 MB / 0.5987 GB, free: 66.2 MB / 410.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.02177/1.733, allocations: 8.433 MB / 0.607 GB, free: 58.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01049/1.743, allocations: 4.598 MB / 0.6115 GB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.743, allocations: 0 / 0.6115 GB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007024/1.75, allocations: 3.119 MB / 0.6145 GB, free: 50.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.753, allocations: 296.7 kB / 0.6148 GB, free: 50.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/1.77, allocations: 6.489 MB / 0.6211 GB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/1.772, allocations: 1.84 MB / 0.6229 GB, free: 42.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003082/1.775, allocations: 324.8 kB / 0.6232 GB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/1.777, allocations: 1.084 MB / 0.6243 GB, free: 41.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/1.777, allocations: 4 kB / 0.6243 GB, free: 41.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5748/2.352, allocations: 87.68 MB / 0.7099 GB, free: 97.14 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/2.352, allocations: 254.2 kB / 0.7102 GB, free: 96.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/9.89, allocations: 0 / 0.7102 GB, free: 96.81 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat does not exist to compare? outputFormat=mat