Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.3_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.001509/0.001516, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001728/0.001728, allocations: 191.9 kB / 18.5 MB, free: 4.504 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.256/1.256, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001165/0.001165, allocations: 56.14 kB / 280.6 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.08002, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009412/0.08948, allocations: 8.164 MB / 335.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.1034, allocations: 10.96 MB / 346.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.1047, allocations: 15.94 kB / 346.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.1071, allocations: 0.825 MB / 347.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004604/0.1118, allocations: 1.215 MB / 348.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.1139, allocations: 0.6856 MB / 349.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004315/0.1182, allocations: 2.638 MB / 351.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006012/0.1188, allocations: 357.7 kB / 352.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007161/0.1195, allocations: 0.513 MB / 352.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008136/0.1204, allocations: 0.6172 MB / 353.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.1206, allocations: 68 kB / 353.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.1223, allocations: 0.7143 MB / 354 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.1225, allocations: 218.7 kB / 354.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.1233, allocations: 0.7686 MB / 355 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.1256, allocations: 2.102 MB / 357.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1256, allocations: 4 kB / 357.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1256, allocations: 0 / 357.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.528e-05/0.1256, allocations: 0 / 357.1 MB, free: 6.457 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.003286/0.1289, allocations: 2.204 MB / 359.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.129, allocations: 12.03 kB / 359.3 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.1293, allocations: 226.3 kB / 359.6 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.1309, allocations: 1.312 MB / 360.9 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.131, allocations: 41.31 kB / 360.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/0.1311, allocations: 52 kB / 361 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.1323, allocations: 0.69 MB / 361.7 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1323, allocations: 0 / 361.7 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.1324, allocations: 28 kB / 361.7 MB, free: 1.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.1324, allocations: 19.92 kB / 361.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1337, allocations: 0.5673 MB / 362.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.1369, allocations: 2.53 MB / 364.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.1381, allocations: 0.6193 MB / 365.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008544/0.139, allocations: 0.5376 MB / 366 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008119/0.1471, allocations: 7.496 MB / 373.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007556/0.1479, allocations: 381.9 kB / 373.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.194e-06/0.1479, allocations: 0 / 373.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005502/0.1534, allocations: 2.075 MB / 375.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.1535, allocations: 93.53 kB / 376 MB, free: 2.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.1553, allocations: 1.431 MB / 377.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.1554, allocations: 41.69 kB / 377.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1406/0.296, allocations: 0.7958 MB / 378.3 MB, free: 54.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.2963, allocations: 224 kB / 378.5 MB, free: 54.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.2966, allocations: 137.3 kB / 378.6 MB, free: 54.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.2967, allocations: 338.3 kB / 378.9 MB, free: 54.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006916/0.2974, allocations: 256.3 kB / 379.2 MB, free: 54.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008174/0.2982, allocations: 453.2 kB / 379.6 MB, free: 54.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.2998, allocations: 0.7418 MB / 380.4 MB, free: 53.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/0.2999, allocations: 2.531 kB / 380.4 MB, free: 53.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002928/0.3028, allocations: 1.129 MB / 381.5 MB, free: 53.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3028, allocations: 8.906 kB / 381.5 MB, free: 53.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.303, allocations: 79.75 kB / 381.6 MB, free: 53.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.3043, allocations: 0.6966 MB / 382.3 MB, free: 53.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.3047, allocations: 114.4 kB / 382.4 MB, free: 53.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.3061, allocations: 1.121 MB / 383.5 MB, free: 52.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/0.307, allocations: 87.66 kB / 383.6 MB, free: 52.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3071, allocations: 38.56 kB / 383.7 MB, free: 52.61 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.0006211/0.3078, allocations: 291.9 kB / 383.9 MB, free: 52.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.3082, allocations: 199 kB / 384.1 MB, free: 52.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.3108, allocations: 1.089 MB / 385.2 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.3108, allocations: 7.953 kB / 385.2 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3108, allocations: 1.125 kB / 385.2 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3108, allocations: 2.484 kB / 385.2 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.3126, allocations: 0.981 MB / 386.2 MB, free: 51.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001514/0.3128, allocations: 64.78 kB / 386.3 MB, free: 51.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.3132, allocations: 65.2 kB / 386.3 MB, free: 51.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.3144, allocations: 0.6697 MB / 387 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.3145, allocations: 16.55 kB / 387 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.3156, allocations: 1.091 MB / 388.1 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3156, allocations: 3.938 kB / 388.1 MB, free: 50.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.3183, allocations: 1.365 MB / 389.5 MB, free: 49.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.3187, allocations: 278.7 kB / 389.8 MB, free: 49.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.319, allocations: 12.59 kB / 389.8 MB, free: 49.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.3195, allocations: 31.61 kB / 389.8 MB, free: 49.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.3197, allocations: 48.11 kB / 389.8 MB, free: 49.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.3197, allocations: 28.41 kB / 389.9 MB, free: 49.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.321, allocations: 0.955 MB / 390.8 MB, free: 49.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.321, allocations: 2.156 kB / 390.8 MB, free: 49.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008788/0.3219, allocations: 425.3 kB / 391.2 MB, free: 49.15 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.0007739/0.3227, allocations: 482.2 kB / 391.7 MB, free: 49.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.3248, allocations: 0.8679 MB / 392.6 MB, free: 48.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3248, allocations: 0 / 392.6 MB, free: 48.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.3259, allocations: 0.5229 MB / 393.1 MB, free: 48.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.3267, allocations: 184.3 kB / 393.3 MB, free: 48.42 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.331, allocations: 3.066 MB / 396.4 MB, free: 46.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.3316, allocations: 1.222 MB / 397.6 MB, free: 46.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.332, allocations: 159 kB / 397.7 MB, free: 46.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3322, allocations: 71.75 kB / 397.8 MB, free: 46.19 MB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3322, allocations: 0 / 397.8 MB, free: 46.19 MB / 318.1 MB Notification: Performance of Templates: time 0.02214/0.3543, allocations: 16.07 MB / 413.9 MB, free: 30.36 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)