[: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.425/1.425, allocations: 111.2 MB / 118.2 MB, free: 15.62 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1289/1.554, allocations: 27.5 MB / 145.7 MB, free: 4.148 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/1.724, allocations: 25.16 MB / 170.9 MB, free: 1.824 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07657/1.8, allocations: 35.97 MB / 206.8 MB, free: 1.688 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.801, allocations: 63.91 kB / 206.9 MB, free: 1.625 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.02802/1.829, allocations: 6.048 MB / 212.9 MB, free: 11.5 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.829, allocations: 11.94 kB / 212.9 MB, free: 11.49 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/1.829, allocations: 43.53 kB / 213 MB, free: 11.45 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/1.83, allocations: 267.4 kB / 213.2 MB, free: 11.14 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/1.83, allocations: 64.06 kB / 213.3 MB, free: 11.07 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/1.83, allocations: 27.91 kB / 213.3 MB, free: 11.04 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006261/1.83, allocations: 181.3 kB / 213.5 MB, free: 10.86 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/1.831, allocations: 273.5 kB / 213.8 MB, free: 10.58 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.831, allocations: 0 / 213.8 MB, free: 10.58 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/1.831, allocations: 4 kB / 213.8 MB, free: 10.57 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/1.831, allocations: 8 kB / 213.8 MB, free: 10.57 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004615/1.836, allocations: 1.34 MB / 215.1 MB, free: 9.137 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/1.836, allocations: 86.23 kB / 215.2 MB, free: 9.047 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/1.837, allocations: 80.84 kB / 215.3 MB, free: 8.965 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/1.837, allocations: 4 kB / 215.3 MB, free: 8.961 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/1.837, allocations: 137.9 kB / 215.4 MB, free: 8.805 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 2.805e-06/1.837, allocations: 0 / 215.4 MB, free: 8.805 MB / 186.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009128/1.838, allocations: 198.5 kB / 215.6 MB, free: 8.602 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/1.838, allocations: 106.8 kB / 215.7 MB, free: 8.473 MB / 186.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter resistor2.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter resistor1.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/1.838, allocations: 200 kB / 215.9 MB, free: 8.273 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/1.838, allocations: 25.7 kB / 216 MB, free: 8.242 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/1.839, allocations: 191.7 kB / 216.1 MB, free: 8.051 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/1.839, allocations: 63.19 kB / 216.2 MB, free: 7.988 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/1.839, allocations: 0 / 216.2 MB, free: 7.988 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/1.839, allocations: 330.7 kB / 216.5 MB, free: 7.656 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/1.839, allocations: 59.98 kB / 216.6 MB, free: 7.598 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.839, allocations: 150.2 kB / 216.7 MB, free: 7.41 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/1.839, allocations: 64.66 kB / 216.8 MB, free: 7.348 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.84, allocations: 4.031 kB / 216.8 MB, free: 7.344 MB / 186.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001063/1.841, allocations: 278.1 kB / 217.1 MB, free: 7.062 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.841, allocations: 4 kB / 217.1 MB, free: 7.059 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.841, allocations: 4 kB / 217.1 MB, free: 7.055 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/1.841, allocations: 60.97 kB / 217.1 MB, free: 6.992 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/1.842, allocations: 83.89 kB / 217.2 MB, free: 6.91 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/1.843, allocations: 1.264 MB / 218.5 MB, free: 5.531 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/1.844, allocations: 39.73 kB / 218.5 MB, free: 5.492 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/1.844, allocations: 16.09 kB / 218.5 MB, free: 5.477 MB / 186.7 MB Warning: Assuming fixed start value for the following 5 variables: switch2.quenched:DISCRETE(fixed = false protected = true ) type: Boolean switch2.tSwitch:DISCRETE(unit = "s" fixed = false protected = true ) type: Real switch2.off:DISCRETE(fixed = false protected = true ) type: Boolean inductor1.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real inductor2.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch2.v:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.switch2.off,switch2.off,$PRE.switch2.tSwitch,switch2.tSwitch,$PRE.switch2.quenched,switch2.quenched) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003064/1.845, allocations: 122.5 kB / 218.7 MB, free: 5.352 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/1.845, allocations: 19.72 kB / 218.7 MB, free: 5.332 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/1.845, allocations: 33.89 kB / 218.7 MB, free: 5.301 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.845, allocations: 0 / 218.7 MB, free: 5.301 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.845, allocations: 4 kB / 218.7 MB, free: 5.297 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.845, allocations: 3.984 kB / 218.7 MB, free: 5.293 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006791/1.846, allocations: 282 kB / 219 MB, free: 4.98 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.846, allocations: 3.938 kB / 219 MB, free: 4.977 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008019/1.847, allocations: 67.89 kB / 219.1 MB, free: 4.91 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/1.847, allocations: 56.81 kB / 219.1 MB, free: 4.852 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/1.847, allocations: 7.906 kB / 219.1 MB, free: 4.844 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/1.849, allocations: 1.241 MB / 220.4 MB, free: 3.488 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.849, allocations: 0 / 220.4 MB, free: 3.488 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001514/1.851, allocations: 310.9 kB / 220.7 MB, free: 3.168 MB / 186.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00179/1.853, allocations: 0.7407 MB / 221.4 MB, free: 2.402 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/1.853, allocations: 116.8 kB / 221.5 MB, free: 2.27 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/1.853, allocations: 3.984 kB / 221.5 MB, free: 2.266 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/1.854, allocations: 24.05 kB / 221.6 MB, free: 2.242 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.854, allocations: 15.97 kB / 221.6 MB, free: 2.227 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/1.854, allocations: 11.98 kB / 221.6 MB, free: 2.215 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0003169/1.854, allocations: 152.4 kB / 221.7 MB, free: 2.07 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001689/1.856, allocations: 79.69 kB / 221.8 MB, free: 1.992 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor1.i,inductor2.i) * Number of discrete variables: 4 ($whenCondition1,switch2.off,switch2.tSwitch,switch2.quenched) * Number of discrete states: 2 (switch2.quenched,switch2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002349/1.856, allocations: 115.2 kB / 221.9 MB, free: 1.867 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008584/1.857, allocations: 267 kB / 222.2 MB, free: 1.598 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.857, allocations: 0 / 222.2 MB, free: 1.598 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003987/1.858, allocations: 173.6 kB / 222.3 MB, free: 1.418 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/1.858, allocations: 40.91 kB / 222.4 MB, free: 1.379 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.86, allocations: 426.7 kB / 222.8 MB, free: 0.9336 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000556/1.86, allocations: 0.8021 MB / 223.6 MB, free: 108 kB / 186.7 MB Notification: Performance of SimCode: time 1.152e-06/1.86, allocations: 0 / 223.6 MB, free: 108 kB / 186.7 MB