Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001719/0.00172, allocations: 195.2 kB / 8.139 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.089/1.089, allocations: 194.2 MB / 202.8 MB, free: 8.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001697/0.001697, allocations: 120.3 kB / 247.8 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.64e-06/5.66e-06, allocations: 0 / 297.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07138/0.0714, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2132/0.2846, allocations: 96.95 MB / 439 MB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.2849, allocations: 73.39 kB / 439.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1543/0.4392, allocations: 70.36 MB / 0.4975 GB, free: 15.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.628e-05/0.4392, allocations: 12 kB / 0.4975 GB, free: 15.21 MB / 394.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.002473/0.4417, allocations: 1.226 MB / 0.4987 GB, free: 13.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4418, allocations: 12.02 kB / 0.4987 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.442, allocations: 114.6 kB / 0.4988 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.4432, allocations: 0.7639 MB / 0.4996 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.4433, allocations: 8 kB / 0.4996 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.4433, allocations: 23.84 kB / 0.4996 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004734/0.4438, allocations: 233.1 kB / 0.4998 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.4443, allocations: 299.6 kB / 0.5001 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4443, allocations: 0 / 0.5001 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.4444, allocations: 3.984 kB / 0.5001 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.4444, allocations: 12 kB / 0.5001 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.4466, allocations: 1.228 MB / 0.5013 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.4468, allocations: 118 kB / 0.5014 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.4471, allocations: 173 kB / 0.5016 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.4575, allocations: 9.239 MB / 0.5106 GB, free: 292 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.4578, allocations: 136.9 kB / 0.5108 GB, free: 144 kB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 2.524e-06/0.4578, allocations: 3.938 kB / 0.5108 GB, free: 140 kB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1322/0.59, allocations: 264.6 kB / 0.511 GB, free: 66.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.5901, allocations: 110.1 kB / 0.5111 GB, free: 66.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009689/0.5911, allocations: 0.7048 MB / 0.5118 GB, free: 66.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.5911, allocations: 29.55 kB / 0.5118 GB, free: 66.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.5913, allocations: 264.8 kB / 0.5121 GB, free: 66.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.5914, allocations: 61.89 kB / 0.5122 GB, free: 66.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.5914, allocations: 0 / 0.5122 GB, free: 66.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.5914, allocations: 321.8 kB / 0.5125 GB, free: 65.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.5916, allocations: 64.69 kB / 0.5125 GB, free: 65.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.5918, allocations: 222.5 kB / 0.5127 GB, free: 65.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.5919, allocations: 96.11 kB / 0.5128 GB, free: 65.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.592, allocations: 3.344 kB / 0.5128 GB, free: 65.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005672/0.5925, allocations: 375.8 kB / 0.5132 GB, free: 65.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5926, allocations: 5.812 kB / 0.5132 GB, free: 65.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-05/0.5927, allocations: 19.53 kB / 0.5132 GB, free: 65.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5927, allocations: 6.281 kB / 0.5132 GB, free: 65.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.5931, allocations: 99.75 kB / 0.5133 GB, free: 65.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.5931, allocations: 9.562 kB / 0.5133 GB, free: 65.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.5937, allocations: 71.91 kB / 0.5134 GB, free: 65.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.5937, allocations: 22.55 kB / 0.5134 GB, free: 65.63 MB / 394.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.0001164/0.5939, allocations: 117.2 kB / 0.5135 GB, free: 65.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.594, allocations: 114.9 kB / 0.5136 GB, free: 65.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.5952, allocations: 431.9 kB / 0.514 GB, free: 65.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5952, allocations: 2.438 kB / 0.514 GB, free: 65.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5952, allocations: 3.75 kB / 0.514 GB, free: 65.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5952, allocations: 2.094 kB / 0.514 GB, free: 65.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.5958, allocations: 0.5306 MB / 0.5146 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/0.5958, allocations: 15.62 kB / 0.5146 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.5961, allocations: 63.75 kB / 0.5146 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5961, allocations: 3.625 kB / 0.5146 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.5962, allocations: 13.39 kB / 0.5147 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5962, allocations: 0 / 0.5147 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5962, allocations: 7.469 kB / 0.5147 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003975/0.5966, allocations: 363.1 kB / 0.515 GB, free: 65.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.5969, allocations: 203.8 kB / 0.5152 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.597, allocations: 7.438 kB / 0.5152 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.5974, allocations: 37.39 kB / 0.5153 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.5975, allocations: 30.06 kB / 0.5153 GB, free: 64.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.5975, allocations: 15.05 kB / 0.5153 GB, free: 64.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000523/0.5981, allocations: 0.538 MB / 0.5158 GB, free: 64.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000662/0.5987, allocations: 228.2 kB / 0.516 GB, free: 64.77 MB / 394.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.0007726/0.5995, allocations: 0.6243 MB / 0.5166 GB, free: 64.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.5999, allocations: 241.2 kB / 0.5169 GB, free: 64.65 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5999, allocations: 0 / 0.5169 GB, free: 64.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.6001, allocations: 134.2 kB / 0.517 GB, free: 64.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.6006, allocations: 132.9 kB / 0.5171 GB, free: 64.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.6025, allocations: 0.9727 MB / 0.5181 GB, free: 64.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.603, allocations: 1.031 MB / 0.5191 GB, free: 63.58 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.603, allocations: 6.422 kB / 0.5191 GB, free: 63.58 MB / 394.7 MB Notification: Performance of Templates: time 0.01791/0.6209, allocations: 10.87 MB / 0.5297 GB, free: 63.04 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1)