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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009982/0.0009979, allocations: 90.11 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 177 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004521, allocations: 8 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09429, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00464/0.09899, allocations: 4.997 MB / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01869/0.1177, allocations: 18.36 MB / 351.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009764/0.1187, allocations: 7.938 kB / 351.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.1212, allocations: 0.7579 MB / 352.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005072/0.1263, allocations: 1.279 MB / 353.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004911/0.1312, allocations: 1.059 MB / 354.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003206/0.1345, allocations: 1.71 MB / 356.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.1348, allocations: 161.7 kB / 356.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.1353, allocations: 306.5 kB / 356.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.1356, allocations: 341.8 kB / 357.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.1357, allocations: 20 kB / 357.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.1392, allocations: 1.105 MB / 358.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1393, allocations: 99.3 kB / 358.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.1398, allocations: 443 kB / 358.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.1423, allocations: 1.553 MB / 360.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1423, allocations: 0 / 360.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1423, allocations: 4 kB / 360.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1423, allocations: 0 / 360.5 MB, free: 3.441 MB / 302.1 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.002159/0.1445, allocations: 1.266 MB / 361.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1445, allocations: 11.97 kB / 361.8 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.1447, allocations: 118.6 kB / 361.9 MB, free: 1.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.1458, allocations: 0.786 MB / 362.7 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1459, allocations: 20.55 kB / 362.7 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.1459, allocations: 23.94 kB / 362.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008113/0.1468, allocations: 356.7 kB / 363.1 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1468, allocations: 0 / 363.1 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.1468, allocations: 12 kB / 363.1 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1468, allocations: 11.98 kB / 363.1 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/0.1478, allocations: 390 kB / 363.5 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.1498, allocations: 1.249 MB / 364.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/0.1508, allocations: 306.6 kB / 365 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.1513, allocations: 245 kB / 365.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007887/0.1592, allocations: 7.794 MB / 373 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/0.1598, allocations: 231.1 kB / 373.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.404e-06/0.1599, allocations: 0 / 373.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001411/0.1613, allocations: 0.5509 MB / 373.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1613, allocations: 59.34 kB / 373.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.1624, allocations: 0.879 MB / 374.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.1624, allocations: 29.7 kB / 374.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.1628, allocations: 476.2 kB / 375.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.1628, allocations: 55.23 kB / 375.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1629, allocations: 33.7 kB / 375.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.163, allocations: 318 kB / 375.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.1634, allocations: 151.8 kB / 375.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.1639, allocations: 277.9 kB / 376.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/0.1648, allocations: 449.4 kB / 376.5 MB, free: 1.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1648, allocations: 0 / 376.5 MB, free: 1.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001096/0.1659, allocations: 0.5391 MB / 377 MB, free: 1.418 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1659, allocations: 11.94 kB / 377.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.428e-05/0.166, allocations: 20 kB / 377.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.166, allocations: 8 kB / 377.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.1663, allocations: 96.31 kB / 377.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.1664, allocations: 15.92 kB / 377.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.1668, allocations: 59.66 kB / 377.3 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/0.1668, allocations: 20 kB / 377.3 MB, free: 1.191 MB / 318.1 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 (VDS.counter,$PRE.VDS.counter,VGS.counter,$PRE.VGS.counter,VGS.counter2,$PRE.VGS.counter2,VGS.T0,$PRE.VGS.T0,VDS.counter2,$PRE.VDS.counter2,VDS.T0,$PRE.VDS.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.1671, allocations: 213.7 kB / 377.5 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/0.1672, allocations: 110.6 kB / 377.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.1685, allocations: 0.5111 MB / 378.1 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1685, allocations: 4 kB / 378.1 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1685, allocations: 4 kB / 378.1 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1686, allocations: 0 / 378.1 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1719/0.3405, allocations: 0.5631 MB / 378.7 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-05/0.3406, allocations: 18.31 kB / 378.7 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.3409, allocations: 53.19 kB / 378.7 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.3409, allocations: 5.5 kB / 378.7 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.341, allocations: 11.59 kB / 378.8 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.341, allocations: 9.625 kB / 378.8 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.341, allocations: 1.25 kB / 378.8 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3421, allocations: 482.8 kB / 379.2 MB, free: 55.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.3424, allocations: 203.1 kB / 379.4 MB, free: 55.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.631e-05/0.3425, allocations: 11.52 kB / 379.5 MB, free: 55.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.3428, allocations: 36.22 kB / 379.5 MB, free: 55.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3429, allocations: 32.69 kB / 379.5 MB, free: 55.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.343, allocations: 22.84 kB / 379.5 MB, free: 55.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007688/0.3438, allocations: 0.5901 MB / 380.1 MB, free: 55.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3438, allocations: 0 / 380.1 MB, free: 55.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007885/0.3446, allocations: 221.2 kB / 380.3 MB, free: 55.41 MB / 318.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007685/0.3453, allocations: 475.3 kB / 380.8 MB, free: 55.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009842/0.3463, allocations: 391.5 kB / 381.2 MB, free: 55.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3464, allocations: 3.906 kB / 381.2 MB, free: 55.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.3469, allocations: 203.5 kB / 381.4 MB, free: 55.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.3476, allocations: 139.4 kB / 381.5 MB, free: 55.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.3502, allocations: 1.773 MB / 383.3 MB, free: 54.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.3507, allocations: 0.9613 MB / 384.3 MB, free: 53.67 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003809/0.3511, allocations: 97.69 kB / 384.4 MB, free: 53.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.3512, allocations: 49.64 kB / 384.4 MB, free: 53.66 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3512, allocations: 3.906 kB / 384.4 MB, free: 53.66 MB / 318.1 MB Notification: Performance of Templates: time 0.02086/0.3721, allocations: 12.24 MB / 396.7 MB, free: 48.2 MB / 318.1 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)