Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008086/0.008086, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001827/0.001827, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001864/0.001864, allocations: 46.47 kB / 326.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1173, allocations: 46.64 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007729/0.125, allocations: 8.153 MB / 381.3 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1369, allocations: 10.97 MB / 392.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009768/0.1379, allocations: 59.5 kB / 392.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.1401, allocations: 0.813 MB / 393.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.1435, allocations: 1.211 MB / 394.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.1453, allocations: 0.6934 MB / 395.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003682/0.149, allocations: 2.646 MB / 397.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.1494, allocations: 353.7 kB / 398.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.1501, allocations: 0.5286 MB / 398.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006125/0.1507, allocations: 0.6211 MB / 399.2 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1508, allocations: 64 kB / 399.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.1525, allocations: 0.7065 MB / 400 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.1527, allocations: 226.6 kB / 400.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.1533, allocations: 0.7646 MB / 401 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.1554, allocations: 2.121 MB / 403.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1554, allocations: 4 kB / 403.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1554, allocations: 0 / 403.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.1555, allocations: 0 / 403.1 MB, free: 3.215 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003379/0.1589, allocations: 2.211 MB / 405.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1589, allocations: 8.031 kB / 405.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.1592, allocations: 218.4 kB / 405.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.1609, allocations: 1.308 MB / 406.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.1609, allocations: 37.31 kB / 406.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.161, allocations: 55.98 kB / 406.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.1622, allocations: 0.6938 MB / 407.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1623, allocations: 8 kB / 407.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.1623, allocations: 20 kB / 407.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.1624, allocations: 12 kB / 407.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.1636, allocations: 0.5751 MB / 408.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.167, allocations: 2.507 MB / 410.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.1683, allocations: 0.6193 MB / 411.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008741/0.1692, allocations: 0.5454 MB / 411.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008744/0.1779, allocations: 7.489 MB / 419.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007922/0.1788, allocations: 382 kB / 419.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.865e-06/0.1788, allocations: 0 / 419.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005418/0.1842, allocations: 2.082 MB / 421.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.1843, allocations: 93.48 kB / 421.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.1858, allocations: 1.439 MB / 423.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.1859, allocations: 37.7 kB / 423.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/0.1865, allocations: 0.8016 MB / 424.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.1866, allocations: 224.8 kB / 424.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.1868, allocations: 138.6 kB / 424.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.187, allocations: 333.9 kB / 424.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.1875, allocations: 253.9 kB / 425.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.1882, allocations: 458.2 kB / 425.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.1895, allocations: 0.7324 MB / 426.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1895, allocations: 0 / 426.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001917/0.1914, allocations: 1.136 MB / 427.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1914, allocations: 8.719 kB / 427.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/0.1916, allocations: 72 kB / 427.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.1927, allocations: 0.7069 MB / 428.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.1931, allocations: 107.9 kB / 428.4 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.1943, allocations: 1.124 MB / 429.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.1949, allocations: 91.3 kB / 429.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/0.195, allocations: 39.94 kB / 429.6 MB, free: 6.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.1953, allocations: 285.9 kB / 429.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.1955, allocations: 209.5 kB / 430.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.1976, allocations: 1.099 MB / 431.2 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.1977, allocations: 4 kB / 431.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1977, allocations: 0 / 431.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1977, allocations: 7.984 kB / 431.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009538/0.1986, allocations: 0.9755 MB / 432.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.963e-05/0.1988, allocations: 68 kB / 432.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.1991, allocations: 60.06 kB / 432.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009748/0.2001, allocations: 0.6711 MB / 433 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.2001, allocations: 23.92 kB / 433 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.2013, allocations: 1.092 MB / 434.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2013, allocations: 4 kB / 434.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.2036, allocations: 1.347 MB / 435.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.204, allocations: 282.5 kB / 435.7 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.2041, allocations: 12 kB / 435.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.2046, allocations: 35.95 kB / 435.8 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.2047, allocations: 48.38 kB / 435.8 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.2048, allocations: 31.92 kB / 435.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000976/0.2058, allocations: 0.9371 MB / 436.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.304e-06/0.2058, allocations: 8 kB / 436.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008602/0.2066, allocations: 435.3 kB / 437.2 MB, free: 15.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007273/0.2074, allocations: 472.1 kB / 437.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.2092, allocations: 0.8622 MB / 438.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2092, allocations: 0 / 438.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.2104, allocations: 0.5253 MB / 439.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006997/0.2111, allocations: 183.1 kB / 439.2 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.2157, allocations: 3.008 MB / 442.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.2163, allocations: 1.22 MB / 443.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003916/0.2167, allocations: 162.1 kB / 443.6 MB, free: 8.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2168, allocations: 75.44 kB / 443.7 MB, free: 8.543 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2168, allocations: 0 / 443.7 MB, free: 8.543 MB / 382.1 MB Notification: Performance of Templates: time 0.2221/0.439, allocations: 16.19 MB / 459.9 MB, free: 70.95 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)