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.007863/0.007863, 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.00182/0.00182, 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.331/1.331, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001274/0.001274, allocations: 50.2 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.08973, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00828/0.09804, allocations: 8.16 MB / 381.3 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.1111, allocations: 10.97 MB / 392.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.1124, allocations: 55.56 kB / 392.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.1145, allocations: 0.8248 MB / 393.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.119, allocations: 1.223 MB / 394.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.1208, allocations: 0.6934 MB / 395.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003709/0.1246, allocations: 2.646 MB / 397.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.125, allocations: 353.7 kB / 398.1 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.1256, allocations: 0.5325 MB / 398.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.1261, allocations: 0.6172 MB / 399.2 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.1262, allocations: 68 kB / 399.3 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.1276, allocations: 0.7143 MB / 400 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.1278, allocations: 222.6 kB / 400.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000565/0.1284, allocations: 0.7608 MB / 401 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.1304, allocations: 2.121 MB / 403.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1304, allocations: 4 kB / 403.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1304, allocations: 0 / 403.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.1304, allocations: 0 / 403.1 MB, free: 3.199 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.003062/0.1335, allocations: 2.208 MB / 405.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1336, allocations: 8.031 kB / 405.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.1338, allocations: 222.4 kB / 405.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.1356, allocations: 1.316 MB / 406.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.1356, allocations: 37.31 kB / 406.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1357, allocations: 56 kB / 407 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.137, allocations: 0.69 MB / 407.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.137, allocations: 0 / 407.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.1371, allocations: 24 kB / 407.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.1371, allocations: 19.98 kB / 407.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.1384, allocations: 0.5711 MB / 408.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.1417, allocations: 2.511 MB / 410.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1429, allocations: 0.6154 MB / 411.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008596/0.1437, allocations: 0.5376 MB / 411.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008075/0.1518, allocations: 7.492 MB / 419.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000791/0.1526, allocations: 385.9 kB / 419.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.534e-06/0.1526, allocations: 0 / 419.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.0053/0.1579, allocations: 2.074 MB / 421.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.158, allocations: 101.5 kB / 422 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.1595, allocations: 1.431 MB / 423.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.1596, allocations: 37.7 kB / 423.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/0.1602, allocations: 0.8016 MB / 424.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.1603, allocations: 228.7 kB / 424.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.1605, allocations: 138.6 kB / 424.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1606, allocations: 330 kB / 424.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.1612, allocations: 261.8 kB / 425.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.1619, allocations: 446.3 kB / 425.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.1632, allocations: 0.7402 MB / 426.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.1632, allocations: 4 kB / 426.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001838/0.1651, allocations: 1.132 MB / 427.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1651, allocations: 16.11 kB / 427.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.465e-05/0.1652, allocations: 72 kB / 427.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.1662, allocations: 0.6991 MB / 428.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.1667, allocations: 111.8 kB / 428.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1679, allocations: 1.124 MB / 429.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.1685, allocations: 87.31 kB / 429.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.1686, allocations: 39.98 kB / 429.6 MB, free: 6.914 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.0003941/0.169, allocations: 297.8 kB / 429.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.1692, allocations: 205.5 kB / 430.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.1713, allocations: 1.092 MB / 431.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1713, allocations: 8 kB / 431.2 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1713, allocations: 0 / 431.2 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.1713, allocations: 7.922 kB / 431.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009324/0.1722, allocations: 0.9716 MB / 432.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.768e-05/0.1723, allocations: 67.98 kB / 432.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.1726, allocations: 63.94 kB / 432.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009473/0.1736, allocations: 0.6672 MB / 433 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.1737, allocations: 19.94 kB / 433 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.1748, allocations: 1.1 MB / 434.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1748, allocations: 0 / 434.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.1772, allocations: 1.347 MB / 435.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.1775, allocations: 290.5 kB / 435.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.1777, allocations: 12 kB / 435.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.1781, allocations: 31.95 kB / 435.8 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.1782, allocations: 48.38 kB / 435.8 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.1783, allocations: 20 kB / 435.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.1793, allocations: 0.9565 MB / 436.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1793, allocations: 0 / 436.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000801/0.1801, allocations: 431.4 kB / 437.2 MB, free: 15.12 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.0006965/0.1808, allocations: 484 kB / 437.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.1827, allocations: 0.8467 MB / 438.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1827, allocations: 0 / 438.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.1838, allocations: 0.5253 MB / 439.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.1845, allocations: 195 kB / 439.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.1891, allocations: 3.004 MB / 442.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.1898, allocations: 1.216 MB / 443.5 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003757/0.1902, allocations: 162.1 kB / 443.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.1903, allocations: 79.42 kB / 443.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1903, allocations: 0 / 443.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of Templates: time 0.2189/0.4092, allocations: 16.18 MB / 459.9 MB, free: 70.98 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)