[: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.117/1.117, allocations: 111.2 MB / 118.2 MB, free: 15.62 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1112/1.228, allocations: 27.5 MB / 145.7 MB, free: 4.148 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/1.351, allocations: 25.16 MB / 170.9 MB, free: 1.82 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06359/1.415, allocations: 36.33 MB / 207.2 MB, free: 1.32 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/1.415, allocations: 59.97 kB / 207.3 MB, free: 1.262 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.05932/1.474, allocations: 10.66 MB / 217.9 MB, free: 6.523 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.475, allocations: 15.94 kB / 217.9 MB, free: 6.508 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/1.475, allocations: 71.06 kB / 218 MB, free: 6.438 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.476, allocations: 419.3 kB / 218.4 MB, free: 5.988 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.953e-05/1.476, allocations: 20 kB / 218.4 MB, free: 5.969 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/1.477, allocations: 28 kB / 218.5 MB, free: 5.941 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002914/1.48, allocations: 0.5649 MB / 219 MB, free: 5.375 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/1.482, allocations: 0.6117 MB / 219.6 MB, free: 4.727 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/1.483, allocations: 0 / 219.6 MB, free: 4.727 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.483, allocations: 0 / 219.6 MB, free: 4.727 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/1.483, allocations: 19.94 kB / 219.6 MB, free: 4.707 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/1.495, allocations: 3.077 MB / 222.7 MB, free: 1.512 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/1.497, allocations: 436.1 kB / 223.2 MB, free: 1.074 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/1.498, allocations: 258.5 kB / 223.4 MB, free: 0.8203 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/1.498, allocations: 12.42 kB / 223.4 MB, free: 0.8047 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/1.5, allocations: 300.5 kB / 223.7 MB, free: 0.5039 MB / 186.7 MB Notification: Performance of pre-optimization done (n=52): time 5.11e-06/1.5, allocations: 4 kB / 223.7 MB, free: 0.5 MB / 186.7 MB Notification: Performance of matching and sorting (n=52): time 0.002217/1.502, allocations: 498.5 kB / 224.2 MB, free: 4 kB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.502, allocations: 59.84 kB / 224.3 MB, free: 15.93 MB / 202.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:1077:5-1078:65:writable] Warning: Parameter VIN2.nperiod has no value, and is fixed during initialization (fixed=true), using available start value (start=-1) as default value. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:1077:5-1078:65:writable] Warning: Parameter VIN1.nperiod has no value, and is fixed during initialization (fixed=true), using available start value (start=-1) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.503, allocations: 409 kB / 224.7 MB, free: 15.53 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/1.503, allocations: 25.7 kB / 224.7 MB, free: 15.5 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/1.504, allocations: 283.5 kB / 225 MB, free: 15.21 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/1.504, allocations: 173.5 kB / 225.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/1.504, allocations: 0 / 225.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002581/1.504, allocations: 366.8 kB / 225.5 MB, free: 14.68 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/1.505, allocations: 233.5 kB / 225.7 MB, free: 14.45 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/1.507, allocations: 440.4 kB / 226.1 MB, free: 13.92 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/1.508, allocations: 249.9 kB / 226.4 MB, free: 13.68 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/1.508, allocations: 4 kB / 226.4 MB, free: 13.68 MB / 202.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003142/1.511, allocations: 0.7181 MB / 227.1 MB, free: 12.95 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.511, allocations: 8 kB / 227.1 MB, free: 12.95 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.511, allocations: 4 kB / 227.1 MB, free: 12.94 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.139e-05/1.511, allocations: 12 kB / 227.1 MB, free: 12.93 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/1.515, allocations: 267.9 kB / 227.4 MB, free: 12.67 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.69e-05/1.515, allocations: 19.92 kB / 227.4 MB, free: 12.65 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/1.518, allocations: 183.7 kB / 227.6 MB, free: 12.47 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.518, allocations: 31.98 kB / 227.6 MB, free: 12.44 MB / 202.7 MB Warning: Assuming fixed start value for the following 8 variables: VIN1.signalSource.counter:DISCRETE(start = VIN1.signalSource.nperiod fixed = false protected = true ) "Period counter" type: Integer VIN2.signalSource.counter:DISCRETE(start = VIN2.signalSource.nperiod fixed = false protected = true ) "Period counter" type: Integer Nand.C7.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Nand.C4.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real VIN2.signalSource.counter2:DISCRETE(start = VIN2.signalSource.nperiod fixed = false protected = true ) type: Integer VIN2.signalSource.T0:DISCRETE(start = VIN2.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real VIN1.signalSource.counter2:DISCRETE(start = VIN1.signalSource.nperiod fixed = false protected = true ) type: Integer VIN1.signalSource.T0:DISCRETE(start = VIN1.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VIN1.signalSource.counter,VIN1.signalSource.counter,$PRE.VIN2.signalSource.counter,VIN2.signalSource.counter,$whenCondition2,$whenCondition1,$PRE.VIN1.signalSource.T0,VIN1.signalSource.T0,$PRE.VIN1.signalSource.counter2,VIN1.signalSource.counter2,$PRE.VIN2.signalSource.T0,VIN2.signalSource.T0,$PRE.VIN2.signalSource.counter2,VIN2.signalSource.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006004/1.519, allocations: 167.5 kB / 227.8 MB, free: 12.27 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/1.519, allocations: 51.34 kB / 227.8 MB, free: 12.22 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/1.519, allocations: 65.28 kB / 227.9 MB, free: 12.16 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/1.519, allocations: 4 kB / 227.9 MB, free: 12.16 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.519, allocations: 0 / 227.9 MB, free: 12.16 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/1.519, allocations: 4 kB / 227.9 MB, free: 12.15 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/1.521, allocations: 0.6265 MB / 228.5 MB, free: 11.49 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.522, allocations: 0 / 228.5 MB, free: 11.49 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/1.524, allocations: 191.8 kB / 228.7 MB, free: 11.3 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/1.524, allocations: 3.938 kB / 228.7 MB, free: 11.3 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/1.525, allocations: 15.98 kB / 228.7 MB, free: 11.28 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/1.525, allocations: 8 kB / 228.8 MB, free: 11.27 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.525, allocations: 0 / 228.8 MB, free: 11.27 MB / 202.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003446/1.528, allocations: 0.8116 MB / 229.6 MB, free: 10.44 MB / 202.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005105/1.533, allocations: 1.487 MB / 231.1 MB, free: 8.934 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/1.534, allocations: 140.3 kB / 231.2 MB, free: 8.777 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/1.534, allocations: 8.125 kB / 231.2 MB, free: 8.77 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/1.536, allocations: 115.9 kB / 231.3 MB, free: 8.656 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/1.536, allocations: 44.36 kB / 231.4 MB, free: 8.613 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.536, allocations: 19.98 kB / 231.4 MB, free: 8.594 MB / 202.7 MB Notification: Performance of sort global known variables: time 0.0008427/1.537, allocations: 295 kB / 231.7 MB, free: 8.305 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.002943/1.54, allocations: 147.6 kB / 231.8 MB, free: 8.16 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VIN1.signalSource.T0,VIN1.signalSource.counter,VIN1.signalSource.counter2,VIN2.signalSource.T0,VIN2.signalSource.counter,VIN2.signalSource.counter2) * Number of discrete states: 4 (VIN2.signalSource.counter,VIN1.signalSource.counter,VIN2.signalSource.counter2,VIN1.signalSource.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003222/1.541, allocations: 127 kB / 231.9 MB, free: 8.023 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0026/1.543, allocations: 0.5865 MB / 232.5 MB, free: 7.438 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.543, allocations: 0 / 232.5 MB, free: 7.438 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/1.544, allocations: 273.6 kB / 232.8 MB, free: 7.164 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/1.546, allocations: 67.19 kB / 232.8 MB, free: 7.102 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/1.55, allocations: 0.8372 MB / 233.7 MB, free: 6.234 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/1.552, allocations: 0.9438 MB / 234.6 MB, free: 5.266 MB / 202.7 MB Notification: Performance of SimCode: time 1.412e-06/1.552, allocations: 0 / 234.6 MB, free: 5.266 MB / 202.7 MB