Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 0.9529/0.9529, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.7e-05, allocations: 4 kB / 151.4 MB, free: 15.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1545, allocations: 25.14 MB / 176.5 MB, free: 32 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.2737, allocations: 45.46 MB / 222 MB, free: 3.977 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.2741, allocations: 67.95 kB / 222.1 MB, free: 3.91 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3265/0.6006, allocations: 42.98 MB / 265 MB, free: 48.17 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.6007, allocations: 3.391 kB / 265.1 MB, free: 48.17 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001438/0.6008, allocations: 50.5 kB / 265.1 MB, free: 48.16 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: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.005673/0.6065, allocations: 2.242 MB / 267.3 MB, free: 47.13 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.6066, allocations: 7.188 kB / 267.3 MB, free: 47.13 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008211/0.6074, allocations: 287.1 kB / 267.6 MB, free: 46.99 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.6104, allocations: 1.243 MB / 268.9 MB, free: 46.57 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.6106, allocations: 157.4 kB / 269 MB, free: 46.56 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003879/0.611, allocations: 201.4 kB / 269.2 MB, free: 46.55 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005007/0.616, allocations: 2.048 MB / 271.3 MB, free: 46.45 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.325e-05/0.6161, allocations: 6.797 kB / 271.3 MB, free: 46.45 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/0.6164, allocations: 81 kB / 271.4 MB, free: 46.45 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.6164, allocations: 48.78 kB / 271.4 MB, free: 46.45 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005047/0.6215, allocations: 1.795 MB / 273.2 MB, free: 46.44 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01802/0.6396, allocations: 7.385 MB / 280.6 MB, free: 43.59 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004304/0.6439, allocations: 2.238 MB / 282.8 MB, free: 42.48 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.6469, allocations: 1.361 MB / 284.2 MB, free: 42.01 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.6472, allocations: 116.9 kB / 284.3 MB, free: 41.91 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.6472, allocations: 56.03 kB / 284.4 MB, free: 41.86 MB / 218.7 MB Notification: Performance of pre-optimization done (n=220): time 6.122e-06/0.6472, allocations: 0 / 284.4 MB, free: 41.86 MB / 218.7 MB Notification: Performance of matching and sorting (n=345): time 0.07399/0.7212, allocations: 17.24 MB / 301.6 MB, free: 29.83 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1178/0.8391, allocations: 33.25 MB / 334.8 MB, free: 13.34 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.003078/0.8422, allocations: 1.388 MB / 336.2 MB, free: 11.96 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005581/0.8428, allocations: 81.7 kB / 336.3 MB, free: 11.87 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008679/0.8437, allocations: 0.8867 MB / 337.2 MB, free: 10.98 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001483/0.8452, allocations: 1.131 MB / 338.3 MB, free: 9.859 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.8455, allocations: 68 kB / 338.4 MB, free: 9.793 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003233/0.8459, allocations: 433.6 kB / 338.8 MB, free: 9.359 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004332/0.8502, allocations: 1.436 MB / 340.3 MB, free: 7.922 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007266/0.8575, allocations: 1.7 MB / 342 MB, free: 6.168 MB / 234.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.04977/0.9074, allocations: 4.849 MB / 346.8 MB, free: 1.352 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/0.9074, allocations: 3.938 kB / 346.8 MB, free: 1.348 MB / 234.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.1713/1.079, allocations: 4.277 MB / 351.1 MB, free: 55.68 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/1.079, allocations: 6.844 kB / 351.1 MB, free: 55.68 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.079, allocations: 4.312 kB / 351.1 MB, free: 55.68 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01417/1.093, allocations: 1.514 MB / 352.6 MB, free: 55.62 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004842/1.098, allocations: 0.6097 MB / 353.2 MB, free: 55.62 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009472/1.107, allocations: 9.868 MB / 363.1 MB, free: 48.12 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/1.111, allocations: 175.6 kB / 363.3 MB, free: 48.12 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006158/1.112, allocations: 142.2 kB / 363.4 MB, free: 48.12 MB / 234.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: advancedSolenoid.armature.mass.v = $START.advancedSolenoid.armature.mass.v. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 289 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 7} * Non-linear torn systems: 2 {3 37,3 45} Notification: Performance of prepare postOptimizeDAE: time 0.0007942/1.113, allocations: 277 kB / 363.7 MB, free: 48.01 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006695/1.114, allocations: 246.4 kB / 363.9 MB, free: 48.01 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.125, allocations: 4.62 MB / 368.5 MB, free: 47.77 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01005/1.135, allocations: 3.996 MB / 372.5 MB, free: 47.21 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/1.135, allocations: 9.719 kB / 372.5 MB, free: 47.21 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.357e-05/1.135, allocations: 15.14 kB / 372.5 MB, free: 47.21 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/1.159, allocations: 9.878 MB / 382.4 MB, free: 42.71 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/1.159, allocations: 3.625 kB / 382.4 MB, free: 42.71 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/1.162, allocations: 0.519 MB / 382.9 MB, free: 42.69 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0126/1.175, allocations: 1.556 MB / 384.5 MB, free: 42.4 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006171/1.176, allocations: 112.2 kB / 384.6 MB, free: 42.35 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00936/1.185, allocations: 9.872 MB / 394.5 MB, free: 32.88 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09363/1.279, allocations: 28.89 MB / 423.4 MB, free: 7.227 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.293, allocations: 6.938 MB / 430.3 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.295, allocations: 0.7231 MB / 431 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006771/1.296, allocations: 64 kB / 431.1 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002883/1.299, allocations: 167.9 kB / 431.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/1.3, allocations: 230.1 kB / 431.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004265/1.3, allocations: 139.2 kB / 431.6 MB, free: 15.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.002414/1.303, allocations: 1.076 MB / 432.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.88e-07/1.303, allocations: 0 / 432.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00382/1.306, allocations: 0.8401 MB / 433.5 MB, free: 13.28 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 5 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 232 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(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.0008344/1.307, allocations: 262.3 kB / 433.8 MB, free: 13.06 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.01002/1.317, allocations: 4.107 MB / 437.9 MB, free: 8.895 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.317, allocations: 0 / 437.9 MB, free: 8.895 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006475/1.324, allocations: 2.571 MB / 440.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.326, allocations: 347.3 kB / 440.8 MB, free: 5.949 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/1.341, allocations: 5.715 MB / 446.5 MB, free: 160 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1353/1.476, allocations: 1.739 MB / 448.3 MB, free: 67.07 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.478, allocations: 255.4 kB / 448.5 MB, free: 67.07 MB / 250.7 MB Notification: Performance of SimCode: time 1.75e-06/1.478, allocations: 0 / 448.5 MB, free: 67.07 MB / 250.7 MB Notification: Performance of Templates: time 0.2695/1.747, allocations: 123.6 MB / 0.5587 GB, free: 54.17 MB / 250.7 MB