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 1.079/1.079, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.494e-05, allocations: 4 kB / 154.5 MB, free: 2.82 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07312/0.07318, allocations: 25.18 MB / 179.7 MB, free: 9.598 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01851/0.09176, allocations: 8.127 MB / 187.8 MB, free: 1.449 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.1026, allocations: 2.825 MB / 190.7 MB, free: 14.62 MB / 170.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.1055, allocations: 51.88 kB / 190.7 MB, free: 14.57 MB / 170.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01639/0.122, allocations: 7.919 MB / 198.6 MB, free: 6.633 MB / 170.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.1335, allocations: 4.507 MB / 203.1 MB, free: 2.117 MB / 170.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.1367, allocations: 499.3 kB / 203.6 MB, free: 1.629 MB / 170.7 MB Notification: Performance of NFFlatten.flatten: time 0.1792/0.3159, allocations: 1.985 MB / 205.6 MB, free: 11.48 MB / 170.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.3173, allocations: 456.7 kB / 206 MB, free: 11.44 MB / 170.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.3218, allocations: 1.744 MB / 207.8 MB, free: 11.44 MB / 170.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009422/0.3313, allocations: 3.584 MB / 211.4 MB, free: 11.43 MB / 170.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.3332, allocations: 123.9 kB / 211.5 MB, free: 11.43 MB / 170.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.3343, allocations: 101.2 kB / 211.6 MB, free: 11.43 MB / 170.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00234/0.3366, allocations: 1.669 MB / 213.3 MB, free: 11.43 MB / 170.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.3383, allocations: 344.9 kB / 213.6 MB, free: 11.43 MB / 170.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006837/0.3452, allocations: 5.261 MB / 218.9 MB, free: 9.152 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3453, allocations: 2.812 kB / 218.9 MB, free: 9.152 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3453, allocations: 0 / 218.9 MB, free: 9.152 MB / 170.7 MB Notification: Performance of Transformations before backend: time 0.0004237/0.3457, allocations: 0 / 218.9 MB, free: 9.152 MB / 170.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.01281/0.3585, allocations: 5.179 MB / 224 MB, free: 5.91 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3586, allocations: 11.42 kB / 224.1 MB, free: 5.902 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.3608, allocations: 0.8369 MB / 224.9 MB, free: 5.055 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00657/0.3674, allocations: 2.788 MB / 227.7 MB, free: 2.773 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.3676, allocations: 155.6 kB / 227.8 MB, free: 2.688 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/0.3682, allocations: 196.4 kB / 228 MB, free: 2.559 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007841/0.376, allocations: 3.86 MB / 231.9 MB, free: 15.62 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.298e-05/0.3762, allocations: 7.906 kB / 231.9 MB, free: 15.62 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.3764, allocations: 79.78 kB / 232 MB, free: 15.6 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/0.3765, allocations: 48 kB / 232 MB, free: 15.55 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009137/0.3857, allocations: 3.652 MB / 235.7 MB, free: 12.52 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02677/0.4125, allocations: 8.324 MB / 244 MB, free: 4.156 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008701/0.4212, allocations: 3.97 MB / 248 MB, free: 128 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.4218, allocations: 123.1 kB / 248.1 MB, free: 15.99 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/0.4219, allocations: 57.47 kB / 248.1 MB, free: 15.93 MB / 202.7 MB Notification: Performance of pre-optimization done (n=221): time 5.36e-06/0.4219, allocations: 0 / 248.1 MB, free: 15.93 MB / 202.7 MB Notification: Performance of matching and sorting (n=343): time 0.1205/0.5424, allocations: 26.52 MB / 274.7 MB, free: 5.094 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3702/0.9126, allocations: 30.91 MB / 305.6 MB, free: 69.99 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.02506/0.9378, allocations: 7.356 MB / 312.9 MB, free: 68.11 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007707/0.9386, allocations: 81.05 kB / 313 MB, free: 68.04 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005729/0.9443, allocations: 2.832 MB / 315.8 MB, free: 65.64 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001915/0.9463, allocations: 1.137 MB / 317 MB, free: 64.96 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.9469, allocations: 58.22 kB / 317 MB, free: 64.92 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002673/0.9472, allocations: 430.5 kB / 317.5 MB, free: 64.52 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008159/0.9553, allocations: 3.037 MB / 320.5 MB, free: 63.21 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008804/0.9642, allocations: 3.337 MB / 323.8 MB, free: 59.82 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00875/0.973, allocations: 3.217 MB / 327 MB, free: 56.61 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/0.9731, allocations: 0 / 327 MB, free: 56.61 MB / 234.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.02139/0.9945, allocations: 7.493 MB / 334.5 MB, free: 49.08 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.9946, allocations: 8 kB / 334.5 MB, free: 49.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/0.9947, allocations: 4 kB / 334.5 MB, free: 49.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02058/1.015, allocations: 1.462 MB / 336 MB, free: 47.59 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007304/1.023, allocations: 0.5538 MB / 336.6 MB, free: 47.04 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/1.041, allocations: 12.78 MB / 349.3 MB, free: 33.3 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007821/1.049, allocations: 147.9 kB / 349.5 MB, free: 33.16 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.05, allocations: 131.9 kB / 349.6 MB, free: 33.03 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (292): * Single equations (assignments): 281 * 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%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {3 37,5 46} Notification: Performance of prepare postOptimizeDAE: time 0.008005/1.058, allocations: 2.165 MB / 351.8 MB, free: 30.85 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002488/1.06, allocations: 0.8059 MB / 352.6 MB, free: 30.04 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02615/1.086, allocations: 10.31 MB / 362.9 MB, free: 19.69 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008545/1.095, allocations: 1.976 MB / 364.9 MB, free: 17.69 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-05/1.095, allocations: 4.766 kB / 364.9 MB, free: 17.69 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.102e-05/1.095, allocations: 23.92 kB / 364.9 MB, free: 17.66 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03617/1.131, allocations: 10.06 MB / 375 MB, free: 7.57 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.595e-05/1.131, allocations: 1.641 kB / 375 MB, free: 7.57 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005836/1.137, allocations: 479.4 kB / 375.4 MB, free: 7.102 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01932/1.157, allocations: 1.498 MB / 376.9 MB, free: 5.582 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007733/1.157, allocations: 87.91 kB / 377 MB, free: 5.496 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/1.177, allocations: 12.44 MB / 389.5 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3827/1.56, allocations: 27.02 MB / 416.5 MB, free: 72.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02311/1.583, allocations: 14.91 MB / 431.4 MB, free: 64.45 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/1.585, allocations: 0.7496 MB / 432.1 MB, free: 63.71 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/1.586, allocations: 57.36 kB / 432.2 MB, free: 63.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003845/1.59, allocations: 138.4 kB / 432.3 MB, free: 63.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005481/1.591, allocations: 211 kB / 432.5 MB, free: 63.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003172/1.591, allocations: 111.9 kB / 432.6 MB, free: 63.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.01235/1.603, allocations: 5.89 MB / 438.5 MB, free: 57.37 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.603, allocations: 8 kB / 438.5 MB, free: 57.36 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.004364/1.608, allocations: 0.8964 MB / 439.4 MB, free: 56.47 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (232): * Single equations (assignments): 222 * 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%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 37,5 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008319/1.609, allocations: 258.6 kB / 439.7 MB, free: 56.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.01275/1.621, allocations: 7.763 MB / 447.5 MB, free: 48.4 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.622, allocations: 0 / 447.5 MB, free: 48.4 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008054/1.63, allocations: 4.485 MB / 451.9 MB, free: 43.83 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004421/1.634, allocations: 497.4 kB / 452.4 MB, free: 43.36 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03699/1.671, allocations: 19.94 MB / 472.4 MB, free: 23.35 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006805/1.678, allocations: 4.103 MB / 476.5 MB, free: 19.21 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/1.68, allocations: 239.2 kB / 476.7 MB, free: 18.98 MB / 250.7 MB Notification: Performance of SimCode: time 1.153e-06/1.68, allocations: 0 / 476.7 MB, free: 18.98 MB / 250.7 MB Notification: Performance of Templates: time 2.524/4.204, allocations: 0.5228 GB / 0.9883 GB, free: 90.2 MB / 282.7 MB