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.001074/0.001075, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001135/0.001135, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004845/0.0004846, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2624, allocations: 47.6 MB / 326.5 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006878/0.2693, allocations: 7.153 MB / 333.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.2844, allocations: 10.01 MB / 343.6 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.286, allocations: 15.94 kB / 343.7 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002666/0.2887, allocations: 0.6525 MB / 344.3 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.2938, allocations: 0.9274 MB / 345.2 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.2958, allocations: 474.8 kB / 345.7 MB, free: 220 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004846/0.3007, allocations: 2.425 MB / 348.1 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.3013, allocations: 302.9 kB / 348.4 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000828/0.3021, allocations: 461.7 kB / 348.9 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.3028, allocations: 0.5474 MB / 349.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-05/0.3029, allocations: 40 kB / 349.5 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.3049, allocations: 0.644 MB / 350.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.3051, allocations: 170.8 kB / 350.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.3055, allocations: 348.7 kB / 350.6 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.3069, allocations: 1.523 MB / 352.1 MB, free: 9.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.3069, allocations: 4 kB / 352.1 MB, free: 9.727 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3069, allocations: 0 / 352.1 MB, free: 9.727 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.307, allocations: 0 / 352.1 MB, free: 9.727 MB / 286.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.002949/0.3099, allocations: 1.991 MB / 354.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.31, allocations: 8.031 kB / 354.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.3102, allocations: 229.3 kB / 354.4 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.3119, allocations: 1.224 MB / 355.6 MB, free: 6.145 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.3119, allocations: 41.31 kB / 355.6 MB, free: 6.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.312, allocations: 52 kB / 355.7 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.3133, allocations: 0.7056 MB / 356.4 MB, free: 5.336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3133, allocations: 0 / 356.4 MB, free: 5.336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.3134, allocations: 27.98 kB / 356.4 MB, free: 5.309 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.3134, allocations: 20 kB / 356.4 MB, free: 5.289 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3147, allocations: 0.618 MB / 357 MB, free: 4.668 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.318, allocations: 2.535 MB / 359.6 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.3192, allocations: 0.6739 MB / 360.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008588/0.32, allocations: 0.5611 MB / 360.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007984/0.328, allocations: 7.508 MB / 368.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007614/0.3288, allocations: 413.9 kB / 368.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.385e-06/0.3288, allocations: 0 / 368.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005146/0.334, allocations: 2.09 MB / 370.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3341, allocations: 85.53 kB / 370.9 MB, free: 5.473 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.3356, allocations: 1.423 MB / 372.3 MB, free: 4.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.3356, allocations: 37.7 kB / 372.4 MB, free: 3.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000617/0.3363, allocations: 0.8055 MB / 373.2 MB, free: 3.152 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.3364, allocations: 228.7 kB / 373.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.3365, allocations: 8 kB / 373.4 MB, free: 2.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3366, allocations: 334 kB / 373.7 MB, free: 2.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.3372, allocations: 277.8 kB / 374 MB, free: 2.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007066/0.3379, allocations: 486.2 kB / 374.5 MB, free: 1.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.3386, allocations: 326.9 kB / 374.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3386, allocations: 3.938 kB / 374.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002016/0.3406, allocations: 1.175 MB / 376 MB, free: 248 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3406, allocations: 15.92 kB / 376 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/0.3408, allocations: 72 kB / 376.1 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.3419, allocations: 0.7037 MB / 376.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.3423, allocations: 123.8 kB / 376.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.3436, allocations: 1.124 MB / 378 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.3442, allocations: 99.25 kB / 378.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/0.3443, allocations: 40 kB / 378.1 MB, free: 14.04 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.0004873/0.3448, allocations: 293.6 kB / 378.4 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.345, allocations: 201.6 kB / 378.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.3473, allocations: 1.127 MB / 379.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3473, allocations: 4 kB / 379.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3473, allocations: 0 / 379.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3474, allocations: 11.94 kB / 379.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.3486, allocations: 0.9715 MB / 380.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001015/0.3487, allocations: 71.98 kB / 380.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.3491, allocations: 71.88 kB / 380.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.3502, allocations: 0.6675 MB / 381.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.3502, allocations: 20 kB / 381.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.3515, allocations: 1.084 MB / 382.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3515, allocations: 7.984 kB / 382.7 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.3539, allocations: 1.409 MB / 384.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.3544, allocations: 282.5 kB / 384.3 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.3545, allocations: 15.95 kB / 384.4 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.355, allocations: 51.95 kB / 384.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.3551, allocations: 44.38 kB / 384.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/0.3552, allocations: 24.23 kB / 384.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.3564, allocations: 0.9331 MB / 385.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3564, allocations: 0 / 385.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00088/0.3573, allocations: 423.5 kB / 385.8 MB, free: 6.18 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.0007215/0.358, allocations: 456.1 kB / 386.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.3599, allocations: 0.9053 MB / 387.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3599, allocations: 0 / 387.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.361, allocations: 0.5524 MB / 387.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.3618, allocations: 175 kB / 387.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.3667, allocations: 3.43 MB / 391.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/0.3675, allocations: 1.216 MB / 392.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005191/0.368, allocations: 162.1 kB / 392.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.3681, allocations: 71.44 kB / 392.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3681, allocations: 3.938 kB / 392.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Templates: time 0.02709/0.3952, allocations: 14.85 MB / 407.6 MB, free: 260 kB / 334.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)