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.727/1.727, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.25e-05, allocations: 3.938 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2622, allocations: 38.76 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.4075, allocations: 82.21 MB / 340.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.4079, allocations: 87.94 kB / 340.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4271/0.835, allocations: 43.66 MB / 384.3 MB, free: 81.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.835, allocations: 4 kB / 384.3 MB, free: 81.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001629/0.8352, allocations: 48.53 kB / 384.4 MB, free: 81.55 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.007574/0.8428, allocations: 2.311 MB / 386.7 MB, free: 80.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.8429, allocations: 8.031 kB / 386.7 MB, free: 80.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/0.8438, allocations: 285.8 kB / 387 MB, free: 80.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.8471, allocations: 1.274 MB / 388.2 MB, free: 79.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.672e-05/0.8472, allocations: 70.19 kB / 388.3 MB, free: 79.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003859/0.8476, allocations: 112 kB / 388.4 MB, free: 79.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004407/0.852, allocations: 1.603 MB / 390 MB, free: 79.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003948/0.856, allocations: 1.447 MB / 391.5 MB, free: 78.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-05/0.8561, allocations: 7.75 kB / 391.5 MB, free: 78.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.8564, allocations: 0 / 391.5 MB, free: 78.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/0.8564, allocations: 48.66 kB / 391.5 MB, free: 78.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.874, allocations: 7.125 MB / 398.6 MB, free: 74.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.8777, allocations: 2.051 MB / 400.7 MB, free: 72.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/0.8805, allocations: 1.178 MB / 401.9 MB, free: 71.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.8809, allocations: 124.7 kB / 402 MB, free: 71.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.8809, allocations: 60.56 kB / 402.1 MB, free: 71.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=226): time 4.799e-06/0.8809, allocations: 0 / 402.1 MB, free: 71.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=347): time 0.07708/0.958, allocations: 12.98 MB / 415 MB, free: 58.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.9581, allocations: 86.12 kB / 415.1 MB, free: 58.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.9613, allocations: 1.493 MB / 416.6 MB, free: 56.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006512/0.9619, allocations: 25.7 kB / 416.6 MB, free: 56.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/0.9627, allocations: 0.9573 MB / 417.6 MB, free: 55.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.964, allocations: 1.107 MB / 418.7 MB, free: 54.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.9644, allocations: 0 / 418.7 MB, free: 54.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.9646, allocations: 428.6 kB / 419.1 MB, free: 54.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/0.9677, allocations: 1.248 MB / 420.4 MB, free: 52.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/0.9712, allocations: 1.512 MB / 421.9 MB, free: 51.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004461/0.9757, allocations: 1.517 MB / 423.4 MB, free: 49.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.9757, allocations: 0 / 423.4 MB, free: 49.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01089/0.9866, allocations: 3.945 MB / 427.3 MB, free: 45.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.606e-05/0.9867, allocations: 41.28 kB / 427.4 MB, free: 45.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.9868, allocations: 4 kB / 427.4 MB, free: 45.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00464/0.9914, allocations: 0.9492 MB / 428.3 MB, free: 44.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/0.9977, allocations: 0.5928 MB / 428.9 MB, free: 44.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/1.008, allocations: 9.789 MB / 438.7 MB, free: 33.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004977/1.013, allocations: 103.9 kB / 438.8 MB, free: 33.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004596/1.014, allocations: 135.9 kB / 439 MB, free: 33.65 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real 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,3 37} Notification: Performance of prepare postOptimizeDAE: time 0.0008241/1.015, allocations: 140.5 kB / 439.1 MB, free: 33.51 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009955/1.025, allocations: 3.685 MB / 442.8 MB, free: 29.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008883/1.025, allocations: 248.9 kB / 443 MB, free: 29.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.037, allocations: 3.957 MB / 447 MB, free: 25.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009424/1.046, allocations: 3.441 MB / 450.4 MB, free: 22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.046, allocations: 11.94 kB / 450.4 MB, free: 21.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.672e-05/1.047, allocations: 19.89 kB / 450.4 MB, free: 21.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/1.069, allocations: 9.023 MB / 459.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/1.07, allocations: 4 kB / 459.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005554/1.075, allocations: 0.5114 MB / 460 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004953/1.08, allocations: 1.013 MB / 461 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006625/1.081, allocations: 51.84 kB / 461 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/1.092, allocations: 9.807 MB / 470.9 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1245/1.216, allocations: 27.72 MB / 498.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2566/1.473, allocations: 6.095 MB / 0.4928 GB, free: 99.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/1.475, allocations: 0.7209 MB / 0.4935 GB, free: 98.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007893/1.476, allocations: 10.06 kB / 0.4936 GB, free: 98.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004182/1.48, allocations: 101.1 kB / 0.4937 GB, free: 98.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007829/1.481, allocations: 231.5 kB / 0.4939 GB, free: 98.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004247/1.482, allocations: 119.7 kB / 0.494 GB, free: 98.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002745/1.484, allocations: 1.132 MB / 0.4951 GB, free: 98.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.484, allocations: 4.312 kB / 0.4951 GB, free: 98.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004635/1.489, allocations: 0.7335 MB / 0.4958 GB, free: 98.87 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.01628/1.505, allocations: 7.772 MB / 0.5034 GB, free: 96.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009658/1.515, allocations: 3.904 MB / 0.5072 GB, free: 95.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.515, allocations: 0 / 0.5072 GB, free: 95.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006335/1.521, allocations: 2.449 MB / 0.5096 GB, free: 94.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/1.525, allocations: 234.3 kB / 0.5098 GB, free: 94.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/1.544, allocations: 6 MB / 0.5157 GB, free: 91.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/1.545, allocations: 1.751 MB / 0.5174 GB, free: 90.81 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003666/1.549, allocations: 342.8 kB / 0.5177 GB, free: 90.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/1.552, allocations: 1.08 MB / 0.5188 GB, free: 89.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/1.552, allocations: 0 / 0.5188 GB, free: 89.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1732/1.725, allocations: 72.14 MB / 0.5892 GB, free: 26.81 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/1.725, allocations: 203.6 kB / 0.5894 GB, free: 26.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.45/8.175, allocations: 0 / 0.5894 GB, free: 26.52 MB / 346.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