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.001079/0.001079, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001107/0.001107, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.387/1.387, allocations: 205.1 MB / 222.1 MB, free: 4.656 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.001117/0.001117, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2109, allocations: 46.63 MB / 324.9 MB, free: 2.051 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007996/0.2189, allocations: 8.119 MB / 333 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.2325, allocations: 10.83 MB / 343.8 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.235, allocations: 23.88 kB / 343.8 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.2376, allocations: 0.7454 MB / 344.6 MB, free: 436 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004416/0.242, allocations: 1.007 MB / 345.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.2439, allocations: 0.6044 MB / 346.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003889/0.2478, allocations: 2.654 MB / 348.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.2483, allocations: 353.7 kB / 349.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007349/0.2491, allocations: 0.5208 MB / 349.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005804/0.2496, allocations: 0.6133 MB / 350.3 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.2498, allocations: 68 kB / 350.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.2515, allocations: 0.7104 MB / 351.1 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.2516, allocations: 218.7 kB / 351.3 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006226/0.2523, allocations: 0.7686 MB / 352.1 MB, free: 8.863 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.2542, allocations: 2.102 MB / 354.2 MB, free: 6.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2542, allocations: 4 kB / 354.2 MB, free: 6.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2542, allocations: 0 / 354.2 MB, free: 6.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.2543, allocations: 0 / 354.2 MB, free: 6.75 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.003326/0.2576, allocations: 2.211 MB / 356.4 MB, free: 4.477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2577, allocations: 8.031 kB / 356.4 MB, free: 4.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.2579, allocations: 226.3 kB / 356.6 MB, free: 4.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.2598, allocations: 1.3 MB / 357.9 MB, free: 2.871 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.2599, allocations: 41.31 kB / 358 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.26, allocations: 55.98 kB / 358 MB, free: 2.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.2615, allocations: 0.6861 MB / 358.7 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2615, allocations: 0 / 358.7 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.2616, allocations: 31.94 kB / 358.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.2616, allocations: 16 kB / 358.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2628, allocations: 0.5712 MB / 359.3 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.2661, allocations: 2.535 MB / 361.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.2673, allocations: 0.6154 MB / 362.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/0.2682, allocations: 0.5416 MB / 363 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008175/0.2764, allocations: 7.496 MB / 370.5 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/0.2772, allocations: 382 kB / 370.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 3.276e-06/0.2772, allocations: 0 / 370.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005695/0.2829, allocations: 2.074 MB / 373 MB, free: 2.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.283, allocations: 97.48 kB / 373.1 MB, free: 2.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.2847, allocations: 1.435 MB / 374.5 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.2848, allocations: 37.7 kB / 374.5 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006036/0.2854, allocations: 0.7938 MB / 375.3 MB, free: 68 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.2856, allocations: 236.7 kB / 375.6 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.2858, allocations: 138.6 kB / 375.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2859, allocations: 330 kB / 376 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/0.2865, allocations: 257.8 kB / 376.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.2872, allocations: 450.3 kB / 376.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.2885, allocations: 0.7441 MB / 377.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2885, allocations: 4 kB / 377.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001949/0.2905, allocations: 1.132 MB / 378.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2905, allocations: 16.06 kB / 378.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.2906, allocations: 75.98 kB / 378.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.2918, allocations: 0.6953 MB / 379.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.2922, allocations: 111.8 kB / 379.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.2935, allocations: 1.12 MB / 380.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.2941, allocations: 91.3 kB / 380.7 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.2942, allocations: 36 kB / 380.7 MB, free: 10.44 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.0004666/0.2947, allocations: 289.7 kB / 381 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.2949, allocations: 201.6 kB / 381.2 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.2972, allocations: 1.095 MB / 382.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.2972, allocations: 4 kB / 382.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2972, allocations: 0 / 382.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2972, allocations: 7.984 kB / 382.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2982, allocations: 0.9793 MB / 383.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.544e-05/0.2984, allocations: 71.98 kB / 383.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.2987, allocations: 51.95 kB / 383.4 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.2998, allocations: 0.675 MB / 384.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.2999, allocations: 19.92 kB / 384.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.3011, allocations: 1.092 MB / 385.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3011, allocations: 256 / 385.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.3035, allocations: 1.351 MB / 386.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.3039, allocations: 278.6 kB / 386.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.3041, allocations: 19.98 kB / 386.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.3045, allocations: 27.97 kB / 386.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.3047, allocations: 48.38 kB / 386.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.3047, allocations: 31.98 kB / 386.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.3058, allocations: 0.9449 MB / 387.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3058, allocations: 4 kB / 387.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008636/0.3066, allocations: 427.4 kB / 388.3 MB, free: 2.672 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.0008366/0.3075, allocations: 480 kB / 388.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.3095, allocations: 0.8777 MB / 389.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3095, allocations: 0 / 389.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3106, allocations: 0.5291 MB / 390.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.3113, allocations: 179 kB / 390.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/0.3164, allocations: 3.528 MB / 393.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.317, allocations: 1.224 MB / 395.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005296/0.3176, allocations: 162.1 kB / 395.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3177, allocations: 75.44 kB / 395.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3177, allocations: 0 / 395.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of Templates: time 0.02733/0.3451, allocations: 15.86 MB / 411.2 MB, free: 11.64 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (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)