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 1.088/1.088, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.693e-05, allocations: 4 kB / 154.5 MB, free: 2.824 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05581/0.05586, allocations: 25.18 MB / 179.7 MB, free: 9.609 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01375/0.06967, allocations: 8.205 MB / 187.9 MB, free: 1.383 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.007788/0.07752, allocations: 2.548 MB / 190.4 MB, free: 14.83 MB / 170.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.07965, allocations: 55.88 kB / 190.5 MB, free: 14.77 MB / 170.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.08161, allocations: 0.5327 MB / 191 MB, free: 14.24 MB / 170.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.0854, allocations: 0.8179 MB / 191.9 MB, free: 13.42 MB / 170.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.08816, allocations: 0.4954 MB / 192.3 MB, free: 12.92 MB / 170.7 MB Notification: Performance of NFFlatten.flatten: time 0.004844/0.09304, allocations: 1.561 MB / 193.9 MB, free: 11.36 MB / 170.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.09438, allocations: 449.9 kB / 194.3 MB, free: 10.91 MB / 170.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.0969, allocations: 0.8376 MB / 195.2 MB, free: 10.07 MB / 170.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.09976, allocations: 1.04 MB / 196.2 MB, free: 9.031 MB / 170.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.1011, allocations: 120 kB / 196.3 MB, free: 8.914 MB / 170.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007288/0.1018, allocations: 100 kB / 196.4 MB, free: 8.816 MB / 170.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007188/0.1026, allocations: 442.2 kB / 196.9 MB, free: 8.383 MB / 170.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.1038, allocations: 216 kB / 197.1 MB, free: 8.172 MB / 170.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005335/0.1091, allocations: 3.159 MB / 200.2 MB, free: 5.004 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1092, allocations: 0 / 200.2 MB, free: 5.004 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1092, allocations: 3.938 kB / 200.2 MB, free: 5 MB / 170.7 MB Notification: Performance of Transformations before backend: time 0.0001475/0.1094, allocations: 4 kB / 200.3 MB, free: 4.996 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: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.009283/0.1187, allocations: 2.323 MB / 202.6 MB, free: 2.613 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1187, allocations: 12.03 kB / 202.6 MB, free: 2.602 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.1199, allocations: 288.5 kB / 202.9 MB, free: 2.316 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004674/0.1246, allocations: 1.34 MB / 204.2 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.1249, allocations: 148 kB / 204.4 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007212/0.1256, allocations: 207.9 kB / 204.6 MB, free: 0.5781 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1519/0.2776, allocations: 2.068 MB / 206.6 MB, free: 20.45 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.2778, allocations: 2.219 kB / 206.6 MB, free: 20.45 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004411/0.2782, allocations: 83.09 kB / 206.7 MB, free: 20.39 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.2783, allocations: 47.75 kB / 206.8 MB, free: 20.39 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007868/0.2862, allocations: 1.884 MB / 208.6 MB, free: 19.77 MB / 170.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02061/0.3068, allocations: 6.889 MB / 215.5 MB, free: 15.54 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/0.3126, allocations: 2.175 MB / 217.7 MB, free: 14.3 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003528/0.313, allocations: 123.2 kB / 217.8 MB, free: 14.2 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.313, allocations: 61.84 kB / 217.9 MB, free: 14.14 MB / 170.7 MB Notification: Performance of pre-optimization done (n=215): time 5.2e-06/0.313, allocations: 0 / 217.9 MB, free: 14.14 MB / 170.7 MB Notification: Performance of matching and sorting (n=332): time 0.1011/0.4141, allocations: 17.48 MB / 235.4 MB, free: 15.16 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1878/0.602, allocations: 29.26 MB / 264.6 MB, free: 1.355 MB / 202.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.003175/0.6052, allocations: 1.339 MB / 266 MB, free: 20 kB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006183/0.6059, allocations: 77.7 kB / 266 MB, free: 15.94 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009835/0.6069, allocations: 0.9121 MB / 266.9 MB, free: 15.02 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001654/0.6085, allocations: 1.09 MB / 268 MB, free: 13.94 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.6089, allocations: 60 kB / 268.1 MB, free: 13.88 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0003092/0.6092, allocations: 433.3 kB / 268.5 MB, free: 13.45 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004686/0.6139, allocations: 1.244 MB / 269.8 MB, free: 12.2 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005232/0.6192, allocations: 1.54 MB / 271.3 MB, free: 10.6 MB / 218.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.06494/0.6842, allocations: 4.755 MB / 276.1 MB, free: 5.832 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.6842, allocations: 4 kB / 276.1 MB, free: 5.828 MB / 218.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01892/0.7032, allocations: 3.825 MB / 279.9 MB, free: 1.953 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.7033, allocations: 8 kB / 279.9 MB, free: 1.945 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.7033, allocations: 4 kB / 279.9 MB, free: 1.941 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01555/0.7189, allocations: 1.368 MB / 281.3 MB, free: 0.5508 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/0.7247, allocations: 0.5733 MB / 281.8 MB, free: 15.98 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.7377, allocations: 9.686 MB / 291.5 MB, free: 5.578 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004618/0.7423, allocations: 159.9 kB / 291.7 MB, free: 5.422 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008173/0.7432, allocations: 123.9 kB / 291.8 MB, free: 5.301 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: 20 * 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 (291): * Single equations (assignments): 282 * 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%) 5} * Non-linear torn systems: 2 {3 37,5 42} Notification: Performance of prepare postOptimizeDAE: time 0.002052/0.7453, allocations: 0.5677 MB / 292.4 MB, free: 4.723 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008405/0.7461, allocations: 256.9 kB / 292.6 MB, free: 4.469 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/0.7608, allocations: 4.099 MB / 296.7 MB, free: 312 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1609/0.9217, allocations: 3.507 MB / 300.2 MB, free: 74.5 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/0.9218, allocations: 3.656 kB / 300.2 MB, free: 74.5 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.911e-05/0.9219, allocations: 19.3 kB / 300.2 MB, free: 74.5 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/0.946, allocations: 8.379 MB / 308.6 MB, free: 71.56 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/0.9461, allocations: 4.812 kB / 308.6 MB, free: 71.56 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004765/0.9509, allocations: 497 kB / 309.1 MB, free: 71.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01497/0.9659, allocations: 1.429 MB / 310.5 MB, free: 71.27 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006731/0.9666, allocations: 85.8 kB / 310.6 MB, free: 71.22 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.9768, allocations: 9.705 MB / 320.3 MB, free: 62.55 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1958/1.173, allocations: 26.2 MB / 346.5 MB, free: 38.68 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0228/1.195, allocations: 5.931 MB / 352.5 MB, free: 32.57 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/1.198, allocations: 0.5853 MB / 353.1 MB, free: 31.97 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/1.199, allocations: 67.97 kB / 353.1 MB, free: 31.9 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005021/1.204, allocations: 143.9 kB / 353.3 MB, free: 31.76 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009138/1.205, allocations: 214.2 kB / 353.5 MB, free: 31.55 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005079/1.206, allocations: 107.9 kB / 353.6 MB, free: 31.45 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.003107/1.209, allocations: 1.043 MB / 354.6 MB, free: 30.41 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.209, allocations: 3.938 kB / 354.6 MB, free: 30.41 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00535/1.214, allocations: 0.7482 MB / 355.4 MB, free: 29.66 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (229): * Single equations (assignments): 221 * 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%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 37,5 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/1.215, allocations: 223.9 kB / 355.6 MB, free: 29.46 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.01398/1.229, allocations: 3.903 MB / 359.5 MB, free: 25.48 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.229, allocations: 7.938 kB / 359.5 MB, free: 25.48 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007767/1.237, allocations: 2.451 MB / 361.9 MB, free: 22.96 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/1.24, allocations: 336.9 kB / 362.3 MB, free: 22.64 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.255, allocations: 7.595 MB / 369.9 MB, free: 14.93 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.257, allocations: 1.728 MB / 371.6 MB, free: 13.16 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.259, allocations: 243.2 kB / 371.8 MB, free: 12.93 MB / 234.7 MB Notification: Performance of SimCode: time 1.212e-06/1.259, allocations: 0 / 371.8 MB, free: 12.93 MB / 234.7 MB Notification: Performance of Templates: time 0.3329/1.592, allocations: 118.1 MB / 490 MB, free: 7.656 MB / 250.7 MB