Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=198,variableFilter="",fileNamePrefix="Modelica_3.1_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.007198/0.007198, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001683/0.001683, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.407/1.407, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.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.001392/0.001392, allocations: 54.84 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09232, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006022/0.09839, allocations: 5.391 MB / 378.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.1175, allocations: 18.49 MB / 397.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1187, allocations: 23.81 kB / 397.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.1216, allocations: 0.8221 MB / 397.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005992/0.1276, allocations: 1.569 MB / 399.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004344/0.132, allocations: 1.252 MB / 400.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.135, allocations: 1.769 MB / 402.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.1354, allocations: 173.2 kB / 402.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.136, allocations: 330.5 kB / 403 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.1364, allocations: 357.8 kB / 403.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.1365, allocations: 32 kB / 403.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.1397, allocations: 1.12 MB / 404.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1398, allocations: 119.2 kB / 404.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.1402, allocations: 429.3 kB / 405 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.1425, allocations: 1.62 MB / 406.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1425, allocations: 0 / 406.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1426, allocations: 0 / 406.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.1426, allocations: 0 / 406.6 MB, free: 15.68 MB / 350.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.00206/0.1446, allocations: 1.397 MB / 408 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1447, allocations: 11.97 kB / 408 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.1448, allocations: 114.6 kB / 408.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009262/0.1458, allocations: 0.7822 MB / 408.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1458, allocations: 12.56 kB / 409 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.1459, allocations: 31.92 kB / 409 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.1466, allocations: 344.7 kB / 409.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1466, allocations: 0 / 409.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.1467, allocations: 4 kB / 409.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1467, allocations: 8 kB / 409.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008327/0.1475, allocations: 346 kB / 409.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.1494, allocations: 1.238 MB / 410.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007607/0.1502, allocations: 266.6 kB / 411.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.1506, allocations: 228.9 kB / 411.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0078/0.1585, allocations: 7.794 MB / 419.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005652/0.159, allocations: 203.3 kB / 419.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.085e-06/0.1591, allocations: 0 / 419.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001421/0.1605, allocations: 495.9 kB / 419.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.1606, allocations: 59.39 kB / 419.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.1619, allocations: 0.8828 MB / 420.8 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.162, allocations: 33.7 kB / 420.8 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/0.1625, allocations: 468.2 kB / 421.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.1626, allocations: 55.34 kB / 421.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.1628, allocations: 85.52 kB / 421.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1629, allocations: 322 kB / 421.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.1633, allocations: 119.9 kB / 421.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.1637, allocations: 261.8 kB / 422.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/0.1645, allocations: 389.6 kB / 422.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.1645, allocations: 4 kB / 422.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001033/0.1656, allocations: 0.4963 MB / 423 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.1656, allocations: 11.94 kB / 423 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.485e-05/0.1657, allocations: 24 kB / 423 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.1657, allocations: 8 kB / 423 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.166, allocations: 83.81 kB / 423.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.1661, allocations: 7.984 kB / 423.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.1664, allocations: 63.69 kB / 423.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.1665, allocations: 24 kB / 423.2 MB, free: 13.64 MB / 366.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.0002833/0.1668, allocations: 209.6 kB / 423.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.1669, allocations: 110.6 kB / 423.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.1682, allocations: 475.7 kB / 424 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1683, allocations: 0 / 424 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1683, allocations: 4 kB / 424 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1683, allocations: 4 kB / 424 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.169, allocations: 0.5633 MB / 424.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/0.169, allocations: 19.98 kB / 424.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.1693, allocations: 47.95 kB / 424.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.1693, allocations: 7.938 kB / 424.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.1693, allocations: 12 kB / 424.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1693, allocations: 4 kB / 424.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1693, allocations: 3.984 kB / 424.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.1702, allocations: 442.6 kB / 425.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.1705, allocations: 203.6 kB / 425.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.1706, allocations: 8 kB / 425.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.1709, allocations: 23.95 kB / 425.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.171, allocations: 35.91 kB / 425.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.171, allocations: 19.94 kB / 425.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007119/0.1718, allocations: 0.596 MB / 426 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1718, allocations: 0 / 426 MB, free: 10.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006874/0.1725, allocations: 219.8 kB / 426.2 MB, free: 10.53 MB / 366.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.000855/0.1733, allocations: 488.1 kB / 426.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009378/0.1743, allocations: 353.4 kB / 427 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1743, allocations: 1.188 kB / 427 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.1747, allocations: 185.6 kB / 427.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.1754, allocations: 140.5 kB / 427.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.1779, allocations: 1.451 MB / 428.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.1784, allocations: 0.9604 MB / 429.7 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.1787, allocations: 98.06 kB / 429.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.1788, allocations: 51.44 kB / 429.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1788, allocations: 0 / 429.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of Templates: time 0.0221/0.2009, allocations: 12.87 MB / 442.8 MB, free: 9.848 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1)