Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003657/0.003657, allocations: 172.2 kB / 7.447 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.161/1.161, allocations: 170.6 MB / 178.4 MB, free: 15.37 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001604/0.001604, allocations: 120.3 kB / 217.7 MB, free: 8.141 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.273e-06/7.293e-06, allocations: 4 kB / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08147/0.08149, allocations: 38.77 MB / 300.5 MB, free: 3.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.363, allocations: 93.12 MB / 393.6 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.3633, allocations: 76.08 kB / 393.7 MB, free: 7.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.1599/0.5233, allocations: 71.62 MB / 465.3 MB, free: 5.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.5234, allocations: 16 kB / 465.3 MB, free: 5.734 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002798/0.5262, allocations: 1.23 MB / 466.6 MB, free: 4.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.5262, allocations: 8.031 kB / 466.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.5264, allocations: 122.6 kB / 466.7 MB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.5277, allocations: 0.7637 MB / 467.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.5277, allocations: 12 kB / 467.5 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.5278, allocations: 19.98 kB / 467.5 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004659/0.5283, allocations: 233 kB / 467.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.5288, allocations: 299.7 kB / 468 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5288, allocations: 0 / 468 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.5289, allocations: 0 / 468 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.5289, allocations: 8 kB / 468 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.5311, allocations: 1.244 MB / 469.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.5314, allocations: 117.9 kB / 469.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.5317, allocations: 174.6 kB / 469.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1717/0.7034, allocations: 9.23 MB / 478.8 MB, free: 113.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.7037, allocations: 140.4 kB / 478.9 MB, free: 113.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.735e-06/0.7037, allocations: 0 / 478.9 MB, free: 113.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005002/0.7042, allocations: 272.1 kB / 479.2 MB, free: 113.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.7043, allocations: 109.5 kB / 479.3 MB, free: 113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008575/0.7052, allocations: 0.7068 MB / 480 MB, free: 112.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.7052, allocations: 25.7 kB / 480 MB, free: 112.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.7054, allocations: 269.4 kB / 480.3 MB, free: 112.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.7055, allocations: 63.48 kB / 480.3 MB, free: 112.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.7055, allocations: 0 / 480.3 MB, free: 112.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.7056, allocations: 319.4 kB / 480.7 MB, free: 112.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.7057, allocations: 68.83 kB / 480.7 MB, free: 112.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.7059, allocations: 219.6 kB / 480.9 MB, free: 112.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.706, allocations: 95.39 kB / 481 MB, free: 112.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7061, allocations: 2.531 kB / 481 MB, free: 112.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004936/0.7066, allocations: 375.5 kB / 481.4 MB, free: 112.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.7066, allocations: 7.812 kB / 481.4 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/0.7066, allocations: 21.2 kB / 481.4 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7066, allocations: 11.78 kB / 481.4 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.707, allocations: 98.06 kB / 481.5 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.7071, allocations: 15.27 kB / 481.6 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.7075, allocations: 60.52 kB / 481.6 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.7076, allocations: 25.69 kB / 481.6 MB, free: 112.1 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001052/0.7077, allocations: 125.3 kB / 481.8 MB, free: 112 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.7078, allocations: 111.9 kB / 481.9 MB, free: 111.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.7089, allocations: 423.3 kB / 482.3 MB, free: 111.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.7089, allocations: 2.906 kB / 482.3 MB, free: 111.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7089, allocations: 0 / 482.3 MB, free: 111.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7089, allocations: 0 / 482.3 MB, free: 111.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.7095, allocations: 0.5333 MB / 482.8 MB, free: 111.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/0.7095, allocations: 18.5 kB / 482.8 MB, free: 111.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.7098, allocations: 71.3 kB / 482.9 MB, free: 111.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.7098, allocations: 2.312 kB / 482.9 MB, free: 111.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.7098, allocations: 6.812 kB / 482.9 MB, free: 111.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.7098, allocations: 6.906 kB / 482.9 MB, free: 111.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.7099, allocations: 3.938 kB / 482.9 MB, free: 111.7 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004355/0.7103, allocations: 353.7 kB / 483.3 MB, free: 111.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.7105, allocations: 200.8 kB / 483.5 MB, free: 111.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.7107, allocations: 11.5 kB / 483.5 MB, free: 111.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.711, allocations: 38.72 kB / 483.5 MB, free: 111.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.7111, allocations: 32.66 kB / 483.5 MB, free: 111.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.7111, allocations: 15.03 kB / 483.6 MB, free: 111.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0005343/0.7117, allocations: 0.5319 MB / 484.1 MB, free: 111.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006997/0.7124, allocations: 235 kB / 484.3 MB, free: 111.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000884/0.7133, allocations: 0.6345 MB / 485 MB, free: 111.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.7137, allocations: 235.4 kB / 485.2 MB, free: 111.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7137, allocations: 0 / 485.2 MB, free: 111.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.7139, allocations: 130 kB / 485.3 MB, free: 111.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.7144, allocations: 130.6 kB / 485.4 MB, free: 111 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.7163, allocations: 0.9731 MB / 486.4 MB, free: 110.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.7168, allocations: 1.037 MB / 487.5 MB, free: 110 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7168, allocations: 0 / 487.5 MB, free: 110 MB / 346.7 MB Notification: Performance of Templates: time 0.01987/0.7367, allocations: 10.87 MB / 498.3 MB, free: 109.5 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1)