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.825/1.825, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.173e-05/4.177e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3213, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.4695, allocations: 83.69 MB / 347.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.4699, allocations: 87.94 kB / 347.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5537/1.024, allocations: 72.11 MB / 419.8 MB, free: 52.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.647e-06/1.024, allocations: 3.984 kB / 419.8 MB, free: 52.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0008481/1.025, allocations: 117.2 kB / 419.9 MB, free: 52.61 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.0142/1.039, allocations: 5.53 MB / 425.4 MB, free: 47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.039, allocations: 16.03 kB / 425.4 MB, free: 46.98 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001029/1.04, allocations: 286.9 kB / 425.7 MB, free: 46.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/1.042, allocations: 0.8567 MB / 426.6 MB, free: 45.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/1.053, allocations: 3.519 MB / 430.1 MB, free: 42.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/1.053, allocations: 152 kB / 430.2 MB, free: 42.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/1.054, allocations: 196 kB / 430.4 MB, free: 41.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005241/1.059, allocations: 1.923 MB / 432.3 MB, free: 39.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.752e-05/1.059, allocations: 11.89 kB / 432.4 MB, free: 39.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/1.059, allocations: 84 kB / 432.4 MB, free: 39.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/1.059, allocations: 51.98 kB / 432.5 MB, free: 39.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00498/1.064, allocations: 1.692 MB / 434.2 MB, free: 38.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02732/1.092, allocations: 9.988 MB / 444.2 MB, free: 27.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004846/1.097, allocations: 2.14 MB / 446.3 MB, free: 25.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003684/1.1, allocations: 1.272 MB / 447.6 MB, free: 24.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/1.101, allocations: 127.1 kB / 447.7 MB, free: 24.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00268/1.103, allocations: 1.033 MB / 448.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=230): time 5.54e-06/1.103, allocations: 3.938 kB / 448.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=355): time 0.1007/1.204, allocations: 18.97 MB / 467.7 MB, free: 3.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1856/1.39, allocations: 33.11 MB / 0.4891 GB, free: 2.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.442/1.832, allocations: 13.34 MB / 0.5021 GB, free: 84.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007965/1.833, allocations: 84.36 kB / 0.5022 GB, free: 84.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006542/1.839, allocations: 3.687 MB / 0.5058 GB, free: 83.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001782/1.841, allocations: 1.178 MB / 0.5069 GB, free: 83.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005524/1.842, allocations: 67.28 kB / 0.507 GB, free: 83.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002358/1.842, allocations: 430.9 kB / 0.5074 GB, free: 82.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004109/1.846, allocations: 1.336 MB / 0.5087 GB, free: 82.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004496/1.851, allocations: 1.637 MB / 0.5103 GB, free: 81.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004611/1.855, allocations: 1.56 MB / 0.5118 GB, free: 80.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-05/1.855, allocations: 7.281 kB / 0.5119 GB, free: 80.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01475/1.87, allocations: 4.882 MB / 0.5166 GB, free: 78.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.446e-05/1.87, allocations: 39.83 kB / 0.5167 GB, free: 78.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/1.87, allocations: 7.219 kB / 0.5167 GB, free: 78.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01958/1.89, allocations: 1.598 MB / 0.5182 GB, free: 78.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006436/1.896, allocations: 0.5877 MB / 0.5188 GB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/1.909, allocations: 12.87 MB / 0.5314 GB, free: 66.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007252/1.916, allocations: 205.9 kB / 0.5316 GB, free: 66.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009829/1.917, allocations: 141.8 kB / 0.5317 GB, free: 66.26 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.0009296/1.918, allocations: 273.3 kB / 0.532 GB, free: 66.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002519/1.921, allocations: 0.8433 MB / 0.5328 GB, free: 65.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.936, allocations: 5.033 MB / 0.5377 GB, free: 63.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005814/1.942, allocations: 2.152 MB / 0.5398 GB, free: 61.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.614e-05/1.942, allocations: 7.953 kB / 0.5398 GB, free: 61.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.319e-05/1.942, allocations: 22.23 kB / 0.5398 GB, free: 61.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03668/1.979, allocations: 13.84 MB / 0.5533 GB, free: 50.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/1.979, allocations: 4 kB / 0.5534 GB, free: 50.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005708/1.985, allocations: 0.5101 MB / 0.5538 GB, free: 49.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01958/2.004, allocations: 1.633 MB / 0.5554 GB, free: 48.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008605/2.005, allocations: 97.02 kB / 0.5555 GB, free: 48.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/2.017, allocations: 12.55 MB / 0.5678 GB, free: 35.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1367/2.154, allocations: 28.87 MB / 0.596 GB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/2.172, allocations: 7.465 MB / 0.6033 GB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004773/2.177, allocations: 1.592 MB / 0.6048 GB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002232/2.179, allocations: 80 kB / 0.6049 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006163/2.186, allocations: 169.6 kB / 0.6051 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/2.187, allocations: 244 kB / 0.6053 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003946/2.187, allocations: 118.9 kB / 0.6054 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.032/2.219, allocations: 11 MB / 0.6162 GB, free: 6.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.112e-06/2.219, allocations: 0 / 0.6162 GB, free: 6.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007607/2.227, allocations: 1.555 MB / 0.6177 GB, free: 5.316 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.2742/2.501, allocations: 8.667 MB / 0.6261 GB, free: 94.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01136/2.512, allocations: 4.336 MB / 0.6304 GB, free: 93.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/2.513, allocations: 4.406 kB / 0.6304 GB, free: 93.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007156/2.52, allocations: 2.78 MB / 0.6331 GB, free: 93.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005362/2.525, allocations: 492.2 kB / 0.6336 GB, free: 93.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04647/2.572, allocations: 18.95 MB / 0.6521 GB, free: 89.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006687/2.578, allocations: 4.123 MB / 0.6561 GB, free: 88.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004556/2.583, allocations: 0.8576 MB / 0.6569 GB, free: 88.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007734/2.591, allocations: 3.298 MB / 0.6601 GB, free: 86.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/2.591, allocations: 4 kB / 0.6602 GB, free: 86.06 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8305/3.421, allocations: 152.9 MB / 0.8095 GB, free: 72.51 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/3.422, allocations: 256.3 kB / 0.8097 GB, free: 72.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/13.8, allocations: 0 / 0.8097 GB, free: 72.17 MB / 378.7 MB