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.904/1.904, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.228e-05, allocations: 0 / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3013, allocations: 44.5 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.4649, allocations: 86.77 MB / 380.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/0.4653, allocations: 91.83 kB / 381 MB, free: 11.09 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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.5107/0.976, allocations: 76.57 MB / 457.5 MB, free: 84.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.258e-06/0.976, allocations: 0 / 457.5 MB, free: 84.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007952/0.9768, allocations: 112.6 kB / 457.6 MB, free: 84.22 MB / 362.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.01232/0.9892, allocations: 5.582 MB / 463.2 MB, free: 81.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.9892, allocations: 13.52 kB / 463.2 MB, free: 81.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.9913, allocations: 0.8748 MB / 464.1 MB, free: 80.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00955/1.001, allocations: 3.581 MB / 467.7 MB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/1.001, allocations: 71.94 kB / 467.8 MB, free: 77.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/1.002, allocations: 127.9 kB / 467.9 MB, free: 77.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005047/1.007, allocations: 1.673 MB / 469.6 MB, free: 76.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/1.012, allocations: 1.723 MB / 471.3 MB, free: 75.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.552e-05/1.012, allocations: 14.55 kB / 471.3 MB, free: 75.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/1.012, allocations: 3.953 kB / 471.3 MB, free: 75.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/1.012, allocations: 52 kB / 471.4 MB, free: 75.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/1.034, allocations: 9.759 MB / 481.1 MB, free: 65.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/1.038, allocations: 2.172 MB / 483.3 MB, free: 63.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002758/1.041, allocations: 1.248 MB / 484.5 MB, free: 62.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/1.041, allocations: 38.52 kB / 484.6 MB, free: 62.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002185/1.043, allocations: 1.04 MB / 485.6 MB, free: 61.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 8.072e-06/1.043, allocations: 0 / 485.6 MB, free: 61.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=382): time 0.04975/1.093, allocations: 16.57 MB / 0.4904 GB, free: 44.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/1.093, allocations: 274.6 kB / 0.4907 GB, free: 44.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1818/1.275, allocations: 12.9 MB / 0.5033 GB, free: 31.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005382/1.275, allocations: 25.7 kB / 0.5033 GB, free: 31.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003735/1.279, allocations: 2.864 MB / 0.5061 GB, free: 28.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.28, allocations: 1.204 MB / 0.5073 GB, free: 27.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/1.281, allocations: 4 kB / 0.5073 GB, free: 27.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/1.281, allocations: 446.3 kB / 0.5077 GB, free: 26.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/1.284, allocations: 1.218 MB / 0.5089 GB, free: 25.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/1.287, allocations: 1.55 MB / 0.5104 GB, free: 23.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/1.29, allocations: 1.41 MB / 0.5118 GB, free: 22.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/1.291, allocations: 0 / 0.5118 GB, free: 22.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01286/1.303, allocations: 4.339 MB / 0.516 GB, free: 17.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/1.303, allocations: 37.69 kB / 0.5161 GB, free: 17.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.304, allocations: 4 kB / 0.5161 GB, free: 17.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006895/1.31, allocations: 1.372 MB / 0.5174 GB, free: 16.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003566/1.314, allocations: 0.5734 MB / 0.518 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03445/1.349, allocations: 21.43 MB / 0.5389 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/1.353, allocations: 131.9 kB / 0.539 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006954/1.354, allocations: 127.9 kB / 0.5391 GB, free: 9.293 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real 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 {3 42,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.0007769/1.354, allocations: 157.7 kB / 0.5393 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003057/1.358, allocations: 0.8566 MB / 0.5401 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04574/1.403, allocations: 5.118 MB / 0.5451 GB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03676/1.44, allocations: 2.23 MB / 0.5473 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.043e-05/1.44, allocations: 7.938 kB / 0.5473 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001664/1.44, allocations: 19.89 kB / 0.5473 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04939/1.49, allocations: 13.46 MB / 0.5605 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/1.49, allocations: 0 / 0.5605 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00361/1.494, allocations: 0.4918 MB / 0.5609 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007972/1.502, allocations: 1.403 MB / 0.5623 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006317/1.502, allocations: 35.95 kB / 0.5623 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2554/1.758, allocations: 19.65 MB / 0.5815 GB, free: 96.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07835/1.836, allocations: 26.44 MB / 0.6073 GB, free: 83.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/1.855, allocations: 7.525 MB / 0.6147 GB, free: 79.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004932/1.86, allocations: 1.931 MB / 0.6166 GB, free: 78.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.861, allocations: 33.78 kB / 0.6166 GB, free: 78.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/1.865, allocations: 106.2 kB / 0.6167 GB, free: 78.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009004/1.866, allocations: 292 kB / 0.617 GB, free: 78.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/1.866, allocations: 109.2 kB / 0.6171 GB, free: 78.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01892/1.885, allocations: 10.28 MB / 0.6271 GB, free: 70.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.148e-06/1.885, allocations: 0 / 0.6271 GB, free: 70.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006154/1.891, allocations: 1.606 MB / 0.6287 GB, free: 69.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET1.x[2],$STATESET1.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET0.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.001703/1.893, allocations: 389.5 kB / 0.6291 GB, free: 68.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008814/1.902, allocations: 4.707 MB / 0.6337 GB, free: 64.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.713e-06/1.902, allocations: 0 / 0.6337 GB, free: 64.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006002/1.908, allocations: 3.222 MB / 0.6368 GB, free: 61.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/1.912, allocations: 407.4 kB / 0.6372 GB, free: 60.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06093/1.973, allocations: 17.61 MB / 0.6544 GB, free: 45.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01575/1.988, allocations: 4.216 MB / 0.6585 GB, free: 42.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00578/1.994, allocations: 384.6 kB / 0.6589 GB, free: 41.88 MB / 394.7 MB Notification: Performance of SimCode: time 3.024e-06/1.994, allocations: 0 / 0.6589 GB, free: 41.88 MB / 394.7 MB Notification: Performance of Templates: time 2.29/4.284, allocations: 0.543 GB / 1.202 GB, free: 140.6 MB / 442.7 MB