Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.1/2.1, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.429e-05, allocations: 0 / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 50.41 MB / 342.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4525/0.5612, allocations: 95.97 MB / 438.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.5615, allocations: 82.02 kB / 438.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3664/0.928, allocations: 79.43 MB / 0.506 GB, free: 2.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.39e-06/0.928, allocations: 0 / 0.506 GB, free: 2.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001208/0.9292, allocations: 123.9 kB / 0.5061 GB, free: 1.969 MB / 426.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.01818/0.9475, allocations: 5.536 MB / 0.5115 GB, free: 12.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.9475, allocations: 8.031 kB / 0.5115 GB, free: 12.35 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001307/0.9489, allocations: 287.4 kB / 0.5118 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/0.9519, allocations: 0.857 MB / 0.5126 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.9659, allocations: 3.605 MB / 0.5161 GB, free: 7.516 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.9663, allocations: 160.1 kB / 0.5163 GB, free: 7.355 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009477/0.9672, allocations: 207.9 kB / 0.5165 GB, free: 7.152 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008162/0.9754, allocations: 1.991 MB / 0.5184 GB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/0.9756, allocations: 0 / 0.5184 GB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005799/0.9762, allocations: 84 kB / 0.5185 GB, free: 5.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.323e-05/0.9763, allocations: 52 kB / 0.5186 GB, free: 4.969 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007045/0.9833, allocations: 1.762 MB / 0.5203 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.331/1.314, allocations: 10.11 MB / 0.5302 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006343/1.321, allocations: 2.268 MB / 0.5324 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/1.325, allocations: 1.317 MB / 0.5337 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003827/1.326, allocations: 41.73 kB / 0.5337 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003951/1.33, allocations: 1.096 MB / 0.5348 GB, free: 104.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=246): time 1.049e-05/1.33, allocations: 0 / 0.5348 GB, free: 104.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=382): time 0.09736/1.427, allocations: 19.12 MB / 0.5534 GB, free: 100.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1197/1.547, allocations: 30.79 MB / 0.5835 GB, free: 83.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1647/1.712, allocations: 13.36 MB / 0.5966 GB, free: 77.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008018/1.712, allocations: 89.7 kB / 0.5966 GB, free: 76.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006456/1.719, allocations: 3.72 MB / 0.6003 GB, free: 73.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001835/1.721, allocations: 1.267 MB / 0.6015 GB, free: 72.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006811/1.722, allocations: 68 kB / 0.6016 GB, free: 72.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002365/1.722, allocations: 438.6 kB / 0.602 GB, free: 72.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004203/1.726, allocations: 1.27 MB / 0.6032 GB, free: 70.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/1.731, allocations: 1.607 MB / 0.6048 GB, free: 69.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/1.735, allocations: 1.473 MB / 0.6062 GB, free: 67.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/1.736, allocations: 4 kB / 0.6062 GB, free: 67.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=445) (initialization): time 0.02051/1.756, allocations: 5.277 MB / 0.6114 GB, free: 63.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.756, allocations: 8 kB / 0.6114 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/1.756, allocations: 4 kB / 0.6114 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/1.766, allocations: 1.432 MB / 0.6128 GB, free: 61.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005985/1.772, allocations: 0.5774 MB / 0.6134 GB, free: 61.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04939/1.822, allocations: 22.25 MB / 0.6351 GB, free: 39.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007056/1.829, allocations: 202 kB / 0.6353 GB, free: 39.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009444/1.83, allocations: 126.5 kB / 0.6354 GB, free: 39.05 MB / 442.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.001292/1.831, allocations: 290.3 kB / 0.6357 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002792/1.834, allocations: 0.856 MB / 0.6365 GB, free: 37.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0213/1.855, allocations: 5.471 MB / 0.6419 GB, free: 33.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009367/1.865, allocations: 2.378 MB / 0.6442 GB, free: 31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.564e-05/1.865, allocations: 8 kB / 0.6442 GB, free: 30.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/1.865, allocations: 18.23 kB / 0.6442 GB, free: 30.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04659/1.912, allocations: 14.11 MB / 0.658 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.313e-05/1.912, allocations: 4 kB / 0.658 GB, free: 19.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005347/1.917, allocations: 0.4929 MB / 0.6585 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/1.928, allocations: 1.444 MB / 0.6599 GB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000854/1.928, allocations: 82.83 kB / 0.66 GB, free: 17.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03705/1.966, allocations: 20.35 MB / 0.6799 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4095/2.375, allocations: 27.25 MB / 0.7065 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02559/2.401, allocations: 7.858 MB / 0.7141 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005042/2.406, allocations: 1.603 MB / 0.7157 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002427/2.408, allocations: 88.34 kB / 0.7158 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005895/2.414, allocations: 174.6 kB / 0.716 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/2.415, allocations: 286.4 kB / 0.7162 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005008/2.416, allocations: 105 kB / 0.7163 GB, free: 103.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.02403/2.44, allocations: 10.76 MB / 0.7268 GB, free: 103.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.533e-06/2.44, allocations: 0 / 0.7268 GB, free: 103.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008699/2.449, allocations: 1.757 MB / 0.7286 GB, free: 103.1 MB / 458.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.02724/2.476, allocations: 9.16 MB / 0.7375 GB, free: 98.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01144/2.488, allocations: 4.729 MB / 0.7421 GB, free: 95.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.488, allocations: 2.5 kB / 0.7421 GB, free: 95.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007644/2.495, allocations: 3.285 MB / 0.7453 GB, free: 93.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005397/2.501, allocations: 495.8 kB / 0.7458 GB, free: 93.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04983/2.551, allocations: 19.11 MB / 0.7645 GB, free: 84.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008653/2.559, allocations: 4.208 MB / 0.7686 GB, free: 81.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004482/2.564, allocations: 0.8467 MB / 0.7694 GB, free: 80.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008035/2.572, allocations: 3.43 MB / 0.7727 GB, free: 77.51 MB / 458.7 MB Notification: Performance of SimCode: time 2.104e-06/2.572, allocations: 3.938 kB / 0.7727 GB, free: 77.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9545/3.526, allocations: 164.2 MB / 0.9331 GB, free: 92.38 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/3.527, allocations: 262.1 kB / 0.9334 GB, free: 92.04 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/15.36, allocations: 0 / 0.9334 GB, free: 92.04 MB / 474.7 MB