Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00134/0.00134, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001231/0.001231, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009497/0.0009497, allocations: 47.61 kB / 299.9 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1077, allocations: 49.45 MB / 349.4 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01458/0.1223, allocations: 8.273 MB / 357.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02148/0.1438, allocations: 11.51 MB / 369.2 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1449, allocations: 15.94 kB / 369.2 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.1478, allocations: 0.7599 MB / 370 MB, free: 188 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1541/0.3019, allocations: 0.9961 MB / 371 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3033, allocations: 0.5064 MB / 371.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.3067, allocations: 2.594 MB / 374.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.3071, allocations: 327.1 kB / 374.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.3076, allocations: 0.5214 MB / 374.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.3081, allocations: 0.6112 MB / 375.5 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.3082, allocations: 46.75 kB / 375.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.3097, allocations: 0.7546 MB / 376.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3099, allocations: 202.6 kB / 376.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.3104, allocations: 0.7471 MB / 377.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.3123, allocations: 2.062 MB / 379.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3123, allocations: 0 / 379.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3123, allocations: 4 kB / 379.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.3124, allocations: 1.469 kB / 379.3 MB, free: 8.449 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.00308/0.3154, allocations: 2.208 MB / 381.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3155, allocations: 9.375 kB / 381.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.3157, allocations: 222.4 kB / 381.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.3173, allocations: 1.301 MB / 383.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3173, allocations: 47.28 kB / 383.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.3175, allocations: 61.41 kB / 383.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.3187, allocations: 0.6888 MB / 383.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3187, allocations: 0 / 383.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.3188, allocations: 23.06 kB / 383.9 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.3188, allocations: 23.92 kB / 383.9 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.32, allocations: 0.5616 MB / 384.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/0.3231, allocations: 2.514 MB / 387 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.3243, allocations: 0.6289 MB / 387.6 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008146/0.3251, allocations: 0.5344 MB / 388.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007452/0.3326, allocations: 7.496 MB / 395.6 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007929/0.3334, allocations: 390.3 kB / 396 MB, free: 12.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.545e-06/0.3334, allocations: 3.938 kB / 396 MB, free: 12.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005721/0.3391, allocations: 2.077 MB / 398.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3392, allocations: 85.02 kB / 398.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.3408, allocations: 1.435 MB / 399.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.3408, allocations: 37.03 kB / 399.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/0.3415, allocations: 0.8049 MB / 400.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.3417, allocations: 225 kB / 400.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.3419, allocations: 138.2 kB / 400.8 MB, free: 9.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.342, allocations: 335.2 kB / 401.1 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.3426, allocations: 255.6 kB / 401.4 MB, free: 9.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/0.3433, allocations: 461.2 kB / 401.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.3446, allocations: 0.7314 MB / 402.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.3446, allocations: 0 / 402.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001993/0.3466, allocations: 1.145 MB / 403.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3466, allocations: 10.81 kB / 403.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.862e-05/0.3467, allocations: 76.06 kB / 403.8 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.3479, allocations: 0.6953 MB / 404.5 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.3484, allocations: 111.8 kB / 404.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3497, allocations: 1.134 MB / 405.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.3504, allocations: 79.31 kB / 405.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.3505, allocations: 40 kB / 405.8 MB, free: 5.461 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.0004593/0.351, allocations: 293.6 kB / 406.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.3512, allocations: 197.7 kB / 406.3 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.3535, allocations: 1.085 MB / 407.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3535, allocations: 8 kB / 407.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3535, allocations: 0 / 407.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3535, allocations: 7.922 kB / 407.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3546, allocations: 0.9777 MB / 408.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.241e-05/0.3547, allocations: 72 kB / 408.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.355, allocations: 63.06 kB / 408.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.3561, allocations: 0.6711 MB / 409.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.3562, allocations: 20 kB / 409.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.3574, allocations: 1.092 MB / 410.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3574, allocations: 0 / 410.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.3599, allocations: 1.35 MB / 411.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.3603, allocations: 278.6 kB / 411.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.3605, allocations: 12 kB / 412 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/0.361, allocations: 35.95 kB / 412 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.3611, allocations: 48.31 kB / 412 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.3611, allocations: 27.98 kB / 412.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.3622, allocations: 0.9565 MB / 413 MB, free: 14.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3622, allocations: 3.938 kB / 413 MB, free: 14.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009235/0.3632, allocations: 427.4 kB / 413.4 MB, free: 13.71 MB / 334.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.0007382/0.3639, allocations: 481.6 kB / 413.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.3658, allocations: 0.8544 MB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3658, allocations: 0 / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.367, allocations: 0.5211 MB / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009307/0.3679, allocations: 205.5 kB / 415.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/0.3729, allocations: 3.522 MB / 419 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.3736, allocations: 1.22 MB / 420.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000512/0.3741, allocations: 158.1 kB / 420.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3743, allocations: 75.42 kB / 420.5 MB, free: 6.664 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3743, allocations: 0 / 420.5 MB, free: 6.664 MB / 334.1 MB Notification: Performance of Templates: time 0.02582/0.4001, allocations: 15.27 MB / 435.7 MB, free: 7.5 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)