Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.007572/0.007572, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001792/0.001792, allocations: 199.8 kB / 16.68 MB, free: 5.965 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.399/1.399, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001319/0.00132, allocations: 61.5 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.09017, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007772/0.09798, allocations: 8.168 MB / 381.3 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.1119, allocations: 10.96 MB / 392.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.1144, allocations: 59.5 kB / 392.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.1168, allocations: 0.8208 MB / 393.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.1222, allocations: 1.211 MB / 394.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.1243, allocations: 0.6934 MB / 395.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.1282, allocations: 2.638 MB / 397.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.1288, allocations: 365.6 kB / 398.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006345/0.1294, allocations: 0.5247 MB / 398.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.13, allocations: 0.625 MB / 399.2 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1301, allocations: 64 kB / 399.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.1316, allocations: 0.7104 MB / 400 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.1318, allocations: 222.6 kB / 400.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006546/0.1324, allocations: 0.7686 MB / 401 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.1345, allocations: 2.113 MB / 403.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1345, allocations: 0 / 403.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1345, allocations: 0 / 403.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.1345, allocations: 0 / 403.1 MB, free: 3.223 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.003121/0.1376, allocations: 2.215 MB / 405.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1377, allocations: 8.031 kB / 405.3 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.1379, allocations: 218.4 kB / 405.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.1397, allocations: 1.308 MB / 406.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.1397, allocations: 41.3 kB / 406.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.1398, allocations: 56 kB / 406.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.1411, allocations: 0.6978 MB / 407.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1411, allocations: 0 / 407.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.1412, allocations: 20 kB / 407.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1412, allocations: 16 kB / 407.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.1424, allocations: 0.5712 MB / 408.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00329/0.1457, allocations: 2.515 MB / 410.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.147, allocations: 0.6154 MB / 411.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008607/0.1478, allocations: 0.5376 MB / 411.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008805/0.1566, allocations: 7.496 MB / 419.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007667/0.1575, allocations: 382 kB / 419.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.766e-06/0.1575, allocations: 0 / 419.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005561/0.163, allocations: 2.079 MB / 421.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.1631, allocations: 93.42 kB / 422 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.1648, allocations: 1.439 MB / 423.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.1648, allocations: 37.7 kB / 423.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000607/0.1655, allocations: 0.7977 MB / 424.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.1656, allocations: 228.7 kB / 424.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.1658, allocations: 138.6 kB / 424.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.166, allocations: 338 kB / 424.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.1666, allocations: 249.8 kB / 425.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/0.1673, allocations: 458.3 kB / 425.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.1686, allocations: 0.7402 MB / 426.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1686, allocations: 0 / 426.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002043/0.1706, allocations: 1.132 MB / 427.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.1707, allocations: 8 kB / 427.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.1708, allocations: 75.98 kB / 427.6 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.172, allocations: 0.6915 MB / 428.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.1725, allocations: 111.8 kB / 428.4 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.1738, allocations: 1.124 MB / 429.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.1745, allocations: 91.3 kB / 429.6 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.1746, allocations: 40 kB / 429.6 MB, free: 6.938 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.0004909/0.1751, allocations: 293.9 kB / 429.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.1753, allocations: 205.5 kB / 430.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.1775, allocations: 1.099 MB / 431.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1775, allocations: 4 kB / 431.2 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1776, allocations: 4 kB / 431.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1776, allocations: 0 / 431.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1787, allocations: 0.9755 MB / 432.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001082/0.1788, allocations: 75.98 kB / 432.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.1791, allocations: 47.95 kB / 432.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.1802, allocations: 0.6711 MB / 433 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.1803, allocations: 23.92 kB / 433 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.1816, allocations: 1.096 MB / 434.1 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1816, allocations: 0 / 434.1 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.1842, allocations: 1.355 MB / 435.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.1847, allocations: 282.5 kB / 435.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.1848, allocations: 15.98 kB / 435.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.1853, allocations: 31.97 kB / 435.8 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.1854, allocations: 44.38 kB / 435.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.1855, allocations: 31.98 kB / 435.8 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00131/0.1868, allocations: 0.9488 MB / 436.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1868, allocations: 0 / 436.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001043/0.1879, allocations: 427.4 kB / 437.2 MB, free: 15.15 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.000857/0.1887, allocations: 484 kB / 437.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.1908, allocations: 0.8545 MB / 438.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1908, allocations: 4 kB / 438.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.1919, allocations: 0.5254 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.0007812/0.1927, allocations: 179 kB / 439.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/0.1977, allocations: 3.012 MB / 442.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.1983, allocations: 1.216 MB / 443.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.1988, allocations: 166.1 kB / 443.6 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.1989, allocations: 75.44 kB / 443.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1989, allocations: 0 / 443.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of Templates: time 0.2411/0.44, allocations: 16.18 MB / 459.9 MB, free: 71.44 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)