Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.786/1.786, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.774e-05, allocations: 0 / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09394/0.09399, allocations: 44.5 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.4781, allocations: 87.43 MB / 387.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4784, allocations: 82.52 kB / 387.4 MB, free: 20.48 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.2811/0.7595, allocations: 77.41 MB / 464.8 MB, free: 6.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.743e-06/0.7595, allocations: 0 / 464.8 MB, free: 6.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007944/0.7603, allocations: 112 kB / 464.9 MB, free: 6.43 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.01411/0.7744, allocations: 5.59 MB / 470.5 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.7745, allocations: 12.03 kB / 470.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.7768, allocations: 0.8602 MB / 471.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.7877, allocations: 3.589 MB / 475 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.788, allocations: 156.1 kB / 475.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004737/0.7885, allocations: 204 kB / 475.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005386/0.7939, allocations: 1.995 MB / 477.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.411e-05/0.794, allocations: 3.906 kB / 477.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/0.7943, allocations: 88 kB / 477.4 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.7943, allocations: 51.94 kB / 477.5 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005015/0.7994, allocations: 1.758 MB / 479.2 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02609/0.8255, allocations: 10.15 MB / 489.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005453/0.831, allocations: 2.267 MB / 491.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003539/0.8346, allocations: 1.322 MB / 493 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.8348, allocations: 34.28 kB / 493 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002779/0.8376, allocations: 1.104 MB / 494.1 MB, free: 8.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 7.085e-06/0.8376, allocations: 0 / 494.1 MB, free: 8.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=382): time 0.06846/0.9061, allocations: 19.12 MB / 0.5012 GB, free: 5.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3548/1.261, allocations: 30.78 MB / 0.5312 GB, free: 81.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1872/1.448, allocations: 13.35 MB / 0.5443 GB, free: 77.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000588/1.449, allocations: 88.02 kB / 0.5444 GB, free: 77.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00456/1.453, allocations: 3.691 MB / 0.548 GB, free: 74.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001396/1.455, allocations: 1.257 MB / 0.5492 GB, free: 73.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/1.455, allocations: 74.16 kB / 0.5493 GB, free: 73.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/1.455, allocations: 443.9 kB / 0.5497 GB, free: 73.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/1.459, allocations: 1.29 MB / 0.551 GB, free: 72.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003899/1.463, allocations: 1.617 MB / 0.5525 GB, free: 71.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004021/1.467, allocations: 1.526 MB / 0.554 GB, free: 71.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.467, allocations: 3.281 kB / 0.554 GB, free: 71.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01597/1.483, allocations: 5.362 MB / 0.5593 GB, free: 68.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/1.483, allocations: 32.45 kB / 0.5593 GB, free: 68.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/1.483, allocations: 6.844 kB / 0.5593 GB, free: 68.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007697/1.491, allocations: 1.43 MB / 0.5607 GB, free: 68.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/1.495, allocations: 0.5748 MB / 0.5613 GB, free: 68.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03548/1.531, allocations: 22.24 MB / 0.583 GB, free: 50.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/1.535, allocations: 201 kB / 0.5832 GB, free: 50.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006755/1.536, allocations: 128.1 kB / 0.5833 GB, free: 50.55 MB / 394.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.0007286/1.537, allocations: 286.7 kB / 0.5836 GB, free: 50.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.539, allocations: 0.8488 MB / 0.5844 GB, free: 49.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/1.553, allocations: 5.481 MB / 0.5897 GB, free: 44.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006409/1.559, allocations: 2.385 MB / 0.5921 GB, free: 42.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.821e-05/1.559, allocations: 4 kB / 0.5921 GB, free: 42.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.451e-05/1.56, allocations: 21.44 kB / 0.5921 GB, free: 42.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03177/1.591, allocations: 14.1 MB / 0.6059 GB, free: 31.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/1.591, allocations: 0 / 0.6059 GB, free: 31.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/1.595, allocations: 0.4934 MB / 0.6064 GB, free: 30.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0069/1.602, allocations: 1.444 MB / 0.6078 GB, free: 29.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005086/1.602, allocations: 82.53 kB / 0.6078 GB, free: 29.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02875/1.631, allocations: 20.36 MB / 0.6277 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07775/1.709, allocations: 27.25 MB / 0.6543 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2986/2.007, allocations: 7.86 MB / 0.662 GB, free: 89.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009855/2.017, allocations: 1.943 MB / 0.6639 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002943/2.02, allocations: 93.39 kB / 0.664 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007324/2.028, allocations: 166.9 kB / 0.6642 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001605/2.029, allocations: 289 kB / 0.6644 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006058/2.03, allocations: 113.1 kB / 0.6645 GB, free: 89.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0316/2.062, allocations: 10.75 MB / 0.675 GB, free: 89.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.195e-06/2.062, allocations: 0 / 0.675 GB, free: 89.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006348/2.068, allocations: 1.771 MB / 0.6768 GB, free: 89.19 MB / 410.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.001994/2.07, allocations: 470.5 kB / 0.6772 GB, free: 89.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01187/2.082, allocations: 4.842 MB / 0.6819 GB, free: 87.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/2.082, allocations: 0 / 0.6819 GB, free: 87.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0103/2.092, allocations: 3.292 MB / 0.6852 GB, free: 86.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00778/2.1, allocations: 486.5 kB / 0.6856 GB, free: 86.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05503/2.155, allocations: 17.47 MB / 0.7027 GB, free: 83.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006639/2.162, allocations: 4.208 MB / 0.7068 GB, free: 81.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004128/2.166, allocations: 0.8433 MB / 0.7076 GB, free: 81.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00222/2.168, allocations: 355.9 kB / 0.708 GB, free: 81.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/2.168, allocations: 0 / 0.708 GB, free: 81.77 MB / 410.7 MB Notification: Performance of Templates: time 0.4248/2.593, allocations: 90.48 MB / 0.7963 GB, free: 3.664 MB / 410.7 MB