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.005202/0.005202, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.00121/0.00121, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.326/1.326, allocations: 205.1 MB / 222.5 MB, free: 4.355 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.001109/0.001109, allocations: 55.52 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07976/0.08087, allocations: 46.62 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01146/0.09238, allocations: 8.153 MB / 381.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.1083, allocations: 10.97 MB / 392.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.1101, allocations: 63.5 kB / 392.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.113, allocations: 0.8209 MB / 393.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.1174, allocations: 1.223 MB / 394.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.1194, allocations: 0.6934 MB / 395.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003971/0.1234, allocations: 2.65 MB / 397.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004965/0.1239, allocations: 353.7 kB / 398.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006478/0.1246, allocations: 0.5325 MB / 398.6 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005866/0.1252, allocations: 0.6172 MB / 399.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.723e-05/0.1253, allocations: 64 kB / 399.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.1267, allocations: 0.7143 MB / 400 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.1269, allocations: 222.6 kB / 400.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005954/0.1275, allocations: 0.7647 MB / 401 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.1296, allocations: 2.121 MB / 403.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1296, allocations: 4 kB / 403.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1296, allocations: 0 / 403.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.1296, allocations: 0 / 403.1 MB, free: 3.176 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.003043/0.1327, allocations: 2.208 MB / 405.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1327, allocations: 8.031 kB / 405.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.1329, allocations: 222.4 kB / 405.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.1346, allocations: 1.312 MB / 406.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.1346, allocations: 37.31 kB / 406.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1347, allocations: 55.91 kB / 407 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.136, allocations: 0.6939 MB / 407.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.136, allocations: 0 / 407.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.1361, allocations: 24 kB / 407.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.1361, allocations: 15.98 kB / 407.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.1374, allocations: 0.5711 MB / 408.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.1406, allocations: 2.51 MB / 410.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1418, allocations: 0.6193 MB / 411.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009236/0.1428, allocations: 0.5376 MB / 411.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00812/0.1509, allocations: 7.496 MB / 419.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007771/0.1517, allocations: 382 kB / 419.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.344e-06/0.1517, allocations: 0 / 419.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.00557/0.1573, allocations: 2.074 MB / 421.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.1574, allocations: 93.53 kB / 422 MB, free: 14.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.1589, allocations: 1.431 MB / 423.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.159, allocations: 45.64 kB / 423.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/0.1596, allocations: 0.8055 MB / 424.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.1598, allocations: 224.8 kB / 424.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.16, allocations: 138.6 kB / 424.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1601, allocations: 337.9 kB / 424.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005858/0.1607, allocations: 253.8 kB / 425.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.1614, allocations: 450.3 kB / 425.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.1627, allocations: 0.7402 MB / 426.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1628, allocations: 0 / 426.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001999/0.1648, allocations: 1.132 MB / 427.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1648, allocations: 8 kB / 427.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.1649, allocations: 76.7 kB / 427.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.166, allocations: 0.703 MB / 428.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.1665, allocations: 111.8 kB / 428.4 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1678, allocations: 1.128 MB / 429.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.1684, allocations: 83.31 kB / 429.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.1685, allocations: 36 kB / 429.6 MB, free: 6.895 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.0004392/0.1689, allocations: 289.9 kB / 429.9 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.1691, allocations: 205.6 kB / 430.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.1714, allocations: 1.103 MB / 431.2 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1714, allocations: 7.938 kB / 431.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1715, allocations: 4 kB / 431.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.1715, allocations: 3.984 kB / 431.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1725, allocations: 0.9677 MB / 432.2 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.511e-05/0.1726, allocations: 71.98 kB / 432.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.1729, allocations: 55.94 kB / 432.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009671/0.1739, allocations: 0.6633 MB / 433 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.174, allocations: 27.92 kB / 433 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.1752, allocations: 1.092 MB / 434.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1752, allocations: 3.984 kB / 434.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.1776, allocations: 1.355 MB / 435.5 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.1779, allocations: 282.5 kB / 435.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.1781, allocations: 15.94 kB / 435.8 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.1785, allocations: 39.89 kB / 435.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.1787, allocations: 48.38 kB / 435.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.1787, allocations: 24 kB / 435.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001057/0.1798, allocations: 0.9449 MB / 436.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1798, allocations: 0 / 436.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008274/0.1806, allocations: 431.4 kB / 437.2 MB, free: 15.1 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.0007117/0.1814, allocations: 479.9 kB / 437.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.1833, allocations: 0.8584 MB / 438.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1833, allocations: 3.938 kB / 438.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.1844, allocations: 0.5175 MB / 439.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.1851, allocations: 187.1 kB / 439.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.1897, allocations: 3.012 MB / 442.3 MB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.1903, allocations: 1.216 MB / 443.5 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000381/0.1907, allocations: 166.1 kB / 443.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1909, allocations: 71.44 kB / 443.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1909, allocations: 0 / 443.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of Templates: time 0.1932/0.3841, allocations: 16.19 MB / 459.9 MB, free: 71.42 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)