Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0007559/0.0007559, allocations: 94.52 kB / 16.65 MB, free: 6.586 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.0008758/0.0008759, allocations: 181.2 kB / 17.56 MB, free: 6.203 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.403/1.403, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004725/0.0004726, allocations: 8 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09525, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007299/0.1026, allocations: 7.681 MB / 336 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.1163, allocations: 11.02 MB / 347 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.1176, allocations: 15.94 kB / 347 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.12, allocations: 0.7404 MB / 347.8 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005191/0.1252, allocations: 0.9914 MB / 348.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.1271, allocations: 0.4996 MB / 349.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004043/0.1312, allocations: 2.556 MB / 351.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004828/0.1317, allocations: 318.6 kB / 352.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006282/0.1323, allocations: 493.3 kB / 352.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.1329, allocations: 0.5821 MB / 353.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.133, allocations: 36 kB / 353.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.1349, allocations: 0.683 MB / 353.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.135, allocations: 178.7 kB / 354.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00062/0.1357, allocations: 0.7585 MB / 354.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.1376, allocations: 2.035 MB / 356.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1376, allocations: 0 / 356.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1376, allocations: 0 / 356.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.1377, allocations: 0 / 356.9 MB, free: 7.043 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.0029/0.1406, allocations: 1.975 MB / 358.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1406, allocations: 16.02 kB / 358.9 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.1409, allocations: 214.4 kB / 359.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.1425, allocations: 1.308 MB / 360.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.1425, allocations: 41.31 kB / 360.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.1427, allocations: 67.89 kB / 360.5 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.144, allocations: 0.7095 MB / 361.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.144, allocations: 0 / 361.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.1441, allocations: 24 kB / 361.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.1441, allocations: 19.94 kB / 361.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.1454, allocations: 0.618 MB / 361.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.1489, allocations: 2.538 MB / 364.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.1501, allocations: 0.6701 MB / 365.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009005/0.151, allocations: 0.5533 MB / 365.6 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00813/0.1592, allocations: 7.512 MB / 373.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008368/0.1601, allocations: 405.9 kB / 373.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.136e-06/0.1601, allocations: 4 kB / 373.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005961/0.166, allocations: 2.164 MB / 375.7 MB, free: 2.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.1661, allocations: 85.55 kB / 375.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.168, allocations: 1.435 MB / 377.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.1681, allocations: 33.7 kB / 377.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007784/0.1689, allocations: 0.8094 MB / 378.1 MB, free: 316 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.1691, allocations: 224.8 kB / 378.3 MB, free: 88 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.1692, allocations: 61.69 kB / 378.3 MB, free: 20 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.1745/0.3437, allocations: 333.3 kB / 378.7 MB, free: 53.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009911/0.3448, allocations: 280.1 kB / 378.9 MB, free: 53.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007849/0.3456, allocations: 481 kB / 379.4 MB, free: 53.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.3469, allocations: 0.7859 MB / 380.2 MB, free: 53.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.3469, allocations: 2.75 kB / 380.2 MB, free: 53.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00283/0.3498, allocations: 1.174 MB / 381.4 MB, free: 53.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.3498, allocations: 11.19 kB / 381.4 MB, free: 53.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/0.35, allocations: 76.53 kB / 381.5 MB, free: 53.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.3513, allocations: 0.6927 MB / 382.1 MB, free: 53.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.3517, allocations: 128.5 kB / 382.3 MB, free: 53.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.353, allocations: 1.125 MB / 383.4 MB, free: 52.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.3537, allocations: 99.64 kB / 383.5 MB, free: 52.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.3538, allocations: 39.42 kB / 383.5 MB, free: 52.73 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.0005041/0.3543, allocations: 290.6 kB / 383.8 MB, free: 52.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.3545, allocations: 200.4 kB / 384 MB, free: 52.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.3571, allocations: 1.139 MB / 385.2 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.3571, allocations: 8.219 kB / 385.2 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3571, allocations: 0.5156 kB / 385.2 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3571, allocations: 2.531 kB / 385.2 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3583, allocations: 0.9791 MB / 386.1 MB, free: 51.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-05/0.3584, allocations: 70.67 kB / 386.2 MB, free: 51.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.3588, allocations: 70.53 kB / 386.3 MB, free: 51.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.3599, allocations: 0.6648 MB / 386.9 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.36, allocations: 21.38 kB / 387 MB, free: 51.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.3611, allocations: 1.093 MB / 388.1 MB, free: 50.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3611, allocations: 8.5 kB / 388.1 MB, free: 50.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.3637, allocations: 1.428 MB / 389.5 MB, free: 50.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.364, allocations: 276.1 kB / 389.8 MB, free: 49.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.3641, allocations: 13.95 kB / 389.8 MB, free: 49.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.3646, allocations: 46.17 kB / 389.8 MB, free: 49.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3648, allocations: 47.81 kB / 389.9 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.3648, allocations: 24.92 kB / 389.9 MB, free: 49.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001259/0.3661, allocations: 0.9508 MB / 390.8 MB, free: 49.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3661, allocations: 0 / 390.8 MB, free: 49.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009448/0.367, allocations: 428.4 kB / 391.3 MB, free: 49.37 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.0007838/0.3678, allocations: 484.4 kB / 391.7 MB, free: 49.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.3698, allocations: 0.9104 MB / 392.6 MB, free: 48.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3699, allocations: 1.375 kB / 392.6 MB, free: 48.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.371, allocations: 0.5484 MB / 393.2 MB, free: 48.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.3717, allocations: 177.7 kB / 393.4 MB, free: 48.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.3762, allocations: 3.61 MB / 397 MB, free: 46.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.3767, allocations: 1.217 MB / 398.2 MB, free: 45.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004774/0.3772, allocations: 160.4 kB / 398.4 MB, free: 45.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.3773, allocations: 78.02 kB / 398.4 MB, free: 45.77 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3773, allocations: 0 / 398.4 MB, free: 45.77 MB / 318.1 MB Notification: Performance of Templates: time 0.02238/0.3997, allocations: 15.19 MB / 413.6 MB, free: 30.7 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)