Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 0.9554/0.9554, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.527e-05, allocations: 4 kB / 151.4 MB, free: 15.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1385, allocations: 25.15 MB / 176.6 MB, free: 16 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06822/0.2068, allocations: 45.05 MB / 221.6 MB, free: 4.387 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.2071, allocations: 67.97 kB / 221.7 MB, free: 4.32 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4466/0.6537, allocations: 70.26 MB / 291.9 MB, free: 38.93 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.128e-06/0.6537, allocations: 4 kB / 291.9 MB, free: 38.93 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0004896/0.6542, allocations: 112 kB / 292 MB, free: 38.82 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.01103/0.6652, allocations: 5.589 MB / 297.6 MB, free: 33.56 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6653, allocations: 12.03 kB / 297.6 MB, free: 33.55 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.667, allocations: 0.8537 MB / 298.5 MB, free: 32.69 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008037/0.6751, allocations: 3.48 MB / 302 MB, free: 29.77 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.6753, allocations: 154.1 kB / 302.1 MB, free: 29.68 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00084/0.6762, allocations: 220.9 kB / 302.3 MB, free: 29.53 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00994/0.6861, allocations: 5.704 MB / 308 MB, free: 24.67 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/0.6862, allocations: 11.98 kB / 308.1 MB, free: 24.66 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005005/0.6868, allocations: 96 kB / 308.1 MB, free: 24.57 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.6868, allocations: 48 kB / 308.2 MB, free: 24.52 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009655/0.6965, allocations: 5.314 MB / 313.5 MB, free: 19.2 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.7164, allocations: 10.39 MB / 323.9 MB, free: 8.734 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008119/0.7246, allocations: 5.501 MB / 329.4 MB, free: 3.18 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008388/0.733, allocations: 4.64 MB / 334 MB, free: 14.54 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.7334, allocations: 125.4 kB / 334.2 MB, free: 14.39 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.983e-05/0.7335, allocations: 64.59 kB / 334.2 MB, free: 14.32 MB / 234.7 MB Notification: Performance of pre-optimization done (n=225): time 6.777e-06/0.7335, allocations: 0 / 334.2 MB, free: 14.32 MB / 234.7 MB Notification: Performance of matching and sorting (n=350): time 0.3325/1.066, allocations: 29.2 MB / 363.4 MB, free: 51.8 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1477/1.214, allocations: 33.34 MB / 396.8 MB, free: 30.89 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Magnetic/FluxTubes.mo:3057:9-3059:53:writable] Warning: Parameter advancedSolenoid.g_mFePole.r_i has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/1.227, allocations: 7.345 MB / 404.1 MB, free: 24.48 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008984/1.228, allocations: 97.7 kB / 404.2 MB, free: 24.38 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003517/1.232, allocations: 2.827 MB / 407 MB, free: 21.68 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001603/1.233, allocations: 1.175 MB / 408.2 MB, free: 20.77 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005894/1.234, allocations: 80 kB / 408.3 MB, free: 20.7 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/1.234, allocations: 438.2 kB / 408.7 MB, free: 20.3 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007645/1.242, allocations: 4.712 MB / 413.4 MB, free: 16.2 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008439/1.25, allocations: 4.982 MB / 418.4 MB, free: 11.84 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008441/1.259, allocations: 4.894 MB / 423.3 MB, free: 7.461 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/1.259, allocations: 0 / 423.3 MB, free: 7.461 MB / 234.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.02259/1.281, allocations: 11.07 MB / 434.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/1.281, allocations: 11.95 kB / 434.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/1.281, allocations: 4 kB / 434.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01736/1.299, allocations: 1.58 MB / 436 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005384/1.304, allocations: 0.7556 MB / 436.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.229/1.533, allocations: 12.89 MB / 449.6 MB, free: 61.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/1.538, allocations: 172.5 kB / 449.8 MB, free: 61.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/1.539, allocations: 476.4 kB / 450.2 MB, free: 61.43 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 (comparisonWithFEA.tableID,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 (297): * Single equations (assignments): 286 * Array equations: 2 * Algorithm blocks: 0 * 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 37,3 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009658/1.54, allocations: 279.7 kB / 450.5 MB, free: 61.33 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.541, allocations: 0.8286 MB / 451.3 MB, free: 61.33 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02729/1.569, allocations: 15.49 MB / 466.8 MB, free: 61.06 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005406/1.574, allocations: 2.162 MB / 469 MB, free: 60.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/1.574, allocations: 3.719 kB / 469 MB, free: 60.92 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.015e-05/1.574, allocations: 18.81 kB / 469 MB, free: 60.92 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03079/1.605, allocations: 13.72 MB / 482.7 MB, free: 53.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/1.605, allocations: 4 kB / 482.7 MB, free: 53.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003629/1.609, allocations: 0.502 MB / 483.2 MB, free: 53.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01233/1.621, allocations: 1.618 MB / 484.9 MB, free: 51.9 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001011/1.622, allocations: 179 kB / 485 MB, free: 51.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/1.637, allocations: 12.55 MB / 497.6 MB, free: 38.8 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1222/1.759, allocations: 28.84 MB / 0.5141 GB, free: 12.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04385/1.803, allocations: 23.3 MB / 0.5368 GB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.805, allocations: 0.7533 MB / 0.5376 GB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/1.807, allocations: 76 kB / 0.5376 GB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004227/1.811, allocations: 175.8 kB / 0.5378 GB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000884/1.812, allocations: 238.9 kB / 0.538 GB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001219/1.813, allocations: 459 kB / 0.5385 GB, free: 2.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.1676/1.981, allocations: 5.863 MB / 0.5442 GB, free: 71.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.141e-06/1.981, allocations: 0 / 0.5442 GB, free: 71.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.005152/1.986, allocations: 0.9904 MB / 0.5452 GB, free: 71.22 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET2.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel,$STATESET1.x[2],$STATESET1.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v) * Number of discrete variables: 5 (comparisonWithFEA.tableID,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 simulation (244): * Single equations (assignments): 234 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 38,4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/1.987, allocations: 291.5 kB / 0.5454 GB, free: 71.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01259/2, allocations: 7.994 MB / 0.5533 GB, free: 70.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/2, allocations: 6.594 kB / 0.5533 GB, free: 70.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007476/2.007, allocations: 4.627 MB / 0.5578 GB, free: 69.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/2.012, allocations: 0.4945 MB / 0.5583 GB, free: 69.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/2.043, allocations: 15.82 MB / 0.5737 GB, free: 65.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007452/2.05, allocations: 4.113 MB / 0.5777 GB, free: 62.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/2.052, allocations: 259.6 kB / 0.578 GB, free: 62.45 MB / 266.7 MB Notification: Performance of SimCode: time 1.789e-06/2.052, allocations: 4 kB / 0.578 GB, free: 62.44 MB / 266.7 MB Notification: Performance of Templates: time 2.125/4.177, allocations: 0.5276 GB / 1.106 GB, free: 29.67 MB / 282.7 MB