[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.067/1.067, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1382/1.206, allocations: 27.51 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/1.386, allocations: 25.15 MB / 170.9 MB, free: 1.809 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/1.497, allocations: 44.72 MB / 215.6 MB, free: 8.938 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/1.497, allocations: 67.97 kB / 215.6 MB, free: 8.871 MB / 186.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.3641/1.861, allocations: 44.72 MB / 260.4 MB, free: 45.19 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/1.861, allocations: 14.5 kB / 260.4 MB, free: 45.19 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/1.863, allocations: 287.5 kB / 260.7 MB, free: 45.04 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005786/1.869, allocations: 1.246 MB / 261.9 MB, free: 44.62 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/1.869, allocations: 68.88 kB / 262 MB, free: 44.62 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006625/1.87, allocations: 117.2 kB / 262.1 MB, free: 44.62 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009075/1.879, allocations: 1.716 MB / 263.8 MB, free: 44.61 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/1.889, allocations: 1.784 MB / 265.6 MB, free: 44.5 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/1.89, allocations: 11.44 kB / 265.6 MB, free: 44.5 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008188/1.891, allocations: 2.812 kB / 265.6 MB, free: 44.5 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.853e-05/1.891, allocations: 50.22 kB / 265.7 MB, free: 44.5 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03401/1.925, allocations: 7.086 MB / 272.7 MB, free: 43.08 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005859/1.931, allocations: 1.23 MB / 274 MB, free: 43.06 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005676/1.936, allocations: 1.228 MB / 275.2 MB, free: 42.81 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005231/1.937, allocations: 119.6 kB / 275.3 MB, free: 42.71 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.629e-05/1.937, allocations: 62.72 kB / 275.4 MB, free: 42.66 MB / 218.7 MB Notification: Performance of pre-optimization done (n=220): time 8.405e-06/1.937, allocations: 6.656 kB / 275.4 MB, free: 42.66 MB / 218.7 MB Notification: Performance of matching and sorting (n=345): time 0.1252/2.062, allocations: 13.57 MB / 288.9 MB, free: 37.61 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/2.062, allocations: 87.12 kB / 289 MB, free: 37.55 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.005886/2.068, allocations: 1.264 MB / 290.3 MB, free: 37.02 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001002/2.069, allocations: 26.86 kB / 290.3 MB, free: 36.99 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009532/2.07, allocations: 0.6672 MB / 291 MB, free: 36.51 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002232/2.073, allocations: 1.083 MB / 292.1 MB, free: 35.64 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/2.073, allocations: 0 / 292.1 MB, free: 35.64 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0003569/2.074, allocations: 423.8 kB / 292.5 MB, free: 35.28 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00656/2.08, allocations: 1.34 MB / 293.8 MB, free: 34.68 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007884/2.088, allocations: 1.601 MB / 295.4 MB, free: 33.87 MB / 218.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: advancedSolenoid.armature.mass.v = $START.advancedSolenoid.armature.mass.v (if time < x_set.startTime then 0.0 else if time < x_set.startTime + x_set.duration then x_set.height / x_set.duration else 0.0 = $START.advancedSolenoid.armature.mass.v) Notification: Performance of analyzeInitialSystem (initialization): time 0.04968/2.138, allocations: 5.93 MB / 301.4 MB, free: 29.13 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/2.138, allocations: 8 kB / 301.4 MB, free: 29.12 MB / 218.7 MB Notification: Performance of matching and sorting (n=404) (initialization): time 0.02104/2.159, allocations: 4.201 MB / 305.6 MB, free: 25.29 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/2.159, allocations: 6.812 kB / 305.6 MB, free: 25.29 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-05/2.159, allocations: 7.125 kB / 305.6 MB, free: 25.29 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008309/2.168, allocations: 0.9809 MB / 306.6 MB, free: 24.45 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009943/2.178, allocations: 0.6076 MB / 307.2 MB, free: 23.99 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/2.198, allocations: 9.862 MB / 317 MB, free: 13.92 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006489/2.204, allocations: 94.88 kB / 317.1 MB, free: 13.85 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/2.205, allocations: 146.8 kB / 317.3 MB, free: 13.74 MB / 218.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: advancedSolenoid.armature.mass.v = $START.advancedSolenoid.armature.mass.v 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_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 (293): * Single equations (assignments): 286 * Array equations: 0 * 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%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 37,3 49} Notification: Performance of prepare postOptimizeDAE: time 0.0009948/2.206, allocations: 165.8 kB / 317.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/2.208, allocations: 245 kB / 317.7 MB, free: 13.37 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0239/2.231, allocations: 4.198 MB / 321.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-05/2.232, allocations: 32 kB / 321.9 MB, free: 9.668 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.773e-05/2.232, allocations: 4 kB / 321.9 MB, free: 9.664 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/2.232, allocations: 18 kB / 321.9 MB, free: 9.664 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03935/2.271, allocations: 8.867 MB / 330.8 MB, free: 2.371 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.464e-05/2.271, allocations: 4 kB / 330.8 MB, free: 2.367 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008102/2.279, allocations: 0.5377 MB / 331.3 MB, free: 1.926 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006989/2.286, allocations: 0.9106 MB / 332.2 MB, free: 0.9922 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001135/2.288, allocations: 47.91 kB / 332.3 MB, free: 0.9453 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/2.306, allocations: 9.672 MB / 342 MB, free: 6.676 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1648/2.47, allocations: 12.34 MB / 354.3 MB, free: 72.11 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03141/2.502, allocations: 6.519 MB / 360.8 MB, free: 71.32 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03385/2.536, allocations: 9.027 MB / 369.8 MB, free: 68.71 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002911/2.539, allocations: 0.7137 MB / 370.6 MB, free: 68.25 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/2.54, allocations: 6.281 kB / 370.6 MB, free: 68.25 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006022/2.546, allocations: 102.9 kB / 370.7 MB, free: 68.25 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001483/2.548, allocations: 208 kB / 370.9 MB, free: 68.22 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001044/2.549, allocations: 129.9 kB / 371 MB, free: 68.2 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.003756/2.553, allocations: 0.9603 MB / 372 MB, free: 67.79 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.008398/2.561, allocations: 0.627 MB / 372.6 MB, free: 67.79 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 ($STATESET1.x,advancedSolenoid.coil1.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedSolenoid.g_mLeakWork.Phi,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 (244): * 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: 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%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 38,3 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/2.563, allocations: 203.5 kB / 372.8 MB, free: 67.7 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.01665/2.58, allocations: 3.87 MB / 376.7 MB, free: 65.9 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/2.58, allocations: 0 / 376.7 MB, free: 65.9 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0108/2.59, allocations: 2.422 MB / 379.1 MB, free: 64.7 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004928/2.595, allocations: 255.9 kB / 379.3 MB, free: 64.63 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02753/2.623, allocations: 5.063 MB / 384.4 MB, free: 62.54 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007298/2.63, allocations: 2.028 MB / 386.4 MB, free: 61.75 MB / 234.7 MB Notification: Performance of SimCode: time 1.673e-06/2.63, allocations: 0 / 386.4 MB, free: 61.75 MB / 234.7 MB