Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008932/0.0008933, allocations: 94.27 kB / 16.3 MB, free: 6.457 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.0009273/0.0009274, allocations: 185.1 kB / 17.2 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002272/0.0002272, allocations: 6.219 kB / 300.7 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08148/0.08172, allocations: 50.43 MB / 351.1 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.0059/0.08766, allocations: 6.777 MB / 357.9 MB, free: 4.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.09906, allocations: 9.893 MB / 367.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009/0.1, allocations: 15.94 kB / 367.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.1017, allocations: 0.7154 MB / 368.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.1043, allocations: 1.071 MB / 369.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.1055, allocations: 499.2 kB / 370.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.1089, allocations: 2.451 MB / 372.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.1093, allocations: 307.1 kB / 372.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004796/0.1098, allocations: 497.6 kB / 373.3 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.1104, allocations: 0.5591 MB / 373.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.81e-05/0.1104, allocations: 36 kB / 373.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.1118, allocations: 0.726 MB / 374.7 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1119, allocations: 166.9 kB / 374.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.1122, allocations: 352.6 kB / 375.2 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1135, allocations: 1.484 MB / 376.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1135, allocations: 4 kB / 376.6 MB, free: 2.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1135, allocations: 0 / 376.6 MB, free: 2.137 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.1135, allocations: 0 / 376.6 MB, free: 2.137 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.002883/0.1164, allocations: 1.995 MB / 378.6 MB, free: 84 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1164, allocations: 8.031 kB / 378.7 MB, free: 76 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.1167, allocations: 217.6 kB / 378.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.1184, allocations: 1.219 MB / 380.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.1184, allocations: 45.31 kB / 380.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.1185, allocations: 55.98 kB / 380.2 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.1197, allocations: 0.7056 MB / 380.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1197, allocations: 0 / 380.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/0.1198, allocations: 20 kB / 380.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.1198, allocations: 23.98 kB / 380.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.1211, allocations: 0.6102 MB / 381.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.1245, allocations: 2.538 MB / 384.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.1257, allocations: 0.6661 MB / 384.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008227/0.1339, allocations: 7.539 MB / 392.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007743/0.1347, allocations: 409.8 kB / 392.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.365e-06/0.1347, allocations: 0 / 392.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005993/0.1407, allocations: 2.11 MB / 394.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.1408, allocations: 89.55 kB / 394.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.1423, allocations: 1.415 MB / 396.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.1424, allocations: 37.69 kB / 396.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006432/0.143, allocations: 0.8054 MB / 397.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.1432, allocations: 224.8 kB / 397.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.1432, allocations: 16 kB / 397.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1434, allocations: 333.9 kB / 397.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.144, allocations: 273.9 kB / 398 MB, free: 11.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.1447, allocations: 474.2 kB / 398.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.1454, allocations: 330.9 kB / 398.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1454, allocations: 7.938 kB / 398.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001979/0.1474, allocations: 1.179 MB / 399.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1474, allocations: 8 kB / 399.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.1475, allocations: 71.98 kB / 400 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.1487, allocations: 0.6995 MB / 400.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.1491, allocations: 127.8 kB / 400.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.1504, allocations: 1.112 MB / 402 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.151, allocations: 107.2 kB / 402.1 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.1511, allocations: 36 kB / 402.1 MB, free: 7.012 MB / 334.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.0004966/0.1516, allocations: 289.7 kB / 402.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.1518, allocations: 197.7 kB / 402.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.1542, allocations: 1.15 MB / 403.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.1543, allocations: 7.984 kB / 403.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1543, allocations: 0 / 403.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1543, allocations: 0 / 403.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.1554, allocations: 0.9796 MB / 404.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.313e-05/0.1555, allocations: 67.98 kB / 404.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.1558, allocations: 75.88 kB / 404.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.157, allocations: 0.6632 MB / 405.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.157, allocations: 19.98 kB / 405.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.1582, allocations: 1.088 MB / 406.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1582, allocations: 3.938 kB / 406.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.1608, allocations: 1.413 MB / 408 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.1612, allocations: 286.6 kB / 408.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.1614, allocations: 12 kB / 408.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004674/0.1619, allocations: 44.05 kB / 408.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.162, allocations: 56.34 kB / 408.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.1621, allocations: 24 kB / 408.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.1632, allocations: 0.9292 MB / 409.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1632, allocations: 4 kB / 409.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008841/0.1641, allocations: 431.3 kB / 409.8 MB, free: 15.13 MB / 350.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.0006496/0.1648, allocations: 446.4 kB / 410.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.1668, allocations: 0.8974 MB / 411.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1668, allocations: 0 / 411.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.168, allocations: 0.5449 MB / 411.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/0.1688, allocations: 199.6 kB / 411.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.1739, allocations: 3.422 MB / 415.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/0.1746, allocations: 1.259 MB / 416.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005569/0.1752, allocations: 162.1 kB / 416.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.1753, allocations: 75.44 kB / 416.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1753, allocations: 0 / 416.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of Templates: time 0.1673/0.3426, allocations: 14.35 MB / 431.1 MB, free: 65.09 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)