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.001443/0.001443, allocations: 106.1 kB / 17.72 MB, free: 5.242 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.001666/0.001666, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.401/1.401, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001362/0.001362, allocations: 47.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.08976, allocations: 46.62 MB / 375.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2239/0.3137, allocations: 8.168 MB / 383.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.3282, allocations: 10.96 MB / 394.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.3308, allocations: 55.62 kB / 394.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.3335, allocations: 0.8192 MB / 395.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005908/0.3394, allocations: 1.218 MB / 396.4 MB, free: 436 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.3423, allocations: 0.6884 MB / 397.1 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005396/0.3477, allocations: 2.647 MB / 399.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.3486, allocations: 357 kB / 400 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.3499, allocations: 0.5381 MB / 400.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.3508, allocations: 0.6124 MB / 401.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.351, allocations: 67.38 kB / 401.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.3537, allocations: 0.7141 MB / 402 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.3539, allocations: 219.7 kB / 402.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007765/0.3547, allocations: 0.7679 MB / 403 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.3583, allocations: 2.121 MB / 405.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3584, allocations: 1.375 kB / 405.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3584, allocations: 0 / 405.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.734e-05/0.3584, allocations: 1.406 kB / 405.1 MB, free: 12.63 MB / 334.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.004858/0.3633, allocations: 2.21 MB / 407.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3634, allocations: 9.094 kB / 407.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.3637, allocations: 217.7 kB / 407.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.366, allocations: 1.306 MB / 408.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.366, allocations: 43.02 kB / 408.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.3661, allocations: 56.19 kB / 408.9 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.3676, allocations: 0.6904 MB / 409.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3676, allocations: 0 / 409.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.3677, allocations: 22.5 kB / 409.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.3677, allocations: 21.73 kB / 409.7 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.3691, allocations: 0.5686 MB / 410.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004448/0.3736, allocations: 2.511 MB / 412.7 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.3751, allocations: 0.6141 MB / 413.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.3763, allocations: 0.5409 MB / 413.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.3868, allocations: 7.49 MB / 421.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009037/0.3878, allocations: 389.3 kB / 421.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 3.276e-06/0.3878, allocations: 3.938 kB / 421.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.00591/0.3937, allocations: 2.084 MB / 423.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.3938, allocations: 85.55 kB / 423.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.3956, allocations: 1.443 MB / 425.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.3957, allocations: 37.7 kB / 425.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/0.3963, allocations: 0.7977 MB / 426.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.3965, allocations: 224.7 kB / 426.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.3968, allocations: 138.6 kB / 426.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3969, allocations: 334 kB / 426.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.3975, allocations: 253.8 kB / 427.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.3982, allocations: 454.2 kB / 427.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.3996, allocations: 0.7402 MB / 428.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3996, allocations: 7.938 kB / 428.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002233/0.4019, allocations: 1.132 MB / 429.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4019, allocations: 4 kB / 429.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/0.402, allocations: 84.05 kB / 429.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.4032, allocations: 0.6932 MB / 430.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.4037, allocations: 111.8 kB / 430.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.4051, allocations: 1.124 MB / 431.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.4061, allocations: 91.3 kB / 431.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.4062, allocations: 40 kB / 431.6 MB, free: 5.477 MB / 350.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.0005963/0.4068, allocations: 293.6 kB / 431.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.407, allocations: 201.6 kB / 432.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.4093, allocations: 1.088 MB / 433.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.4094, allocations: 4 kB / 433.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4094, allocations: 0 / 433.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4094, allocations: 3.984 kB / 433.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.4107, allocations: 0.9829 MB / 434.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.962e-05/0.4108, allocations: 71.92 kB / 434.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.4112, allocations: 55.95 kB / 434.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.4123, allocations: 0.6711 MB / 435 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.4124, allocations: 23.92 kB / 435 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.4137, allocations: 1.096 MB / 436.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4137, allocations: 4 kB / 436.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.4165, allocations: 1.347 MB / 437.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.4171, allocations: 278.6 kB / 437.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.4174, allocations: 15.98 kB / 437.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.4179, allocations: 31.97 kB / 437.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4181, allocations: 44.38 kB / 437.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.4181, allocations: 23.98 kB / 437.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.4195, allocations: 0.9488 MB / 438.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4195, allocations: 4 kB / 438.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001204/0.4208, allocations: 435.3 kB / 439.2 MB, free: 13.7 MB / 366.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.0009393/0.4217, allocations: 481 kB / 439.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.4238, allocations: 0.8583 MB / 440.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4238, allocations: 0 / 440.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.425, allocations: 0.5292 MB / 441 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/0.4258, allocations: 177.2 kB / 441.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.4312, allocations: 3.011 MB / 444.2 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/0.4319, allocations: 1.22 MB / 445.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000433/0.4324, allocations: 162.1 kB / 445.6 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.4325, allocations: 75.44 kB / 445.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4325, allocations: 0 / 445.7 MB, free: 7.117 MB / 366.1 MB Notification: Performance of Templates: time 0.03155/0.4641, allocations: 16.2 MB / 461.9 MB, free: 6.902 MB / 382.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)