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.001003/0.001003, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001219/0.00122, allocations: 177.3 kB / 15.95 MB, free: 216 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.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0006749/0.0006749, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2724, allocations: 47.59 MB / 326.4 MB, free: 1.242 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007167/0.2797, allocations: 6.657 MB / 333.1 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.2916, allocations: 9.609 MB / 342.7 MB, free: 3.094 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.2928, allocations: 15.94 kB / 342.7 MB, free: 3.078 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.2949, allocations: 0.6842 MB / 343.4 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.299, allocations: 1.075 MB / 344.5 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.3008, allocations: 487.2 kB / 345 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005193/0.306, allocations: 2.424 MB / 347.4 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005921/0.3066, allocations: 306.8 kB / 347.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008372/0.3075, allocations: 461.7 kB / 348.1 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000669/0.3082, allocations: 0.5474 MB / 348.7 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.028e-05/0.3083, allocations: 40 kB / 348.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.3103, allocations: 0.6753 MB / 349.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.3105, allocations: 174.8 kB / 349.6 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003581/0.3109, allocations: 352.6 kB / 349.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.3126, allocations: 1.485 MB / 351.4 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3126, allocations: 0 / 351.4 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.3126, allocations: 3.938 kB / 351.4 MB, free: 10.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.288e-05/0.3127, allocations: 8 kB / 351.4 MB, free: 10.34 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.003732/0.3164, allocations: 1.979 MB / 353.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.3165, allocations: 8.031 kB / 353.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.3168, allocations: 229.3 kB / 353.6 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.3187, allocations: 1.22 MB / 354.8 MB, free: 6.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.3187, allocations: 45.31 kB / 354.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.3188, allocations: 52 kB / 354.9 MB, free: 6.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.3202, allocations: 0.7095 MB / 355.6 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3202, allocations: 3.938 kB / 355.7 MB, free: 5.953 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.3203, allocations: 27.98 kB / 355.7 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.3203, allocations: 16 kB / 355.7 MB, free: 5.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.3216, allocations: 0.6141 MB / 356.3 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.3254, allocations: 2.551 MB / 358.9 MB, free: 2.605 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.3266, allocations: 0.6623 MB / 359.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008919/0.3356, allocations: 7.528 MB / 367.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008131/0.3364, allocations: 402 kB / 367.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 5.881e-06/0.3364, allocations: 3.984 kB / 367.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005592/0.342, allocations: 2.118 MB / 369.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.3421, allocations: 97.47 kB / 369.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.3438, allocations: 1.415 MB / 371.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.3438, allocations: 37.7 kB / 371.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006293/0.3445, allocations: 0.7977 MB / 371.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.3447, allocations: 224.7 kB / 372.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.3447, allocations: 20 kB / 372.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3448, allocations: 334 kB / 372.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/0.3454, allocations: 273.8 kB / 372.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006998/0.3461, allocations: 478.2 kB / 373.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.3468, allocations: 327 kB / 373.5 MB, free: 2.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3468, allocations: 7.922 kB / 373.5 MB, free: 2.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002043/0.3488, allocations: 1.179 MB / 374.7 MB, free: 1.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.3489, allocations: 8 kB / 374.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.349, allocations: 71.98 kB / 374.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.3501, allocations: 0.6915 MB / 375.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.3506, allocations: 127.8 kB / 375.6 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.3518, allocations: 1.124 MB / 376.7 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.3525, allocations: 99.31 kB / 376.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/0.3526, allocations: 36 kB / 376.9 MB, free: 15.2 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.0005264/0.3531, allocations: 289.6 kB / 377.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.3533, allocations: 205.6 kB / 377.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.3557, allocations: 1.146 MB / 378.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.3557, allocations: 4 kB / 378.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3557, allocations: 0 / 378.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3558, allocations: 11.94 kB / 378.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.3569, allocations: 0.9753 MB / 379.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.69e-05/0.357, allocations: 71.98 kB / 379.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.3573, allocations: 67.94 kB / 379.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.3583, allocations: 0.6635 MB / 380.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.3584, allocations: 20 kB / 380.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.3596, allocations: 1.092 MB / 381.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3596, allocations: 0 / 381.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.362, allocations: 1.409 MB / 382.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.3625, allocations: 282.6 kB / 383.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.3626, allocations: 15.98 kB / 383.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.3632, allocations: 47.92 kB / 383.1 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3633, allocations: 52.36 kB / 383.2 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.3633, allocations: 23.98 kB / 383.2 MB, free: 8.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.3645, allocations: 0.9253 MB / 384.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3645, allocations: 0 / 384.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009578/0.3655, allocations: 431.4 kB / 384.6 MB, free: 7.324 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.0007542/0.3662, allocations: 456.1 kB / 385 MB, free: 6.871 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.3683, allocations: 0.9052 MB / 385.9 MB, free: 5.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3683, allocations: 0 / 385.9 MB, free: 5.945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.3695, allocations: 0.5448 MB / 386.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.3701, allocations: 171 kB / 386.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/0.3758, allocations: 3.422 MB / 390.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009031/0.3767, allocations: 1.259 MB / 391.3 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005473/0.3773, allocations: 162.1 kB / 391.5 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3774, allocations: 75.42 kB / 391.5 MB, free: 244 kB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3774, allocations: 0 / 391.5 MB, free: 244 kB / 318.1 MB Notification: Performance of Templates: time 0.02611/0.4036, allocations: 14.32 MB / 405.9 MB, free: 1.898 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: