[: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.009/1.009, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08225/1.092, allocations: 27.51 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/1.248, allocations: 25.15 MB / 170.9 MB, free: 1.848 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0938/1.342, allocations: 44.3 MB / 215.2 MB, free: 9.371 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.343, allocations: 75.89 kB / 215.2 MB, free: 9.297 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.4953/1.838, allocations: 74.82 MB / 290 MB, free: 36.34 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.838, allocations: 15.38 kB / 290.1 MB, free: 36.33 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/1.841, allocations: 0.8371 MB / 290.9 MB, free: 35.87 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/1.855, allocations: 3.448 MB / 294.3 MB, free: 34.69 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/1.855, allocations: 71 kB / 294.4 MB, free: 34.69 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/1.857, allocations: 113.3 kB / 294.5 MB, free: 34.69 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02097/1.878, allocations: 5.22 MB / 299.7 MB, free: 33.19 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/1.896, allocations: 5.398 MB / 305.1 MB, free: 29.33 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/1.896, allocations: 15.78 kB / 305.2 MB, free: 29.31 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001216/1.897, allocations: 3.984 kB / 305.2 MB, free: 29.31 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.484e-05/1.897, allocations: 48 kB / 305.2 MB, free: 29.26 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0381/1.935, allocations: 10.01 MB / 315.2 MB, free: 19.18 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/1.946, allocations: 4.575 MB / 319.8 MB, free: 14.59 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01155/1.958, allocations: 4.504 MB / 324.3 MB, free: 10.08 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/1.958, allocations: 126.1 kB / 324.4 MB, free: 9.941 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/1.958, allocations: 56.66 kB / 324.5 MB, free: 9.879 MB / 218.7 MB Notification: Performance of pre-optimization done (n=225): time 5.09e-06/1.958, allocations: 0 / 324.5 MB, free: 9.879 MB / 218.7 MB Notification: Performance of matching and sorting (n=350): time 0.1272/2.085, allocations: 23.61 MB / 348.1 MB, free: 2.059 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/2.085, allocations: 146.1 kB / 348.2 MB, free: 1.895 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.1122/2.198, allocations: 6.871 MB / 355.1 MB, free: 75 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001598/2.199, allocations: 28.89 kB / 355.1 MB, free: 74.96 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002505/2.202, allocations: 1.439 MB / 356.6 MB, free: 74.84 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002708/2.205, allocations: 1.106 MB / 357.7 MB, free: 74.64 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/2.206, allocations: 0 / 357.7 MB, free: 74.64 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002705/2.206, allocations: 426.8 kB / 358.1 MB, free: 74.34 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01144/2.218, allocations: 4.604 MB / 362.7 MB, free: 74.33 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/2.231, allocations: 4.869 MB / 367.6 MB, free: 74.17 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/2.244, allocations: 4.879 MB / 372.4 MB, free: 74.14 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.703e-05/2.244, allocations: 4.875 kB / 372.4 MB, free: 74.14 MB / 234.7 MB Notification: Performance of matching and sorting (n=411) (initialization): time 0.03385/2.278, allocations: 11.5 MB / 384 MB, free: 65.98 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/2.278, allocations: 7.594 kB / 384 MB, free: 65.98 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/2.278, allocations: 4 kB / 384 MB, free: 65.97 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006068/2.284, allocations: 1.042 MB / 385 MB, free: 65.1 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008831/2.293, allocations: 0.7432 MB / 385.7 MB, free: 64.51 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/2.31, allocations: 12.74 MB / 398.5 MB, free: 51.46 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007672/2.318, allocations: 69.06 kB / 398.6 MB, free: 51.42 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/2.32, allocations: 469.8 kB / 399 MB, free: 51.04 MB / 234.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: advancedSolenoid.g_mLeakWork.Phi:VARIABLE(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 (292): * Single equations (assignments): 283 * 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: 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%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {3 37,3 49} Notification: Performance of prepare postOptimizeDAE: time 0.002504/2.322, allocations: 170.8 kB / 399.2 MB, free: 50.92 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003042/2.325, allocations: 0.8021 MB / 400 MB, free: 50.11 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03255/2.358, allocations: 11.68 MB / 411.7 MB, free: 40.22 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.43e-05/2.358, allocations: 36 kB / 411.7 MB, free: 40.18 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.984e-05/2.358, allocations: 4 kB / 411.7 MB, free: 40.18 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.844e-05/2.358, allocations: 23.36 kB / 411.7 MB, free: 40.18 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06299/2.421, allocations: 12.82 MB / 424.6 MB, free: 30.02 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.937e-05/2.421, allocations: 4 kB / 424.6 MB, free: 30.02 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009695/2.431, allocations: 0.5207 MB / 425.1 MB, free: 29.64 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008636/2.44, allocations: 0.9711 MB / 426 MB, free: 28.73 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002397/2.442, allocations: 131.9 kB / 426.2 MB, free: 28.6 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02206/2.464, allocations: 12.2 MB / 438.4 MB, free: 15.64 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07159/2.536, allocations: 12.32 MB / 450.7 MB, free: 3.215 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1573/2.694, allocations: 19.52 MB / 470.2 MB, free: 66.06 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07698/2.771, allocations: 27.46 MB / 497.7 MB, free: 51.96 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003148/2.774, allocations: 0.7442 MB / 498.4 MB, free: 51.2 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004138/2.778, allocations: 8 kB / 498.4 MB, free: 51.2 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008615/2.787, allocations: 91.19 kB / 498.5 MB, free: 51.14 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/2.788, allocations: 196.8 kB / 498.7 MB, free: 51.04 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001752/2.79, allocations: 460.6 kB / 499.2 MB, free: 50.67 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.01643/2.806, allocations: 5.411 MB / 0.4927 GB, free: 46.05 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.007531/2.814, allocations: 0.7767 MB / 0.4935 GB, free: 45.29 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedSolenoid.g_mLeakWork.Phi) * 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 (248): * Single equations (assignments): 238 * 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%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 2,(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.001417/2.815, allocations: 244.7 kB / 0.4937 GB, free: 45.15 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.01548/2.831, allocations: 7.741 MB / 0.5013 GB, free: 37.95 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/2.831, allocations: 0 / 0.5013 GB, free: 37.95 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009892/2.841, allocations: 4.454 MB / 0.5056 GB, free: 33.81 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006077/2.847, allocations: 411.8 kB / 0.506 GB, free: 33.47 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05174/2.899, allocations: 14.75 MB / 0.5204 GB, free: 20.41 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01821/2.917, allocations: 4.411 MB / 0.5247 GB, free: 17.03 MB / 234.7 MB Notification: Performance of SimCode: time 2.134e-06/2.917, allocations: 0 / 0.5247 GB, free: 17.03 MB / 234.7 MB