Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.731/1.731, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.14e-05, allocations: 4 kB / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2726, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.4228, allocations: 83.68 MB / 347.5 MB, free: 5.887 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.4231, allocations: 83.95 kB / 347.6 MB, free: 5.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6625/1.086, allocations: 72.11 MB / 419.7 MB, free: 52.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.086, allocations: 0 / 419.7 MB, free: 52.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000859/1.087, allocations: 116 kB / 419.8 MB, free: 52.44 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: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01364/1.1, allocations: 5.536 MB / 425.4 MB, free: 46.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.1, allocations: 13.81 kB / 425.4 MB, free: 46.82 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008715/1.101, allocations: 283 kB / 425.7 MB, free: 46.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/1.103, allocations: 0.8567 MB / 426.5 MB, free: 45.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/1.114, allocations: 3.518 MB / 430 MB, free: 42.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/1.114, allocations: 152 kB / 430.2 MB, free: 41.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005604/1.115, allocations: 196 kB / 430.4 MB, free: 41.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005356/1.12, allocations: 1.95 MB / 432.3 MB, free: 39.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.252e-05/1.12, allocations: 3.906 kB / 432.3 MB, free: 39.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/1.12, allocations: 83.98 kB / 432.4 MB, free: 39.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/1.121, allocations: 48 kB / 432.5 MB, free: 39.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004979/1.126, allocations: 1.716 MB / 434.2 MB, free: 37.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02645/1.152, allocations: 9.992 MB / 444.2 MB, free: 27.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004883/1.157, allocations: 2.18 MB / 446.4 MB, free: 25.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/1.161, allocations: 1.267 MB / 447.6 MB, free: 24.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003332/1.161, allocations: 123.2 kB / 447.7 MB, free: 23.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002552/1.164, allocations: 1.045 MB / 448.8 MB, free: 22.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=230): time 5.751e-06/1.164, allocations: 0 / 448.8 MB, free: 22.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=355): time 0.09833/1.262, allocations: 18.97 MB / 467.8 MB, free: 3.664 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2114/1.473, allocations: 33.07 MB / 0.4891 GB, free: 1.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4221/1.895, allocations: 13.34 MB / 0.5021 GB, free: 82.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000807/1.896, allocations: 84.45 kB / 0.5022 GB, free: 82.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006355/1.903, allocations: 3.686 MB / 0.5058 GB, free: 82.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001683/1.904, allocations: 1.178 MB / 0.507 GB, free: 81.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005128/1.905, allocations: 67.34 kB / 0.507 GB, free: 81.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/1.905, allocations: 430.6 kB / 0.5074 GB, free: 81.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004151/1.909, allocations: 1.333 MB / 0.5087 GB, free: 80.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004799/1.914, allocations: 1.667 MB / 0.5104 GB, free: 79.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004848/1.919, allocations: 1.551 MB / 0.5119 GB, free: 79.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/1.919, allocations: 3.438 kB / 0.5119 GB, free: 79.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01514/1.934, allocations: 4.909 MB / 0.5167 GB, free: 77.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/1.934, allocations: 33.02 kB / 0.5167 GB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/1.934, allocations: 3.562 kB / 0.5167 GB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01951/1.954, allocations: 1.598 MB / 0.5183 GB, free: 76.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006482/1.961, allocations: 0.586 MB / 0.5188 GB, free: 76.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/1.973, allocations: 12.9 MB / 0.5314 GB, free: 65.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006716/1.98, allocations: 194.2 kB / 0.5316 GB, free: 64.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000951/1.981, allocations: 143 kB / 0.5318 GB, free: 64.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 290 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {2 38,3 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008838/1.982, allocations: 282.6 kB / 0.532 GB, free: 64.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002324/1.984, allocations: 0.8417 MB / 0.5328 GB, free: 64.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.999, allocations: 5.037 MB / 0.5378 GB, free: 61.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00576/2.005, allocations: 2.145 MB / 0.5399 GB, free: 59.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-05/2.005, allocations: 4 kB / 0.5399 GB, free: 59.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.552e-05/2.005, allocations: 26.5 kB / 0.5399 GB, free: 59.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03647/2.041, allocations: 13.86 MB / 0.5534 GB, free: 48.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/2.041, allocations: 5.531 kB / 0.5534 GB, free: 48.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005571/2.047, allocations: 0.5031 MB / 0.5539 GB, free: 47.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0194/2.066, allocations: 1.623 MB / 0.5555 GB, free: 46.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007891/2.067, allocations: 103.8 kB / 0.5556 GB, free: 46.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/2.08, allocations: 12.56 MB / 0.5679 GB, free: 33.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1348/2.214, allocations: 28.83 MB / 0.596 GB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/2.233, allocations: 7.46 MB / 0.6033 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006904/2.24, allocations: 1.689 MB / 0.605 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002314/2.243, allocations: 82.38 kB / 0.605 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00614/2.249, allocations: 166.2 kB / 0.6052 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.25, allocations: 239.9 kB / 0.6054 GB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004774/2.251, allocations: 119.9 kB / 0.6055 GB, free: 14.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.02818/2.279, allocations: 10.75 MB / 0.616 GB, free: 4.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.104e-06/2.279, allocations: 0 / 0.616 GB, free: 4.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.009012/2.288, allocations: 1.557 MB / 0.6176 GB, free: 3.059 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 6 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent) * Number of discrete states: 1 (comparisonWithFEA.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {4 47,3 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.03606/2.324, allocations: 8.678 MB / 0.626 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01272/2.337, allocations: 4.426 MB / 0.6304 GB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/2.337, allocations: 0.8125 kB / 0.6304 GB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008055/2.345, allocations: 2.834 MB / 0.6331 GB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005524/2.35, allocations: 487.3 kB / 0.6336 GB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2867/2.637, allocations: 19.06 MB / 0.6522 GB, free: 108.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007962/2.645, allocations: 4.119 MB / 0.6562 GB, free: 107.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004721/2.65, allocations: 0.8511 MB / 0.6571 GB, free: 107.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008036/2.658, allocations: 3.292 MB / 0.6603 GB, free: 107.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.833e-06/2.658, allocations: 0 / 0.6603 GB, free: 107.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8399/3.498, allocations: 153.3 MB / 0.8099 GB, free: 77.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/3.498, allocations: 253.7 kB / 0.8102 GB, free: 76.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/13.55, allocations: 0 / 0.8102 GB, free: 76.71 MB / 378.7 MB