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 2.09/2.09, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.778e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09786, allocations: 44.49 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.5817, allocations: 87.15 MB / 387.1 MB, free: 20.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.5821, allocations: 83 kB / 387.2 MB, free: 20.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2085/0.7906, allocations: 49.38 MB / 436.6 MB, free: 1.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7907, allocations: 4 kB / 436.6 MB, free: 1.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002267/0.7909, allocations: 44 kB / 436.6 MB, free: 1.793 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.009847/0.8008, allocations: 2.326 MB / 439 MB, free: 15.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.8008, allocations: 12.03 kB / 439 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001238/0.8021, allocations: 288.5 kB / 439.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.8036, allocations: 296.4 kB / 439.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005033/0.8087, allocations: 1.323 MB / 440.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.809, allocations: 166.8 kB / 441 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00097/0.81, allocations: 203 kB / 441.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00778/0.8178, allocations: 1.759 MB / 443 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.818, allocations: 7.938 kB / 443 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007021/0.8187, allocations: 83.69 kB / 443.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/0.8188, allocations: 51.98 kB / 443.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0075/0.8263, allocations: 1.747 MB / 444.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0282/0.8546, allocations: 7.594 MB / 452.5 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006836/0.8615, allocations: 2.222 MB / 454.7 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004706/0.8663, allocations: 1.284 MB / 456 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/0.8667, allocations: 41.95 kB / 456 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.185e-05/0.8668, allocations: 68.5 kB / 456.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=240): time 6.051e-06/0.8668, allocations: 0 / 456.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=372): time 0.09782/0.9647, allocations: 15.29 MB / 471.4 MB, free: 324 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1333/1.098, allocations: 30.9 MB / 0.4905 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004964/1.103, allocations: 1.612 MB / 0.4921 GB, free: 15.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008343/1.104, allocations: 93.77 kB / 0.4922 GB, free: 15.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/1.105, allocations: 0.9503 MB / 0.4931 GB, free: 14.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002246/1.108, allocations: 1.232 MB / 0.4943 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005969/1.108, allocations: 67.94 kB / 0.4944 GB, free: 12.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000389/1.109, allocations: 433.1 kB / 0.4948 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004977/1.114, allocations: 1.257 MB / 0.496 GB, free: 11.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005536/1.119, allocations: 1.522 MB / 0.4975 GB, free: 9.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005637/1.125, allocations: 1.465 MB / 0.4989 GB, free: 8.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/1.125, allocations: 3.938 kB / 0.4989 GB, free: 8.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.02252/1.148, allocations: 4.582 MB / 0.5034 GB, free: 3.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/1.148, allocations: 33.7 kB / 0.5034 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/1.148, allocations: 4 kB / 0.5034 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/1.158, allocations: 1.349 MB / 0.5047 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006305/1.165, allocations: 0.5773 MB / 0.5053 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3181/1.483, allocations: 19.22 MB / 0.5241 GB, free: 89.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005316/1.488, allocations: 167.7 kB / 0.5242 GB, free: 89.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/1.489, allocations: 119.4 kB / 0.5243 GB, free: 89.8 MB / 394.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.001465/1.491, allocations: 272.3 kB / 0.5246 GB, free: 89.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.492, allocations: 264.9 kB / 0.5249 GB, free: 89.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02075/1.513, allocations: 4.612 MB / 0.5294 GB, free: 89.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01744/1.53, allocations: 4.013 MB / 0.5333 GB, free: 89.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.53, allocations: 10.12 kB / 0.5333 GB, free: 89.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/1.531, allocations: 22.92 kB / 0.5333 GB, free: 89.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03324/1.564, allocations: 9.75 MB / 0.5428 GB, free: 84.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.672e-05/1.564, allocations: 3.312 kB / 0.5428 GB, free: 84.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005463/1.569, allocations: 0.4951 MB / 0.5433 GB, free: 84.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/1.58, allocations: 1.382 MB / 0.5447 GB, free: 84.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008575/1.581, allocations: 82.19 kB / 0.5447 GB, free: 84.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03621/1.617, allocations: 17.7 MB / 0.562 GB, free: 71.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09925/1.716, allocations: 27.3 MB / 0.5887 GB, free: 51.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02315/1.739, allocations: 6.683 MB / 0.5952 GB, free: 45.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/1.742, allocations: 0.69 MB / 0.5959 GB, free: 44.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.743, allocations: 71.19 kB / 0.596 GB, free: 44.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004644/1.748, allocations: 159.2 kB / 0.5961 GB, free: 44.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001391/1.749, allocations: 277.4 kB / 0.5964 GB, free: 44.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007658/1.75, allocations: 103.1 kB / 0.5965 GB, free: 44.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003032/1.753, allocations: 1.254 MB / 0.5977 GB, free: 43.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.753, allocations: 0 / 0.5977 GB, free: 43.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006441/1.759, allocations: 1.074 MB / 0.5987 GB, free: 42.1 MB / 394.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.02641/1.786, allocations: 8.444 MB / 0.607 GB, free: 34.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01347/1.799, allocations: 4.477 MB / 0.6114 GB, free: 29.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.799, allocations: 0.875 kB / 0.6114 GB, free: 29.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008371/1.808, allocations: 3.025 MB / 0.6143 GB, free: 26.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/1.811, allocations: 300.4 kB / 0.6146 GB, free: 26.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.834, allocations: 6.382 MB / 0.6208 GB, free: 20.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/1.836, allocations: 1.839 MB / 0.6226 GB, free: 19.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003998/1.84, allocations: 331.1 kB / 0.6229 GB, free: 18.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003188/1.843, allocations: 1.081 MB / 0.624 GB, free: 17.92 MB / 394.7 MB Notification: Performance of SimCode: time 2.785e-06/1.843, allocations: 4 kB / 0.624 GB, free: 17.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5785/2.422, allocations: 87.27 MB / 0.7092 GB, free: 95.36 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/2.422, allocations: 261 kB / 0.7095 GB, free: 95.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/10.08, allocations: 0 / 0.7095 GB, free: 95.02 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