Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.577e-05/4.608e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09763, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5112, allocations: 92.39 MB / 409.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.5116, allocations: 82.39 kB / 409.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3767/0.8883, allocations: 78.09 MB / 487.6 MB, free: 3.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.729e-06/0.8884, allocations: 4 kB / 487.6 MB, free: 3.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001111/0.8895, allocations: 108 kB / 487.7 MB, free: 3.816 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.0174/0.9069, allocations: 5.54 MB / 493.2 MB, free: 14.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.907, allocations: 12.03 kB / 493.2 MB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001255/0.9082, allocations: 287.4 kB / 493.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.9107, allocations: 0.8641 MB / 494.4 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.924, allocations: 3.593 MB / 498 MB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.9243, allocations: 156.1 kB / 498.1 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000786/0.9251, allocations: 204 kB / 498.3 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006703/0.9318, allocations: 1.987 MB / 0.4886 GB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.619e-05/0.9319, allocations: 3.906 kB / 0.4886 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/0.9323, allocations: 88 kB / 0.4887 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/0.9324, allocations: 51.94 kB / 0.4887 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006128/0.9385, allocations: 1.77 MB / 0.4905 GB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/0.9709, allocations: 10.13 MB / 0.5004 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006076/0.9771, allocations: 2.266 MB / 0.5026 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004269/0.9814, allocations: 1.314 MB / 0.5038 GB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.9817, allocations: 38.28 kB / 0.5039 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003191/0.9849, allocations: 1.097 MB / 0.505 GB, free: 5.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 6.452e-06/0.9849, allocations: 0 / 0.505 GB, free: 5.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=382): time 0.365/1.35, allocations: 19.11 MB / 0.5236 GB, free: 104.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1129/1.463, allocations: 30.81 MB / 0.5537 GB, free: 92.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1616/1.625, allocations: 13.35 MB / 0.5667 GB, free: 88.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000779/1.625, allocations: 88.08 kB / 0.5668 GB, free: 88.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005692/1.631, allocations: 3.717 MB / 0.5705 GB, free: 85.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001826/1.633, allocations: 1.266 MB / 0.5717 GB, free: 84.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/1.633, allocations: 66.78 kB / 0.5718 GB, free: 84.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/1.634, allocations: 446.5 kB / 0.5722 GB, free: 83.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003592/1.637, allocations: 1.272 MB / 0.5734 GB, free: 83.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003958/1.641, allocations: 1.596 MB / 0.575 GB, free: 82.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/1.645, allocations: 1.473 MB / 0.5764 GB, free: 81.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.645, allocations: 3.312 kB / 0.5764 GB, free: 81.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=445) (initialization): time 0.01884/1.664, allocations: 5.291 MB / 0.5816 GB, free: 78.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/1.664, allocations: 8 kB / 0.5816 GB, free: 78.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/1.664, allocations: 4 kB / 0.5816 GB, free: 78.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01119/1.676, allocations: 1.416 MB / 0.583 GB, free: 77.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007879/1.684, allocations: 0.5727 MB / 0.5835 GB, free: 76.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05431/1.738, allocations: 22.26 MB / 0.6053 GB, free: 54.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008682/1.747, allocations: 203.2 kB / 0.6055 GB, free: 54.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/1.748, allocations: 122 kB / 0.6056 GB, free: 54.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,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 (318): * Single equations (assignments): 307 * Array equations: 2 * Algorithm blocks: 0 * 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 43,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.001185/1.749, allocations: 286.1 kB / 0.6059 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003526/1.753, allocations: 0.8563 MB / 0.6067 GB, free: 53.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02028/1.773, allocations: 5.474 MB / 0.612 GB, free: 48.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008373/1.781, allocations: 2.381 MB / 0.6144 GB, free: 46.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.169e-05/1.781, allocations: 8 kB / 0.6144 GB, free: 46.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.502e-05/1.781, allocations: 21.62 kB / 0.6144 GB, free: 46.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04018/1.822, allocations: 14.09 MB / 0.6282 GB, free: 35.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/1.822, allocations: 4.281 kB / 0.6282 GB, free: 35.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005036/1.827, allocations: 499.3 kB / 0.6286 GB, free: 34.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009733/1.837, allocations: 1.445 MB / 0.6301 GB, free: 33.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006997/1.837, allocations: 86.53 kB / 0.6301 GB, free: 33.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03358/1.871, allocations: 20.35 MB / 0.65 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1005/1.971, allocations: 27.34 MB / 0.6767 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3282/2.3, allocations: 7.855 MB / 0.6844 GB, free: 107.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005478/2.305, allocations: 1.597 MB / 0.6859 GB, free: 107.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002844/2.308, allocations: 90.86 kB / 0.686 GB, free: 107.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006438/2.314, allocations: 168.8 kB / 0.6862 GB, free: 107.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001475/2.316, allocations: 288.5 kB / 0.6865 GB, free: 107.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006398/2.317, allocations: 104.9 kB / 0.6866 GB, free: 107.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.02747/2.344, allocations: 10.76 MB / 0.6971 GB, free: 107.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.523e-06/2.344, allocations: 0 / 0.6971 GB, free: 107.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008761/2.353, allocations: 1.762 MB / 0.6988 GB, free: 107.1 MB / 442.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: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 53,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.02681/2.38, allocations: 9.139 MB / 0.7077 GB, free: 105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01191/2.392, allocations: 4.738 MB / 0.7123 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/2.392, allocations: 0 / 0.7123 GB, free: 103.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007661/2.4, allocations: 3.293 MB / 0.7156 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005916/2.405, allocations: 495.5 kB / 0.716 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04867/2.454, allocations: 19.09 MB / 0.7347 GB, free: 97.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008402/2.463, allocations: 4.21 MB / 0.7388 GB, free: 96.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004521/2.467, allocations: 0.8359 MB / 0.7396 GB, free: 96.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008029/2.475, allocations: 3.434 MB / 0.743 GB, free: 92.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.913e-06/2.475, allocations: 0 / 0.743 GB, free: 92.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8995/3.375, allocations: 164.3 MB / 0.9034 GB, free: 82.46 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/3.375, allocations: 257.6 kB / 0.9036 GB, free: 82.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/14.13, allocations: 0 / 0.9036 GB, free: 82.12 MB / 442.7 MB