Notification: Performance of loadModel(Modelica): time 1.048/1.048, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.296e-05, allocations: 3.938 kB / 145.9 MB, free: 4.039 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 25.15 MB / 171.1 MB, free: 1.742 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07451/0.2065, allocations: 44.38 MB / 215.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.2068, allocations: 67.95 kB / 215.5 MB, free: 9.035 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.3769/0.5837, allocations: 69.68 MB / 285.2 MB, free: 38.94 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.001013/0.5848, allocations: 115 kB / 285.3 MB, free: 38.93 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.01709/0.6019, allocations: 5.591 MB / 290.9 MB, free: 36.21 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.6019, allocations: 9.562 kB / 290.9 MB, free: 36.21 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.6051, allocations: 0.8538 MB / 291.8 MB, free: 35.75 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.6175, allocations: 3.483 MB / 295.2 MB, free: 34.57 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.6177, allocations: 68.97 kB / 295.3 MB, free: 34.57 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.6191, allocations: 141.9 kB / 295.5 MB, free: 34.56 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01346/0.6326, allocations: 5.223 MB / 300.7 MB, free: 32.45 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.6465, allocations: 5.431 MB / 306.1 MB, free: 28.22 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.6467, allocations: 4 kB / 306.1 MB, free: 28.22 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007894/0.6475, allocations: 16 kB / 306.1 MB, free: 28.2 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.6475, allocations: 48 kB / 306.2 MB, free: 28.16 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/0.6754, allocations: 10.01 MB / 316.2 MB, free: 18.06 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009934/0.6854, allocations: 5.483 MB / 321.7 MB, free: 12.51 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009095/0.6946, allocations: 4.582 MB / 326.3 MB, free: 7.918 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.6951, allocations: 126.9 kB / 326.4 MB, free: 7.781 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.6952, allocations: 60.66 kB / 326.4 MB, free: 7.715 MB / 218.7 MB Notification: Performance of pre-optimization done (n=225): time 5.089e-06/0.6952, allocations: 0 / 326.4 MB, free: 7.715 MB / 218.7 MB Notification: Performance of matching and sorting (n=351): time 0.2114/0.9066, allocations: 27.19 MB / 353.6 MB, free: 56.07 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.9068, allocations: 145.3 kB / 353.8 MB, free: 55.95 MB / 234.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.01508/0.9218, allocations: 6.876 MB / 360.6 MB, free: 55.54 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001316/0.9232, allocations: 43.36 kB / 360.7 MB, free: 55.51 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005733/0.929, allocations: 3.717 MB / 364.4 MB, free: 55.24 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00209/0.9311, allocations: 1.13 MB / 365.5 MB, free: 54.87 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009101/0.932, allocations: 17.19 kB / 365.5 MB, free: 54.87 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.9323, allocations: 426.7 kB / 366 MB, free: 54.51 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00963/0.9419, allocations: 4.63 MB / 370.6 MB, free: 53.4 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/0.952, allocations: 4.902 MB / 375.5 MB, free: 52.09 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.9634, allocations: 4.91 MB / 380.4 MB, free: 50.04 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.063e-05/0.9635, allocations: 4 kB / 380.4 MB, free: 50.04 MB / 234.7 MB Notification: Performance of matching and sorting (n=414) (initialization): time 0.02675/0.9903, allocations: 11.57 MB / 392 MB, free: 40 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.9904, allocations: 6.672 kB / 392 MB, free: 40 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.9904, allocations: 4 kB / 392 MB, free: 39.99 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005109/0.9955, allocations: 1.008 MB / 393 MB, free: 39.14 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007846/1.003, allocations: 0.7709 MB / 393.8 MB, free: 38.53 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.017, allocations: 12.71 MB / 406.5 MB, free: 25.51 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00697/1.024, allocations: 105.9 kB / 406.6 MB, free: 25.44 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001943/1.026, allocations: 479.5 kB / 407.1 MB, free: 25.05 MB / 234.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: advancedSolenoid.g_mAirWork.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux from port_p to port_n" type: Real advancedSolenoid.g_mFeYokeSide2.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux from port_p to port_n" type: Real advancedSolenoid.coil1.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux coupled into magnetic circuit" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirWork.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux from port_p to port_n" type: Real simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real simpleSolenoid.g_mFeYokeBot.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux from port_p to port_n" type: Real 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 (298): * Single equations (assignments): 287 * 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%) 4,(1,100.0%) 3,(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.002194/1.028, allocations: 182.3 kB / 407.2 MB, free: 24.91 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03169/1.06, allocations: 14.75 MB / 422 MB, free: 12.27 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002804/1.062, allocations: 0.8216 MB / 422.8 MB, free: 11.44 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04679/1.109, allocations: 15.23 MB / 438 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01516/1.124, allocations: 2.069 MB / 440.1 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.294e-05/1.125, allocations: 8 kB / 440.1 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/1.125, allocations: 19.92 kB / 440.1 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1592/1.284, allocations: 13.28 MB / 453.4 MB, free: 67.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.849e-05/1.284, allocations: 4.438 kB / 453.4 MB, free: 67.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005722/1.29, allocations: 0.5059 MB / 453.9 MB, free: 67.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005395/1.295, allocations: 1.046 MB / 455 MB, free: 67.69 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/1.296, allocations: 133 kB / 455.1 MB, free: 67.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.309, allocations: 12.36 MB / 467.5 MB, free: 58.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1199/1.429, allocations: 27.56 MB / 495 MB, free: 45.74 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04991/1.479, allocations: 23.21 MB / 0.5061 GB, free: 28.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/1.481, allocations: 0.7549 MB / 0.5068 GB, free: 27.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002825/1.484, allocations: 24 kB / 0.5068 GB, free: 27.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006298/1.49, allocations: 108.5 kB / 0.5069 GB, free: 27.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009332/1.491, allocations: 207.1 kB / 0.5071 GB, free: 27.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001346/1.493, allocations: 467.7 kB / 0.5076 GB, free: 27.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.01214/1.505, allocations: 5.414 MB / 0.5129 GB, free: 22.55 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.505, allocations: 0 / 0.5129 GB, free: 22.55 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.005563/1.511, allocations: 0.8502 MB / 0.5137 GB, free: 21.71 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (246): * Single equations (assignments): 236 * 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%) 2,(1,100.0%) 2,(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 37,4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.02549/1.536, allocations: 17.05 MB / 0.5303 GB, free: 5.562 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.1163/1.652, allocations: 7.895 MB / 0.5381 GB, free: 65.87 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.653, allocations: 0 / 0.5381 GB, free: 65.87 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008389/1.661, allocations: 4.553 MB / 0.5425 GB, free: 65.15 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00562/1.667, allocations: 423.2 kB / 0.5429 GB, free: 65.12 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04698/1.714, allocations: 16.71 MB / 0.5592 GB, free: 61.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01145/1.725, allocations: 4.113 MB / 0.5632 GB, free: 61.03 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.004364/1.73, allocations: 354.3 kB / 0.5636 GB, free: 60.96 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007293/1.737, allocations: 3.145 MB / 0.5666 GB, free: 60.21 MB / 250.7 MB Notification: Performance of SimCode: time 1.713e-06/1.737, allocations: 2.625 kB / 0.5666 GB, free: 60.21 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4281/2.165, allocations: 132.4 MB / 0.696 GB, free: 13.14 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004629/2.17, allocations: 198.8 kB / 0.6962 GB, free: 12.86 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.11/13.28, allocations: 2 kB / 0.6962 GB, free: 12.86 MB / 250.7 MB