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_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.625e-05, allocations: 4 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07771, allocations: 44.5 MB / 299.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4293, allocations: 87.43 MB / 387.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.4296, allocations: 86.34 kB / 387.4 MB, free: 20.41 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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.2895/0.7192, allocations: 77.39 MB / 464.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.326e-06/0.7192, allocations: 8 kB / 464.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0008976/0.7201, allocations: 108 kB / 464.9 MB, free: 7.004 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.01511/0.7353, allocations: 5.592 MB / 470.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.7353, allocations: 12.03 kB / 470.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.7378, allocations: 0.8563 MB / 471.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.7494, allocations: 3.589 MB / 474.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.7497, allocations: 160.1 kB / 475.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008772/0.7506, allocations: 207.9 kB / 475.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00742/0.7581, allocations: 2.022 MB / 477.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.562e-05/0.7582, allocations: 7.906 kB / 477.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/0.7586, allocations: 83.98 kB / 477.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.7586, allocations: 52 kB / 477.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006029/0.7647, allocations: 1.79 MB / 479.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04137/0.8061, allocations: 10.14 MB / 489.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.8169, allocations: 2.299 MB / 491.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007046/0.824, allocations: 1.315 MB / 493 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003682/0.8245, allocations: 38.27 kB / 493 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005855/0.8304, allocations: 1.112 MB / 494.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 1.365e-05/0.8304, allocations: 0 / 494.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=382): time 0.0916/0.922, allocations: 19.14 MB / 0.5012 GB, free: 5.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3258/1.248, allocations: 30.72 MB / 0.5312 GB, free: 81.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.193/1.441, allocations: 13.35 MB / 0.5443 GB, free: 77.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006145/1.442, allocations: 89.2 kB / 0.5444 GB, free: 77.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004072/1.446, allocations: 2.835 MB / 0.5471 GB, free: 75.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001486/1.447, allocations: 1.264 MB / 0.5484 GB, free: 74.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/1.448, allocations: 66.66 kB / 0.5484 GB, free: 74.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/1.448, allocations: 451.1 kB / 0.5489 GB, free: 73.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/1.451, allocations: 1.293 MB / 0.5501 GB, free: 73.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004235/1.455, allocations: 1.64 MB / 0.5517 GB, free: 72.42 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/1.46, allocations: 1.522 MB / 0.5532 GB, free: 71.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.31e-05/1.46, allocations: 2.812 kB / 0.5532 GB, free: 71.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01447/1.474, allocations: 4.666 MB / 0.5578 GB, free: 69.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/1.474, allocations: 41.64 kB / 0.5578 GB, free: 69.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/1.474, allocations: 11.19 kB / 0.5578 GB, free: 69.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007336/1.482, allocations: 1.425 MB / 0.5592 GB, free: 69.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/1.486, allocations: 0.5761 MB / 0.5598 GB, free: 69.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03402/1.52, allocations: 22.23 MB / 0.5815 GB, free: 52.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/1.524, allocations: 209.1 kB / 0.5817 GB, free: 52.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008419/1.525, allocations: 128.4 kB / 0.5818 GB, free: 52.32 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.0007575/1.526, allocations: 276.1 kB / 0.5821 GB, free: 52.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/1.528, allocations: 0.8526 MB / 0.5829 GB, free: 51.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/1.545, allocations: 5.484 MB / 0.5883 GB, free: 46.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007202/1.552, allocations: 2.386 MB / 0.5906 GB, free: 44.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.491e-05/1.552, allocations: 7.953 kB / 0.5906 GB, free: 44.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.568e-05/1.553, allocations: 23.5 kB / 0.5906 GB, free: 44.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/1.588, allocations: 14.1 MB / 0.6044 GB, free: 33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/1.588, allocations: 3.953 kB / 0.6044 GB, free: 33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/1.592, allocations: 0.4966 MB / 0.6049 GB, free: 32.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007362/1.599, allocations: 1.431 MB / 0.6063 GB, free: 31.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000663/1.6, allocations: 89.95 kB / 0.6064 GB, free: 31.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02937/1.629, allocations: 20.36 MB / 0.6262 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08234/1.712, allocations: 27.19 MB / 0.6528 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2669/1.979, allocations: 7.886 MB / 0.6605 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005471/1.984, allocations: 1.942 MB / 0.6624 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/1.986, allocations: 85.78 kB / 0.6625 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004428/1.991, allocations: 173.5 kB / 0.6626 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/1.992, allocations: 283.1 kB / 0.6629 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006629/1.993, allocations: 107.3 kB / 0.663 GB, free: 90.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.02338/2.016, allocations: 10.76 MB / 0.6735 GB, free: 89.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.319e-06/2.016, allocations: 0 / 0.6735 GB, free: 89.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006701/2.023, allocations: 1.773 MB / 0.6752 GB, free: 89.78 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.001999/2.025, allocations: 491.7 kB / 0.6757 GB, free: 89.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01119/2.036, allocations: 4.97 MB / 0.6806 GB, free: 88.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.33e-06/2.036, allocations: 2.969 kB / 0.6806 GB, free: 88.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006946/2.043, allocations: 3.393 MB / 0.6839 GB, free: 87.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/2.047, allocations: 498.9 kB / 0.6844 GB, free: 87.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03793/2.085, allocations: 17.91 MB / 0.7019 GB, free: 83.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008957/2.094, allocations: 4.211 MB / 0.706 GB, free: 82.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002837/2.097, allocations: 386.5 kB / 0.7063 GB, free: 82.62 MB / 410.7 MB Notification: Performance of SimCode: time 2.26e-06/2.097, allocations: 0 / 0.7063 GB, free: 82.62 MB / 410.7 MB Notification: Performance of Templates: time 2.193/4.29, allocations: 0.5435 GB / 1.25 GB, free: 48.74 MB / 458.7 MB