Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.548e-05, allocations: 4 kB / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09534, allocations: 44.5 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4411/0.5365, allocations: 87.43 MB / 387.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.5369, allocations: 84.7 kB / 387.5 MB, free: 12.76 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3432/0.8801, allocations: 77.4 MB / 464.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.8802, allocations: 0 / 464.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001166/0.8813, allocations: 112 kB / 465 MB, free: 0.5898 MB / 346.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.01786/0.8992, allocations: 5.594 MB / 470.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.8993, allocations: 8.031 kB / 470.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001206/0.9005, allocations: 291.4 kB / 470.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.903, allocations: 0.8602 MB / 471.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.9165, allocations: 3.584 MB / 475.3 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.9168, allocations: 160.1 kB / 475.5 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006796/0.9175, allocations: 215.8 kB / 475.7 MB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006365/0.9239, allocations: 2.022 MB / 477.7 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.033e-05/0.924, allocations: 3.984 kB / 477.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003361/0.9244, allocations: 88 kB / 477.8 MB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/0.9244, allocations: 48 kB / 477.8 MB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006082/0.9305, allocations: 1.786 MB / 479.6 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03149/0.9621, allocations: 10.14 MB / 489.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006165/0.9683, allocations: 2.302 MB / 492.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004431/0.9728, allocations: 1.322 MB / 493.4 MB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/0.9731, allocations: 33.89 kB / 493.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003382/0.9765, allocations: 1.116 MB / 494.5 MB, free: 2.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 6.302e-06/0.9766, allocations: 0 / 494.5 MB, free: 2.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=382): time 0.09552/1.072, allocations: 19.13 MB / 0.5016 GB, free: 15.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3917/1.464, allocations: 30.74 MB / 0.5316 GB, free: 96.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1645/1.628, allocations: 13.35 MB / 0.5447 GB, free: 95.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007959/1.629, allocations: 87.77 kB / 0.5448 GB, free: 95.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006364/1.636, allocations: 3.69 MB / 0.5484 GB, free: 93.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001751/1.637, allocations: 1.265 MB / 0.5496 GB, free: 92.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004613/1.638, allocations: 66.66 kB / 0.5497 GB, free: 92.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002218/1.638, allocations: 441.7 kB / 0.5501 GB, free: 92.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003898/1.642, allocations: 1.294 MB / 0.5514 GB, free: 91.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004517/1.647, allocations: 1.637 MB / 0.553 GB, free: 90.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004615/1.651, allocations: 1.525 MB / 0.5544 GB, free: 90.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/1.651, allocations: 0 / 0.5544 GB, free: 90.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.02018/1.672, allocations: 5.368 MB / 0.5597 GB, free: 87.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/1.672, allocations: 43.66 kB / 0.5597 GB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/1.672, allocations: 6.438 kB / 0.5597 GB, free: 87.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009898/1.682, allocations: 1.427 MB / 0.5611 GB, free: 87.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005839/1.688, allocations: 0.5788 MB / 0.5617 GB, free: 87.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0404/1.728, allocations: 22.23 MB / 0.5834 GB, free: 70.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006717/1.735, allocations: 206.2 kB / 0.5836 GB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009874/1.736, allocations: 122.8 kB / 0.5837 GB, free: 70.33 MB / 410.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 (319): * Single equations (assignments): 307 * 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 43,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.0009165/1.737, allocations: 286.5 kB / 0.584 GB, free: 70.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002516/1.739, allocations: 0.8533 MB / 0.5848 GB, free: 69.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02132/1.761, allocations: 5.486 MB / 0.5902 GB, free: 67.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009143/1.77, allocations: 2.382 MB / 0.5925 GB, free: 64.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.749e-05/1.77, allocations: 4 kB / 0.5925 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/1.77, allocations: 16.5 kB / 0.5925 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04537/1.815, allocations: 14.11 MB / 0.6063 GB, free: 53.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.192e-05/1.816, allocations: 7.391 kB / 0.6063 GB, free: 53.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005229/1.821, allocations: 498.5 kB / 0.6068 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01007/1.831, allocations: 1.437 MB / 0.6082 GB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007826/1.832, allocations: 89.36 kB / 0.6083 GB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03553/1.867, allocations: 20.36 MB / 0.6282 GB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09688/1.964, allocations: 27.19 MB / 0.6547 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0274/1.992, allocations: 8.028 MB / 0.6625 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007342/1.999, allocations: 1.933 MB / 0.6644 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/2.001, allocations: 91.95 kB / 0.6645 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005372/2.006, allocations: 169 kB / 0.6647 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00121/2.008, allocations: 292.7 kB / 0.665 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004023/2.008, allocations: 108.5 kB / 0.6651 GB, free: 13.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.02927/2.037, allocations: 10.75 MB / 0.6756 GB, free: 3.969 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.037, allocations: 0 / 0.6756 GB, free: 3.969 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008749/2.046, allocations: 1.762 MB / 0.6773 GB, free: 2.215 MB / 426.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.3116/2.358, allocations: 9.266 MB / 0.6863 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01255/2.37, allocations: 4.975 MB / 0.6912 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/2.37, allocations: 0 / 0.6912 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008011/2.378, allocations: 3.393 MB / 0.6945 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/2.384, allocations: 0.4914 MB / 0.695 GB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05245/2.436, allocations: 19.19 MB / 0.7137 GB, free: 99.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009724/2.446, allocations: 4.204 MB / 0.7178 GB, free: 98.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004866/2.451, allocations: 0.8445 MB / 0.7187 GB, free: 98.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00835/2.459, allocations: 3.429 MB / 0.722 GB, free: 98.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/2.459, allocations: 0 / 0.722 GB, free: 98.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9339/3.393, allocations: 164.8 MB / 0.8829 GB, free: 77.21 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/3.394, allocations: 247.1 kB / 0.8831 GB, free: 76.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/14.74, allocations: 0 / 0.8831 GB, free: 76.88 MB / 426.7 MB