Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_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.001117/0.001117, allocations: 96.98 kB / 16.95 MB, free: 6.082 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.001154/0.001154, allocations: 178.4 kB / 17.84 MB, free: 5.711 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.518/1.518, allocations: 205.4 MB / 224 MB, free: 13.02 MB / 190.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.0004557/0.0004558, allocations: 12 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09692, allocations: 47.58 MB / 328.4 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006975/0.1039, allocations: 7.156 MB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.118, allocations: 10.01 MB / 345.5 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.1201, allocations: 15.94 kB / 345.5 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.1233, allocations: 0.6602 MB / 346.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005836/0.1292, allocations: 0.9313 MB / 347.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.1317, allocations: 474.8 kB / 347.6 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005846/0.1375, allocations: 2.424 MB / 350 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007376/0.1383, allocations: 302.9 kB / 350.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008857/0.1392, allocations: 465.7 kB / 350.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.14, allocations: 0.5474 MB / 351.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.1402, allocations: 40 kB / 351.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.1424, allocations: 0.6363 MB / 352 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.1427, allocations: 178.8 kB / 352.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.1432, allocations: 348.7 kB / 352.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.1452, allocations: 1.515 MB / 354 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1452, allocations: 0 / 354 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1453, allocations: 0 / 354 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.945e-05/0.1453, allocations: 0 / 354 MB, free: 10.28 MB / 302.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.004177/0.1495, allocations: 2.002 MB / 356 MB, free: 8.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1495, allocations: 12.03 kB / 356 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/0.1499, allocations: 225.4 kB / 356.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.1524, allocations: 1.223 MB / 357.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.1524, allocations: 45.31 kB / 357.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.1526, allocations: 59.97 kB / 357.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.1544, allocations: 0.7056 MB / 358.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1545, allocations: 0 / 358.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/0.1546, allocations: 23.94 kB / 358.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.1546, allocations: 24 kB / 358.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.1565, allocations: 0.6141 MB / 358.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/0.1614, allocations: 2.542 MB / 361.5 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.1632, allocations: 0.6545 MB / 362.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.1645, allocations: 0.5611 MB / 362.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.1755, allocations: 7.508 MB / 370.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.1766, allocations: 409.9 kB / 370.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 4.167e-06/0.1766, allocations: 4 kB / 370.6 MB, free: 8.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.007311/0.184, allocations: 2.098 MB / 372.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.1841, allocations: 85.55 kB / 372.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.1875, allocations: 1.423 MB / 374.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.1876, allocations: 41.69 kB / 374.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009489/0.1886, allocations: 0.8015 MB / 375.1 MB, free: 3.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.189, allocations: 216.8 kB / 375.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.189, allocations: 12 kB / 375.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000236/0.1893, allocations: 337.9 kB / 375.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.19, allocations: 273.8 kB / 375.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.1908, allocations: 486.2 kB / 376.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.1916, allocations: 330.9 kB / 376.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1916, allocations: 0 / 376.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00232/0.1939, allocations: 1.178 MB / 377.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.194, allocations: 8 kB / 377.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.1941, allocations: 72 kB / 377.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.1954, allocations: 0.6998 MB / 378.6 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2074/0.4028, allocations: 122.3 kB / 378.8 MB, free: 53.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.4048, allocations: 1.117 MB / 379.9 MB, free: 53.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008756/0.4057, allocations: 106.3 kB / 380 MB, free: 53.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.4058, allocations: 38.67 kB / 380 MB, free: 53.09 MB / 318.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 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006705/0.4064, allocations: 287.1 kB / 380.3 MB, free: 52.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.4067, allocations: 202.2 kB / 380.5 MB, free: 52.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.4096, allocations: 1.13 MB / 381.6 MB, free: 52.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.4096, allocations: 6.5 kB / 381.6 MB, free: 52.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-06/0.4097, allocations: 1.031 kB / 381.6 MB, free: 52.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.4097, allocations: 2.438 kB / 381.6 MB, free: 52.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.411, allocations: 0.9765 MB / 382.6 MB, free: 52.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000101/0.4112, allocations: 72.25 kB / 382.7 MB, free: 52.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.4115, allocations: 68.97 kB / 382.7 MB, free: 52.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.4126, allocations: 0.6645 MB / 383.4 MB, free: 52.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.4127, allocations: 24.11 kB / 383.4 MB, free: 52.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.4138, allocations: 1.09 MB / 384.5 MB, free: 51.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4138, allocations: 1.078 kB / 384.5 MB, free: 51.9 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.4164, allocations: 1.424 MB / 385.9 MB, free: 51.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.4168, allocations: 279.2 kB / 386.2 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.417, allocations: 13.88 kB / 386.2 MB, free: 51.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/0.4174, allocations: 50.64 kB / 386.3 MB, free: 51.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.4176, allocations: 46.25 kB / 386.3 MB, free: 51.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.4176, allocations: 28.33 kB / 386.4 MB, free: 51.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001438/0.4191, allocations: 0.9299 MB / 387.3 MB, free: 50.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4191, allocations: 0 / 387.3 MB, free: 50.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001094/0.4202, allocations: 429.4 kB / 387.7 MB, free: 50.64 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008459/0.421, allocations: 453.6 kB / 388.1 MB, free: 50.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.4231, allocations: 0.8988 MB / 389 MB, free: 50.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4232, allocations: 0 / 389 MB, free: 50.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.4243, allocations: 0.549 MB / 389.6 MB, free: 50.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.425, allocations: 184 kB / 389.8 MB, free: 49.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.4301, allocations: 3.426 MB / 393.2 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007824/0.4309, allocations: 1.218 MB / 394.4 MB, free: 47.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005951/0.4316, allocations: 166.1 kB / 394.6 MB, free: 47.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.4317, allocations: 71.88 kB / 394.7 MB, free: 47.34 MB / 318.1 MB Notification: Performance of SimCode: time 1.784e-06/0.4317, allocations: 4 kB / 394.7 MB, free: 47.34 MB / 318.1 MB Notification: Performance of Templates: time 0.02224/0.4539, allocations: 14.85 MB / 409.5 MB, free: 34.86 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)