Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009684/0.0009714, allocations: 179.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.151/1.151, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00158/0.00158, allocations: 116 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07912/0.07944, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.3139, allocations: 87.13 MB / 442.2 MB, free: 2.707 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001703/0.3141, allocations: 74.84 kB / 442.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1122/0.4264, allocations: 57.58 MB / 499.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4264, allocations: 0 / 499.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001179/0.4265, allocations: 28 kB / 499.9 MB, free: 11.33 MB / 378.7 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.004436/0.431, allocations: 2.081 MB / 0.4902 GB, free: 9.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.431, allocations: 8.031 kB / 0.4902 GB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/0.4315, allocations: 221.4 kB / 0.4904 GB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.4338, allocations: 1.263 MB / 0.4916 GB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.4339, allocations: 42 kB / 0.4917 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.4341, allocations: 59.91 kB / 0.4917 GB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.4354, allocations: 0.7133 MB / 0.4924 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4355, allocations: 0 / 0.4924 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.4355, allocations: 20 kB / 0.4925 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.4356, allocations: 20 kB / 0.4925 GB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.4369, allocations: 0.6142 MB / 0.4931 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.441, allocations: 2.597 MB / 0.4956 GB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.4422, allocations: 0.6622 MB / 0.4963 GB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009361/0.4516, allocations: 8.688 MB / 0.5047 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007593/0.4524, allocations: 409.8 kB / 0.5051 GB, free: 8.297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 2.615e-06/0.4524, allocations: 0 / 0.5051 GB, free: 8.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.005795/0.4582, allocations: 2.208 MB / 0.5073 GB, free: 6.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.4583, allocations: 85.55 kB / 0.5074 GB, free: 5.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.4599, allocations: 1.272 MB / 0.5086 GB, free: 4.652 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.46, allocations: 44.31 kB / 0.5087 GB, free: 4.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006493/0.4607, allocations: 0.7938 MB / 0.5094 GB, free: 3.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.4609, allocations: 224.8 kB / 0.5096 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.4609, allocations: 12 kB / 0.5097 GB, free: 3.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.461, allocations: 345.9 kB / 0.51 GB, free: 3.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.4616, allocations: 265.9 kB / 0.5102 GB, free: 2.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.4623, allocations: 482.2 kB / 0.5107 GB, free: 2.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.4629, allocations: 330.9 kB / 0.511 GB, free: 2.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.463, allocations: 4 kB / 0.511 GB, free: 2.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00197/0.4649, allocations: 1.171 MB / 0.5122 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.465, allocations: 5.25 kB / 0.5122 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.593e-05/0.4651, allocations: 77.48 kB / 0.5122 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.4662, allocations: 0.699 MB / 0.5129 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.4666, allocations: 119.9 kB / 0.513 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1723/0.6389, allocations: 1.115 MB / 0.5141 GB, free: 98.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009323/0.6399, allocations: 104 kB / 0.5142 GB, free: 98.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.64, allocations: 38.8 kB / 0.5143 GB, free: 98.43 MB / 394.7 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.0005961/0.6406, allocations: 286.8 kB / 0.5145 GB, free: 98.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.6408, allocations: 195.7 kB / 0.5147 GB, free: 98.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.643, allocations: 1.182 MB / 0.5159 GB, free: 98.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.6431, allocations: 12.77 kB / 0.5159 GB, free: 98.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6431, allocations: 3.734 kB / 0.5159 GB, free: 98.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6431, allocations: 4.547 kB / 0.5159 GB, free: 98.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.6443, allocations: 0.9998 MB / 0.5169 GB, free: 97.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.207e-05/0.6444, allocations: 67.11 kB / 0.5169 GB, free: 97.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.6447, allocations: 69.75 kB / 0.517 GB, free: 97.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009003/0.6457, allocations: 0.6736 MB / 0.5177 GB, free: 97.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.6457, allocations: 23.92 kB / 0.5177 GB, free: 97.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009221/0.6466, allocations: 1.087 MB / 0.5187 GB, free: 97.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6467, allocations: 1.281 kB / 0.5187 GB, free: 97.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.6488, allocations: 1.441 MB / 0.5202 GB, free: 97.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.6492, allocations: 299 kB / 0.5204 GB, free: 97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.6494, allocations: 12.92 kB / 0.5205 GB, free: 97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.6499, allocations: 46.91 kB / 0.5205 GB, free: 97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.65, allocations: 50.95 kB / 0.5205 GB, free: 97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.6501, allocations: 25.33 kB / 0.5206 GB, free: 97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009767/0.6511, allocations: 0.984 MB / 0.5215 GB, free: 96.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6511, allocations: 0 / 0.5215 GB, free: 96.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009924/0.6521, allocations: 485 kB / 0.522 GB, free: 96.85 MB / 394.7 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.0008344/0.6529, allocations: 0.558 MB / 0.5225 GB, free: 96.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.6546, allocations: 0.8912 MB / 0.5234 GB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.6547, allocations: 0 / 0.5234 GB, free: 96.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009735/0.6556, allocations: 0.5477 MB / 0.5239 GB, free: 96.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.6562, allocations: 184.8 kB / 0.5241 GB, free: 96.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/0.6611, allocations: 3.407 MB / 0.5274 GB, free: 95.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.6618, allocations: 1.251 MB / 0.5287 GB, free: 94.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005942/0.6624, allocations: 175.5 kB / 0.5288 GB, free: 94.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.6625, allocations: 85.33 kB / 0.5289 GB, free: 94.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6625, allocations: 0 / 0.5289 GB, free: 94.46 MB / 394.7 MB Notification: Performance of Templates: time 0.03008/0.6926, allocations: 16.51 MB / 0.545 GB, free: 93.33 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)