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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 107.1 kB / 16.62 MB, free: 6.957 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.00105/0.00105, allocations: 189.8 kB / 17.55 MB, free: 6.047 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.316/1.316, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001203/0.001203, allocations: 51.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09496, allocations: 46.62 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00817/0.1032, allocations: 8.136 MB / 334.3 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.1155, allocations: 10.83 MB / 345.1 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.1173, allocations: 15.94 kB / 345.1 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.1197, allocations: 0.7443 MB / 345.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004046/0.1237, allocations: 1.015 MB / 346.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.1257, allocations: 0.6043 MB / 347.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003868/0.1296, allocations: 2.642 MB / 350.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004721/0.1301, allocations: 361.7 kB / 350.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006374/0.1307, allocations: 0.5208 MB / 351 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.1313, allocations: 0.6133 MB / 351.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1314, allocations: 72 kB / 351.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.1329, allocations: 0.7143 MB / 352.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.1331, allocations: 218.7 kB / 352.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.1337, allocations: 0.7725 MB / 353.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.136, allocations: 2.094 MB / 355.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.136, allocations: 0 / 355.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.136, allocations: 0 / 355.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.1361, allocations: 0 / 355.5 MB, free: 7.297 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.003297/0.1394, allocations: 2.219 MB / 357.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1394, allocations: 8.031 kB / 357.7 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.1397, allocations: 222.3 kB / 357.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.1413, allocations: 1.304 MB / 359.2 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.1414, allocations: 45.31 kB / 359.3 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1415, allocations: 55.98 kB / 359.3 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.1431, allocations: 0.69 MB / 360 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1431, allocations: 0 / 360 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.1432, allocations: 20 kB / 360 MB, free: 2.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.1432, allocations: 19.94 kB / 360 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.1444, allocations: 0.5712 MB / 360.6 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.1481, allocations: 2.53 MB / 363.1 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.1493, allocations: 0.6192 MB / 363.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.1501, allocations: 0.5454 MB / 364.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008534/0.1587, allocations: 7.492 MB / 371.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007901/0.1595, allocations: 389.9 kB / 372.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.314e-06/0.1595, allocations: 0 / 372.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005736/0.1652, allocations: 2.067 MB / 374.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.1653, allocations: 89.53 kB / 374.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.1668, allocations: 1.439 MB / 375.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.1668, allocations: 37.7 kB / 375.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.1674, allocations: 0.7977 MB / 376.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.1676, allocations: 232.8 kB / 376.8 MB, free: 380 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.1678, allocations: 142.6 kB / 377 MB, free: 232 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1322/0.3, allocations: 330.6 kB / 377.3 MB, free: 54.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/0.3009, allocations: 252.4 kB / 377.5 MB, free: 54.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.3015, allocations: 455.6 kB / 378 MB, free: 54.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.3027, allocations: 0.7432 MB / 378.7 MB, free: 54.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3027, allocations: 1.062 kB / 378.7 MB, free: 54.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002462/0.3052, allocations: 1.131 MB / 379.9 MB, free: 54.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.3052, allocations: 8.672 kB / 379.9 MB, free: 54.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.3054, allocations: 74.53 kB / 379.9 MB, free: 54.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.3065, allocations: 0.6998 MB / 380.6 MB, free: 54.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.307, allocations: 115.1 kB / 380.8 MB, free: 54.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3081, allocations: 1.122 MB / 381.9 MB, free: 53.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/0.3088, allocations: 84.5 kB / 382 MB, free: 53.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.3089, allocations: 38.7 kB / 382 MB, free: 53.4 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 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.000426/0.3093, allocations: 292.1 kB / 382.3 MB, free: 53.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.3095, allocations: 201.8 kB / 382.5 MB, free: 53.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.3117, allocations: 1.085 MB / 383.6 MB, free: 52.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3117, allocations: 6.125 kB / 383.6 MB, free: 52.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3117, allocations: 0 / 383.6 MB, free: 52.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.3117, allocations: 2.578 kB / 383.6 MB, free: 52.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3128, allocations: 0.9838 MB / 384.6 MB, free: 52.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001013/0.3129, allocations: 65.69 kB / 384.6 MB, free: 52.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.3132, allocations: 61.8 kB / 384.7 MB, free: 52.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.3144, allocations: 0.67 MB / 385.4 MB, free: 52.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.3145, allocations: 18.38 kB / 385.4 MB, free: 52.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.3155, allocations: 1.09 MB / 386.5 MB, free: 51.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3156, allocations: 7.844 kB / 386.5 MB, free: 51.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.3179, allocations: 1.357 MB / 387.8 MB, free: 50.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.3183, allocations: 282.9 kB / 388.1 MB, free: 50.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.3184, allocations: 11.88 kB / 388.1 MB, free: 50.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.3189, allocations: 33.27 kB / 388.1 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.319, allocations: 48.89 kB / 388.2 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.3191, allocations: 25.12 kB / 388.2 MB, free: 50.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.3203, allocations: 0.954 MB / 389.2 MB, free: 50.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3203, allocations: 4 kB / 389.2 MB, free: 50.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008053/0.3211, allocations: 425.3 kB / 389.6 MB, free: 50.02 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007076/0.3218, allocations: 475.5 kB / 390.1 MB, free: 49.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.3238, allocations: 0.8706 MB / 390.9 MB, free: 49.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3238, allocations: 0.9375 kB / 390.9 MB, free: 49.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.3249, allocations: 0.5335 MB / 391.5 MB, free: 49.38 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.3256, allocations: 186.8 kB / 391.6 MB, free: 49.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.3299, allocations: 3.532 MB / 395.2 MB, free: 47.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.3304, allocations: 1.224 MB / 396.4 MB, free: 46.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004926/0.3309, allocations: 161.6 kB / 396.6 MB, free: 46.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.331, allocations: 72.61 kB / 396.6 MB, free: 46.56 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.331, allocations: 3.812 kB / 396.6 MB, free: 46.56 MB / 318.1 MB Notification: Performance of Templates: time 0.0217/0.3527, allocations: 15.85 MB / 412.5 MB, free: 31.21 MB / 318.1 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)