Notification: Performance of loadModel(Modelica): time 1.036/1.036, allocations: 111.2 MB / 118.4 MB, free: 15.6 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.254e-05, allocations: 4 kB / 145.9 MB, free: 4.059 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 25.16 MB / 171.1 MB, free: 1.875 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07841/0.2098, allocations: 44.79 MB / 215.9 MB, free: 8.805 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.2102, allocations: 71.91 kB / 215.9 MB, free: 8.734 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.2793/0.4894, allocations: 42.48 MB / 258.4 MB, free: 46.1 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0002059/0.4897, allocations: 46.03 kB / 258.5 MB, free: 46.1 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.008894/0.4986, allocations: 2.258 MB / 260.7 MB, free: 45.18 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.4987, allocations: 7.812 kB / 260.7 MB, free: 45.18 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.5001, allocations: 293.8 kB / 261 MB, free: 45.03 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.5038, allocations: 1.231 MB / 262.2 MB, free: 44.61 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.504, allocations: 66.97 kB / 262.3 MB, free: 44.61 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005454/0.5046, allocations: 120.1 kB / 262.4 MB, free: 44.61 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005529/0.5101, allocations: 1.713 MB / 264.1 MB, free: 44.61 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00604/0.5162, allocations: 1.799 MB / 265.9 MB, free: 44.49 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.443e-05/0.5163, allocations: 3.906 kB / 265.9 MB, free: 44.49 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/0.5166, allocations: 3.469 kB / 266 MB, free: 44.49 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.5167, allocations: 48.47 kB / 266 MB, free: 44.49 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02194/0.5386, allocations: 7.066 MB / 273.1 MB, free: 43.07 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.5438, allocations: 2.237 MB / 275.3 MB, free: 42.56 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/0.5477, allocations: 1.305 MB / 276.6 MB, free: 42.11 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/0.5481, allocations: 122.7 kB / 276.7 MB, free: 42.01 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.5482, allocations: 53.81 kB / 276.8 MB, free: 41.96 MB / 218.7 MB Notification: Performance of pre-optimization done (n=220): time 5.44e-06/0.5482, allocations: 0 / 276.8 MB, free: 41.96 MB / 218.7 MB Notification: Performance of matching and sorting (n=346): time 0.08759/0.6358, allocations: 13.95 MB / 290.7 MB, free: 36.86 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.6359, allocations: 86.7 kB / 290.8 MB, free: 36.79 MB / 218.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.002977/0.6389, allocations: 1.266 MB / 292.1 MB, free: 36.27 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007371/0.6397, allocations: 27.02 kB / 292.1 MB, free: 36.24 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008298/0.6405, allocations: 0.9523 MB / 293.1 MB, free: 35.49 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001572/0.6421, allocations: 1.093 MB / 294.2 MB, free: 34.61 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/0.6425, allocations: 5.25 kB / 294.2 MB, free: 34.61 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.6428, allocations: 425.2 kB / 294.6 MB, free: 34.25 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/0.6467, allocations: 1.372 MB / 295.9 MB, free: 33.56 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004033/0.6508, allocations: 1.641 MB / 297.6 MB, free: 31.96 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.02876/0.6797, allocations: 4.413 MB / 302 MB, free: 28.61 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.6797, allocations: 7.094 kB / 302 MB, free: 28.61 MB / 218.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01345/0.6932, allocations: 4.215 MB / 306.2 MB, free: 24.77 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.6933, allocations: 4.656 kB / 306.2 MB, free: 24.76 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.6933, allocations: 4 kB / 306.2 MB, free: 24.76 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004933/0.6983, allocations: 0.9445 MB / 307.2 MB, free: 23.95 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0065/0.7048, allocations: 0.6172 MB / 307.8 MB, free: 23.5 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.7157, allocations: 9.803 MB / 317.6 MB, free: 13.45 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005498/0.7213, allocations: 110.2 kB / 317.7 MB, free: 13.38 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009971/0.7223, allocations: 145.2 kB / 317.8 MB, free: 13.27 MB / 218.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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: advancedSolenoid.g_mLeakWork.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_mLeakWork.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 (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 (299): * Single equations (assignments): 290 * 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.00117/0.7235, allocations: 171.9 kB / 318 MB, free: 13.11 MB / 218.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01274/0.7363, allocations: 4.081 MB / 322.1 MB, free: 9.387 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/0.7377, allocations: 245 kB / 322.3 MB, free: 9.145 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.7508, allocations: 4.342 MB / 326.7 MB, free: 5.328 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01197/0.7628, allocations: 3.813 MB / 330.5 MB, free: 1.848 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.7629, allocations: 0 / 330.5 MB, free: 1.848 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-05/0.763, allocations: 22.05 kB / 330.5 MB, free: 1.84 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03339/0.7964, allocations: 9.567 MB / 340.1 MB, free: 9.156 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-05/0.7965, allocations: 4 kB / 340.1 MB, free: 9.152 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007429/0.8039, allocations: 0.5192 MB / 340.6 MB, free: 8.633 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005798/0.8098, allocations: 1.009 MB / 341.6 MB, free: 7.602 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007795/0.8106, allocations: 47.89 kB / 341.7 MB, free: 7.555 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1117/0.9224, allocations: 9.782 MB / 351.4 MB, free: 52.96 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1352/1.058, allocations: 27.58 MB / 379 MB, free: 43.16 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/1.076, allocations: 6.791 MB / 385.8 MB, free: 39.77 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002474/1.079, allocations: 0.7154 MB / 386.5 MB, free: 39.27 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001256/1.08, allocations: 9.5 kB / 386.5 MB, free: 39.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00513/1.085, allocations: 114 kB / 386.6 MB, free: 39.27 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008938/1.086, allocations: 203.4 kB / 386.8 MB, free: 39.23 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004749/1.087, allocations: 136.2 kB / 387 MB, free: 39.21 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002079/1.089, allocations: 0.9591 MB / 387.9 MB, free: 38.81 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.089, allocations: 0 / 387.9 MB, free: 38.81 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.005034/1.094, allocations: 0.7116 MB / 388.6 MB, free: 38.81 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (242): * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 3,(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.01949/1.113, allocations: 8.283 MB / 396.9 MB, free: 33.88 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.01057/1.124, allocations: 4.011 MB / 400.9 MB, free: 30.34 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.124, allocations: 0 / 400.9 MB, free: 30.34 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006758/1.131, allocations: 2.507 MB / 403.4 MB, free: 28 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/1.134, allocations: 268.9 kB / 403.7 MB, free: 27.81 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.153, allocations: 5.75 MB / 409.5 MB, free: 22.63 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/1.155, allocations: 1.742 MB / 411.2 MB, free: 21.23 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.004448/1.159, allocations: 363.1 kB / 411.6 MB, free: 20.98 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003632/1.163, allocations: 1.116 MB / 412.7 MB, free: 20 MB / 234.7 MB Notification: Performance of SimCode: time 1.523e-06/1.163, allocations: 4 kB / 412.7 MB, free: 20 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3048/1.468, allocations: 74.69 MB / 487.4 MB, free: 26.1 MB / 234.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004618/1.472, allocations: 205.3 kB / 487.6 MB, free: 25.82 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.284/8.757, allocations: 5.938 kB / 487.6 MB, free: 25.81 MB / 234.7 MB