Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 209.8 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 227.7 MB / 247.4 MB, free: 10.5 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.05 kB / 307.4 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09444/0.09639, allocations: 50.55 MB / 357.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009122/0.1056, allocations: 8.282 MB / 366.2 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1623/0.2679, allocations: 11.23 MB / 377.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.269, allocations: 17.62 kB / 377.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.271, allocations: 0.7656 MB / 378.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.2746, allocations: 1.03 MB / 379.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.2768, allocations: 0.6091 MB / 379.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003768/0.2806, allocations: 2.712 MB / 382.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004946/0.2811, allocations: 359 kB / 382.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.2819, allocations: 0.5463 MB / 383.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/0.2825, allocations: 0.623 MB / 384.1 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2826, allocations: 66.72 kB / 384.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.2847, allocations: 0.7957 MB / 385 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.2849, allocations: 223.5 kB / 385.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006048/0.2855, allocations: 0.7633 MB / 385.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.2873, allocations: 1.575 MB / 387.5 MB, free: 5.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2873, allocations: 4 kB / 387.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2873, allocations: 1.062 kB / 387.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.389e-05/0.2874, allocations: 3.938 kB / 387.5 MB, free: 5.812 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.003944/0.2913, allocations: 2.215 MB / 389.7 MB, free: 4.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2914, allocations: 8.875 kB / 389.7 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/0.2918, allocations: 232 kB / 390 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.2935, allocations: 1.301 MB / 391.3 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.2936, allocations: 41.42 kB / 391.3 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.804e-05/0.2937, allocations: 64.41 kB / 391.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.295, allocations: 0.6866 MB / 392.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.295, allocations: 4 kB / 392.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/0.2951, allocations: 20.66 kB / 392.1 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.2951, allocations: 20.59 kB / 392.1 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.2963, allocations: 0.5704 MB / 392.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.2999, allocations: 2.538 MB / 395.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.301, allocations: 0.6204 MB / 395.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007605/0.3018, allocations: 0.5383 MB / 396.4 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007991/0.3098, allocations: 5.892 MB / 402.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008638/0.3107, allocations: 400.6 kB / 402.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.825e-06/0.3107, allocations: 0 / 402.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.007194/0.3179, allocations: 2.43 MB / 405.1 MB, free: 9.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.318, allocations: 89.27 kB / 405.2 MB, free: 9.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.32, allocations: 1.425 MB / 406.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/0.3201, allocations: 37.7 kB / 406.6 MB, free: 8.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007581/0.3209, allocations: 0.7922 MB / 407.4 MB, free: 7.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.3211, allocations: 246.2 kB / 407.7 MB, free: 7.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.3214, allocations: 138.6 kB / 407.8 MB, free: 6.906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3215, allocations: 334 kB / 408.1 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.3222, allocations: 265.8 kB / 408.4 MB, free: 6.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/0.323, allocations: 442.1 kB / 408.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.3264, allocations: 1.549 MB / 410.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.3265, allocations: 7.938 kB / 410.4 MB, free: 4.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002494/0.329, allocations: 1.155 MB / 411.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.329, allocations: 10.19 kB / 411.5 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.3292, allocations: 76 kB / 411.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.3303, allocations: 0.6027 MB / 412.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.3309, allocations: 135.8 kB / 412.4 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.3325, allocations: 1.528 MB / 413.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.3335, allocations: 87.19 kB / 414 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.3336, allocations: 36 kB / 414 MB, free: 500 kB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = "V" fixed = true ) type: Real Q2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,12), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006501/0.3343, allocations: 289.8 kB / 414.3 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.3346, allocations: 205.8 kB / 414.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.3371, allocations: 1.157 MB / 415.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3371, allocations: 4 kB / 415.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3372, allocations: 5.188 kB / 415.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3372, allocations: 7.984 kB / 415.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3387, allocations: 1.019 MB / 416.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000119/0.3388, allocations: 72 kB / 416.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.3392, allocations: 67.94 kB / 416.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.3404, allocations: 0.6552 MB / 417.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.3405, allocations: 16 kB / 417.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.342, allocations: 1.143 MB / 418.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.342, allocations: 3.625 kB / 418.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.345, allocations: 1.435 MB / 420.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005735/0.3455, allocations: 282.6 kB / 420.3 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.3457, allocations: 19.98 kB / 420.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.3462, allocations: 31.97 kB / 420.4 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.3464, allocations: 52.44 kB / 420.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.3465, allocations: 27.98 kB / 420.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001342/0.3478, allocations: 0.9445 MB / 421.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3478, allocations: 0 / 421.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001124/0.3489, allocations: 427.5 kB / 421.8 MB, free: 8.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * 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 {(3,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009185/0.3499, allocations: 483.9 kB / 422.3 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002228/0.3521, allocations: 0.8853 MB / 423.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3521, allocations: 0 / 423.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.3534, allocations: 0.5549 MB / 423.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.3546, allocations: 218.2 kB / 424 MB, free: 6.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/0.3607, allocations: 3.518 MB / 427.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008975/0.3616, allocations: 1.22 MB / 428.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.3619, allocations: 83.44 kB / 428.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3619, allocations: 0 / 428.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of Templates: time 0.04/0.4019, allocations: 28.37 MB / 457.2 MB, free: 5.121 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)