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.001179/0.001179, allocations: 110.2 kB / 17.06 MB, free: 6.137 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.001151/0.001151, allocations: 191 kB / 18 MB, free: 5.219 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009807/0.0009807, allocations: 47.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2637, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009706/0.2735, allocations: 8.32 MB / 409 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.2861, allocations: 11.29 MB / 420.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.2873, allocations: 55.56 kB / 420.4 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.2893, allocations: 0.8494 MB / 421.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.2925, allocations: 1.227 MB / 422.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.2942, allocations: 0.7051 MB / 423.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003622/0.2978, allocations: 2.697 MB / 425.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.2983, allocations: 353.7 kB / 426.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000685/0.299, allocations: 0.5559 MB / 426.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006532/0.2997, allocations: 0.6211 MB / 427.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.2998, allocations: 68 kB / 427.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3014, allocations: 0.7805 MB / 428.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.3016, allocations: 222.6 kB / 428.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.3022, allocations: 0.7686 MB / 429.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.3045, allocations: 2.117 MB / 431.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3045, allocations: 0 / 431.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3045, allocations: 0 / 431.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.3046, allocations: 0 / 431.3 MB, free: 10.1 MB / 350.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.003442/0.308, allocations: 2.219 MB / 433.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.014e-05/0.3081, allocations: 15.89 kB / 433.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.3084, allocations: 218.3 kB / 433.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.3103, allocations: 1.297 MB / 435.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.3103, allocations: 45.25 kB / 435.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.3105, allocations: 59.98 kB / 435.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.3119, allocations: 0.6938 MB / 435.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3119, allocations: 0 / 435.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.312, allocations: 20 kB / 435.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.312, allocations: 16 kB / 435.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.3133, allocations: 0.5712 MB / 436.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.3169, allocations: 2.514 MB / 439 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.3182, allocations: 0.6388 MB / 439.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009021/0.3191, allocations: 0.5299 MB / 440.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008698/0.3278, allocations: 7.5 MB / 447.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008605/0.3287, allocations: 381.9 kB / 448 MB, free: 7.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.796e-06/0.3287, allocations: 0 / 448 MB, free: 7.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005872/0.3346, allocations: 2.078 MB / 450.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.3347, allocations: 81.55 kB / 450.2 MB, free: 5.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.3364, allocations: 1.443 MB / 451.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.3365, allocations: 37.7 kB / 451.7 MB, free: 4.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006754/0.3371, allocations: 0.7938 MB / 452.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.3373, allocations: 224.7 kB / 452.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.3375, allocations: 138.6 kB / 452.8 MB, free: 3.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3377, allocations: 341.9 kB / 453.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/0.3383, allocations: 249.8 kB / 453.4 MB, free: 2.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.3391, allocations: 459 kB / 453.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.3405, allocations: 0.7363 MB / 454.6 MB, free: 1.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3405, allocations: 3.984 kB / 454.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002099/0.3426, allocations: 1.128 MB / 455.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3426, allocations: 8 kB / 455.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/0.3427, allocations: 75.92 kB / 455.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.3439, allocations: 0.6994 MB / 456.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.3444, allocations: 111.8 kB / 456.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.3457, allocations: 1.132 MB / 457.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.3464, allocations: 91.23 kB / 457.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.3465, allocations: 36 kB / 457.9 MB, free: 13.8 MB / 382.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.000503/0.347, allocations: 289.7 kB / 458.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.3473, allocations: 201.6 kB / 458.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.3497, allocations: 1.095 MB / 459.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.3497, allocations: 8 kB / 459.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3497, allocations: 3.938 kB / 459.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3497, allocations: 0 / 459.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.3509, allocations: 0.9757 MB / 460.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001027/0.351, allocations: 71.98 kB / 460.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.3514, allocations: 56.08 kB / 460.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.3525, allocations: 0.6711 MB / 461.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.3526, allocations: 19.98 kB / 461.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.3538, allocations: 1.092 MB / 462.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3539, allocations: 3.984 kB / 462.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.3565, allocations: 1.351 MB / 463.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.3569, allocations: 274.6 kB / 464 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.3571, allocations: 19.92 kB / 464 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.3576, allocations: 27.97 kB / 464 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.3577, allocations: 52.38 kB / 464.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.3578, allocations: 27.98 kB / 464.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.359, allocations: 0.9488 MB / 465 MB, free: 6.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.359, allocations: 0 / 465 MB, free: 6.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000944/0.36, allocations: 427.4 kB / 465.5 MB, free: 6.035 MB / 382.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.000824/0.3608, allocations: 490 kB / 465.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.3628, allocations: 0.8579 MB / 466.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3629, allocations: 0 / 466.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.3641, allocations: 0.5258 MB / 467.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.365, allocations: 207 kB / 467.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.3703, allocations: 3.016 MB / 470.5 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/0.3711, allocations: 1.22 MB / 471.8 MB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004381/0.3716, allocations: 158.1 kB / 471.9 MB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3717, allocations: 75.42 kB / 472 MB, free: 15.4 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3717, allocations: 0 / 472 MB, free: 15.4 MB / 398.1 MB Notification: Performance of Templates: time 0.0287/0.4005, allocations: 16.18 MB / 488.2 MB, free: 15.28 MB / 414.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)