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 2.051/2.051, allocations: 194.9 MB / 208.5 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.883e-05, allocations: 3.094 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07723/0.07728, allocations: 44.51 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3887/0.4661, allocations: 87.43 MB / 387.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4663, allocations: 83.03 kB / 387.4 MB, free: 20.49 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.2842/0.7505, allocations: 77.4 MB / 464.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.46e-06/0.7506, allocations: 0 / 464.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0008262/0.7514, allocations: 112 kB / 464.9 MB, free: 7.02 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.01454/0.766, allocations: 5.585 MB / 470.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.766, allocations: 12.03 kB / 470.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.7684, allocations: 0.8602 MB / 471.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.7797, allocations: 3.585 MB / 474.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002918/0.7801, allocations: 164.1 kB / 475.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008/0.7809, allocations: 208 kB / 475.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006542/0.7874, allocations: 1.999 MB / 477.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.713e-05/0.7876, allocations: 7.906 kB / 477.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/0.7879, allocations: 80 kB / 477.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.7879, allocations: 52 kB / 477.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005396/0.7933, allocations: 1.762 MB / 479.2 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02742/0.8208, allocations: 10.15 MB / 489.3 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.8264, allocations: 2.267 MB / 491.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003684/0.8301, allocations: 1.307 MB / 492.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.8304, allocations: 50.2 kB / 493 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003063/0.8334, allocations: 1.097 MB / 494.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 7.567e-06/0.8335, allocations: 3.938 kB / 494.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=382): time 0.07181/0.9053, allocations: 19.13 MB / 0.5012 GB, free: 5.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3233/1.229, allocations: 30.77 MB / 0.5312 GB, free: 81.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.193/1.422, allocations: 13.35 MB / 0.5442 GB, free: 77.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000602/1.422, allocations: 92.83 kB / 0.5443 GB, free: 77.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003927/1.426, allocations: 2.834 MB / 0.5471 GB, free: 75.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001465/1.428, allocations: 1.262 MB / 0.5483 GB, free: 74.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004194/1.428, allocations: 72.42 kB / 0.5484 GB, free: 74.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/1.429, allocations: 445.1 kB / 0.5488 GB, free: 73.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00357/1.432, allocations: 1.297 MB / 0.5501 GB, free: 73.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004174/1.436, allocations: 1.621 MB / 0.5517 GB, free: 72.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/1.441, allocations: 1.524 MB / 0.5532 GB, free: 71.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/1.441, allocations: 0 / 0.5532 GB, free: 71.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01485/1.456, allocations: 4.653 MB / 0.5577 GB, free: 69.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/1.456, allocations: 46.38 kB / 0.5578 GB, free: 69.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/1.456, allocations: 3.469 kB / 0.5578 GB, free: 69.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008222/1.464, allocations: 1.428 MB / 0.5592 GB, free: 69.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004298/1.468, allocations: 0.5753 MB / 0.5597 GB, free: 69.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03635/1.505, allocations: 22.25 MB / 0.5814 GB, free: 52.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005163/1.51, allocations: 205.6 kB / 0.5816 GB, free: 52.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008097/1.511, allocations: 128.5 kB / 0.5818 GB, free: 52.3 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.0008235/1.512, allocations: 287.2 kB / 0.582 GB, free: 52.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/1.513, allocations: 0.8488 MB / 0.5829 GB, free: 51.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.529, allocations: 5.48 MB / 0.5882 GB, free: 46.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006611/1.536, allocations: 2.382 MB / 0.5905 GB, free: 44.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.823e-05/1.536, allocations: 7.953 kB / 0.5905 GB, free: 44.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.136e-05/1.536, allocations: 25.48 kB / 0.5906 GB, free: 44.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0345/1.571, allocations: 14.1 MB / 0.6043 GB, free: 32.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/1.571, allocations: 0 / 0.6043 GB, free: 32.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00342/1.574, allocations: 0.4942 MB / 0.6048 GB, free: 32.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007306/1.581, allocations: 1.436 MB / 0.6062 GB, free: 31.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006384/1.582, allocations: 86.72 kB / 0.6063 GB, free: 31.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02841/1.611, allocations: 20.36 MB / 0.6262 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07808/1.689, allocations: 27.24 MB / 0.6528 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2588/1.948, allocations: 7.882 MB / 0.6605 GB, free: 90.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005317/1.953, allocations: 1.94 MB / 0.6624 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/1.955, allocations: 88.73 kB / 0.6625 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004425/1.959, allocations: 170.9 kB / 0.6626 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001222/1.96, allocations: 291.9 kB / 0.6629 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005624/1.961, allocations: 106.9 kB / 0.663 GB, free: 90.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.02341/1.984, allocations: 10.75 MB / 0.6735 GB, free: 89.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.386e-06/1.984, allocations: 0 / 0.6735 GB, free: 89.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007239/1.992, allocations: 1.773 MB / 0.6752 GB, free: 89.86 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.002013/1.994, allocations: 475.7 kB / 0.6757 GB, free: 89.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01075/2.005, allocations: 4.844 MB / 0.6804 GB, free: 88.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.181e-06/2.005, allocations: 0 / 0.6804 GB, free: 88.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007376/2.012, allocations: 3.286 MB / 0.6836 GB, free: 87.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00453/2.017, allocations: 489 kB / 0.6841 GB, free: 87.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03874/2.055, allocations: 17.82 MB / 0.7015 GB, free: 84.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008605/2.064, allocations: 4.211 MB / 0.7056 GB, free: 83.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002949/2.067, allocations: 383.8 kB / 0.706 GB, free: 83.01 MB / 410.7 MB Notification: Performance of SimCode: time 2.083e-06/2.067, allocations: 0 / 0.706 GB, free: 83.01 MB / 410.7 MB Notification: Performance of Templates: time 2.143/4.21, allocations: 0.5433 GB / 1.249 GB, free: 48.87 MB / 458.7 MB